Class CreateSigningCertificateRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CreateSigningCertificateRequest.Builder>
      • getDefaultInstanceForType

        public CreateSigningCertificateRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateSigningCertificateRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateSigningCertificateRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateSigningCertificateRequest.Builder>
        Throws:
        java.io.IOException
      • 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:
        hasCredentials in interface CreateSigningCertificateRequestOrBuilder
        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:
        getCredentials in interface CreateSigningCertificateRequestOrBuilder
        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];
      • 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:
        hasPublicKeyRequest in interface CreateSigningCertificateRequestOrBuilder
        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:
        getPublicKeyRequest in interface CreateSigningCertificateRequestOrBuilder
        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];
      • 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:
        hasCertificateSigningRequest in interface CreateSigningCertificateRequestOrBuilder
        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:
        getCertificateSigningRequest in interface CreateSigningCertificateRequestOrBuilder
        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.