Class CreateSigningCertificateRequest

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CreateSigningCertificateRequestOrBuilder, java.io.Serializable

    public final class CreateSigningCertificateRequest
    extends com.google.protobuf.GeneratedMessage
    implements CreateSigningCertificateRequestOrBuilder
    Protobuf type dev.sigstore.fulcio.v2.CreateSigningCertificateRequest
    See Also:
    Serialized Form
    • Field Detail

      • CREDENTIALS_FIELD_NUMBER

        public static final int CREDENTIALS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PUBLIC_KEY_REQUEST_FIELD_NUMBER

        public static final int PUBLIC_KEY_REQUEST_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CERTIFICATE_SIGNING_REQUEST_FIELD_NUMBER

        public static final int CERTIFICATE_SIGNING_REQUEST_FIELD_NUMBER
        See Also:
        Constant Field Values
    • 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
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(java.nio.ByteBuffer data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(java.nio.ByteBuffer data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(com.google.protobuf.ByteString data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(com.google.protobuf.ByteString data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(byte[] data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(byte[] data,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CreateSigningCertificateRequest parseDelimitedFrom​(java.io.InputStream input)
                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static CreateSigningCertificateRequest parseDelimitedFrom​(java.io.InputStream input,
                                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(com.google.protobuf.CodedInputStream input)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static CreateSigningCertificateRequest parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected CreateSigningCertificateRequest.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<CreateSigningCertificateRequest> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

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