Package dev.sigstore.fulcio.v2
Class CreateSigningCertificateRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
-
- dev.sigstore.fulcio.v2.CreateSigningCertificateRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateSigningCertificateRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- CreateSigningCertificateRequest
public static final class CreateSigningCertificateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder> implements CreateSigningCertificateRequestOrBuilder
Protobuf typedev.sigstore.fulcio.v2.CreateSigningCertificateRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSigningCertificateRequestbuild()CreateSigningCertificateRequestbuildPartial()CreateSigningCertificateRequest.Builderclear()CreateSigningCertificateRequest.BuilderclearCertificateSigningRequest()PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate.CreateSigningCertificateRequest.BuilderclearCredentials()Identity information about who possesses the private / public key pair presentedCreateSigningCertificateRequest.BuilderclearKey()CreateSigningCertificateRequest.BuilderclearPublicKeyRequest()The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.com.google.protobuf.ByteStringgetCertificateSigningRequest()PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate.CredentialsgetCredentials()Identity information about who possesses the private / public key pair presentedCredentials.BuildergetCredentialsBuilder()Identity information about who possesses the private / public key pair presentedCredentialsOrBuildergetCredentialsOrBuilder()Identity information about who possesses the private / public key pair presentedCreateSigningCertificateRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CreateSigningCertificateRequest.KeyCasegetKeyCase()PublicKeyRequestgetPublicKeyRequest()The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.PublicKeyRequest.BuildergetPublicKeyRequestBuilder()The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.PublicKeyRequestOrBuildergetPublicKeyRequestOrBuilder()The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.booleanhasCertificateSigningRequest()PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate.booleanhasCredentials()Identity information about who possesses the private / public key pair presentedbooleanhasPublicKeyRequest()The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CreateSigningCertificateRequest.BuildermergeCredentials(Credentials value)Identity information about who possesses the private / public key pair presentedCreateSigningCertificateRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CreateSigningCertificateRequest.BuildermergeFrom(com.google.protobuf.Message other)CreateSigningCertificateRequest.BuildermergeFrom(CreateSigningCertificateRequest other)CreateSigningCertificateRequest.BuildermergePublicKeyRequest(PublicKeyRequest value)The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.CreateSigningCertificateRequest.BuildersetCertificateSigningRequest(com.google.protobuf.ByteString value)PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate.CreateSigningCertificateRequest.BuildersetCredentials(Credentials value)Identity information about who possesses the private / public key pair presentedCreateSigningCertificateRequest.BuildersetCredentials(Credentials.Builder builderForValue)Identity information about who possesses the private / public key pair presentedCreateSigningCertificateRequest.BuildersetPublicKeyRequest(PublicKeyRequest value)The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.CreateSigningCertificateRequest.BuildersetPublicKeyRequest(PublicKeyRequest.Builder builderForValue)The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
-
clear
public CreateSigningCertificateRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
-
getDefaultInstanceForType
public CreateSigningCertificateRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateSigningCertificateRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateSigningCertificateRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public CreateSigningCertificateRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateSigningCertificateRequest.Builder>
-
mergeFrom
public CreateSigningCertificateRequest.Builder mergeFrom(CreateSigningCertificateRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
-
mergeFrom
public CreateSigningCertificateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateSigningCertificateRequest.Builder>- Throws:
java.io.IOException
-
getKeyCase
public CreateSigningCertificateRequest.KeyCase getKeyCase()
- Specified by:
getKeyCasein interfaceCreateSigningCertificateRequestOrBuilder
-
clearKey
public CreateSigningCertificateRequest.Builder clearKey()
-
hasCredentials
public boolean hasCredentials()
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasCredentialsin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- Whether the credentials field is set.
-
getCredentials
public Credentials getCredentials()
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCredentialsin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- The credentials.
-
setCredentials
public CreateSigningCertificateRequest.Builder setCredentials(Credentials value)
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];
-
setCredentials
public CreateSigningCertificateRequest.Builder setCredentials(Credentials.Builder builderForValue)
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];
-
mergeCredentials
public CreateSigningCertificateRequest.Builder mergeCredentials(Credentials value)
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearCredentials
public CreateSigningCertificateRequest.Builder clearCredentials()
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];
-
getCredentialsBuilder
public Credentials.Builder getCredentialsBuilder()
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];
-
getCredentialsOrBuilder
public CredentialsOrBuilder getCredentialsOrBuilder()
Identity information about who possesses the private / public key pair presented
.dev.sigstore.fulcio.v2.Credentials credentials = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCredentialsOrBuilderin interfaceCreateSigningCertificateRequestOrBuilder
-
hasPublicKeyRequest
public boolean hasPublicKeyRequest()
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasPublicKeyRequestin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- Whether the publicKeyRequest field is set.
-
getPublicKeyRequest
public PublicKeyRequest getPublicKeyRequest()
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPublicKeyRequestin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- The publicKeyRequest.
-
setPublicKeyRequest
public CreateSigningCertificateRequest.Builder setPublicKeyRequest(PublicKeyRequest value)
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];
-
setPublicKeyRequest
public CreateSigningCertificateRequest.Builder setPublicKeyRequest(PublicKeyRequest.Builder builderForValue)
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];
-
mergePublicKeyRequest
public CreateSigningCertificateRequest.Builder mergePublicKeyRequest(PublicKeyRequest value)
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];
-
clearPublicKeyRequest
public CreateSigningCertificateRequest.Builder clearPublicKeyRequest()
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPublicKeyRequestBuilder
public PublicKeyRequest.Builder getPublicKeyRequestBuilder()
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];
-
getPublicKeyRequestOrBuilder
public PublicKeyRequestOrBuilder getPublicKeyRequestOrBuilder()
The public key to be stored in the requested certificate along with a signed challenge as proof of possession of the private key.
.dev.sigstore.fulcio.v2.PublicKeyRequest public_key_request = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPublicKeyRequestOrBuilderin interfaceCreateSigningCertificateRequestOrBuilder
-
hasCertificateSigningRequest
public boolean hasCertificateSigningRequest()
PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate. All other CSR fields are ignored. Since the CSR is self-signed, it also acts as a proof of posession of the private key.
bytes certificate_signing_request = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasCertificateSigningRequestin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- Whether the certificateSigningRequest field is set.
-
getCertificateSigningRequest
public com.google.protobuf.ByteString getCertificateSigningRequest()
PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate. All other CSR fields are ignored. Since the CSR is self-signed, it also acts as a proof of posession of the private key.
bytes certificate_signing_request = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getCertificateSigningRequestin interfaceCreateSigningCertificateRequestOrBuilder- Returns:
- The certificateSigningRequest.
-
setCertificateSigningRequest
public CreateSigningCertificateRequest.Builder setCertificateSigningRequest(com.google.protobuf.ByteString value)
PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate. All other CSR fields are ignored. Since the CSR is self-signed, it also acts as a proof of posession of the private key.
bytes certificate_signing_request = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The certificateSigningRequest to set.- Returns:
- This builder for chaining.
-
clearCertificateSigningRequest
public CreateSigningCertificateRequest.Builder clearCertificateSigningRequest()
PKCS#10 PEM-encoded certificate signing request Contains the public key to be stored in the requested certificate. All other CSR fields are ignored. Since the CSR is self-signed, it also acts as a proof of posession of the private key.
bytes certificate_signing_request = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
-