Class CertificateIdentity

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

    public final class CertificateIdentity
    extends com.google.protobuf.GeneratedMessage
    implements CertificateIdentityOrBuilder
     The identity of a X.509 Certificate signer.
     
    Protobuf type dev.sigstore.verification.v1.CertificateIdentity
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CertificateIdentity.Builder
      The identity of a X.509 Certificate signer.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

        com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,​T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

        com.google.protobuf.AbstractMessage.BuilderParent
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ISSUER_FIELD_NUMBER  
      static int OIDS_FIELD_NUMBER  
      static int SAN_FIELD_NUMBER  
      • Fields inherited from class com.google.protobuf.GeneratedMessage

        alwaysUseFieldBuilders, unknownFields
      • Fields inherited from class com.google.protobuf.AbstractMessage

        memoizedSize
      • Fields inherited from class com.google.protobuf.AbstractMessageLite

        memoizedHashCode
    • 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
      • getIssuer

        public java.lang.String getIssuer()
         The X.509v3 issuer extension (OID 1.3.6.1.4.1.57264.1.1)
         
        string issuer = 1;
        Specified by:
        getIssuer in interface CertificateIdentityOrBuilder
        Returns:
        The issuer.
      • getIssuerBytes

        public com.google.protobuf.ByteString getIssuerBytes()
         The X.509v3 issuer extension (OID 1.3.6.1.4.1.57264.1.1)
         
        string issuer = 1;
        Specified by:
        getIssuerBytes in interface CertificateIdentityOrBuilder
        Returns:
        The bytes for issuer.
      • hasSan

        public boolean hasSan()
        .dev.sigstore.common.v1.SubjectAlternativeName san = 2;
        Specified by:
        hasSan in interface CertificateIdentityOrBuilder
        Returns:
        Whether the san field is set.
      • getOidsList

        public java.util.List<ObjectIdentifierValuePair> getOidsList()
         An unordered list of OIDs that must be verified.
         All OID/values provided in this list MUST exactly match against
         the values in the certificate for verification to be successful.
         
        repeated .dev.sigstore.common.v1.ObjectIdentifierValuePair oids = 3;
        Specified by:
        getOidsList in interface CertificateIdentityOrBuilder
      • getOidsOrBuilderList

        public java.util.List<? extends ObjectIdentifierValuePairOrBuilder> getOidsOrBuilderList()
         An unordered list of OIDs that must be verified.
         All OID/values provided in this list MUST exactly match against
         the values in the certificate for verification to be successful.
         
        repeated .dev.sigstore.common.v1.ObjectIdentifierValuePair oids = 3;
        Specified by:
        getOidsOrBuilderList in interface CertificateIdentityOrBuilder
      • getOidsCount

        public int getOidsCount()
         An unordered list of OIDs that must be verified.
         All OID/values provided in this list MUST exactly match against
         the values in the certificate for verification to be successful.
         
        repeated .dev.sigstore.common.v1.ObjectIdentifierValuePair oids = 3;
        Specified by:
        getOidsCount in interface CertificateIdentityOrBuilder
      • getOids

        public ObjectIdentifierValuePair getOids​(int index)
         An unordered list of OIDs that must be verified.
         All OID/values provided in this list MUST exactly match against
         the values in the certificate for verification to be successful.
         
        repeated .dev.sigstore.common.v1.ObjectIdentifierValuePair oids = 3;
        Specified by:
        getOids in interface CertificateIdentityOrBuilder
      • getOidsOrBuilder

        public ObjectIdentifierValuePairOrBuilder getOidsOrBuilder​(int index)
         An unordered list of OIDs that must be verified.
         All OID/values provided in this list MUST exactly match against
         the values in the certificate for verification to be successful.
         
        repeated .dev.sigstore.common.v1.ObjectIdentifierValuePair oids = 3;
        Specified by:
        getOidsOrBuilder in interface CertificateIdentityOrBuilder
      • 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 CertificateIdentity parseFrom​(java.nio.ByteBuffer data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public com.google.protobuf.Parser<CertificateIdentity> 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 CertificateIdentity getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder