Class CertMetadata

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.confluent.cloud.protobuf.traffic.networkcontext.v1.CertMetadata
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CertMetadataOrBuilder, Serializable

@Generated public final class CertMetadata extends com.google.protobuf.GeneratedMessage implements CertMetadataOrBuilder
Metadata to represent each cert in a chain
this information is used for full-chain CRL checking
Protobuf type traffic.networkcontext.v1.CertMetadata
See Also:
  • Field Details

    • SHA1_DIGEST_FIELD_NUMBER

      public static final int SHA1_DIGEST_FIELD_NUMBER
      See Also:
    • SERIAL_NUMBER_FIELD_NUMBER

      public static final int SERIAL_NUMBER_FIELD_NUMBER
      See Also:
    • SUBJECT_FIELD_NUMBER

      public static final int SUBJECT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage
    • getSha1Digest

      public String getSha1Digest()
      SHA1 encoded in uppercase HEX
      
      string sha1_digest = 1;
      Specified by:
      getSha1Digest in interface CertMetadataOrBuilder
      Returns:
      The sha1Digest.
    • getSha1DigestBytes

      public com.google.protobuf.ByteString getSha1DigestBytes()
      SHA1 encoded in uppercase HEX
      
      string sha1_digest = 1;
      Specified by:
      getSha1DigestBytes in interface CertMetadataOrBuilder
      Returns:
      The bytes for sha1Digest.
    • getSerialNumber

      public String getSerialNumber()
      uppercase HEX
      
      string serial_number = 2;
      Specified by:
      getSerialNumber in interface CertMetadataOrBuilder
      Returns:
      The serialNumber.
    • getSerialNumberBytes

      public com.google.protobuf.ByteString getSerialNumberBytes()
      uppercase HEX
      
      string serial_number = 2;
      Specified by:
      getSerialNumberBytes in interface CertMetadataOrBuilder
      Returns:
      The bytes for serialNumber.
    • getSubject

      public String getSubject()
      RFC2253 String Format
      
      string subject = 3;
      Specified by:
      getSubject in interface CertMetadataOrBuilder
      Returns:
      The subject.
    • getSubjectBytes

      public com.google.protobuf.ByteString getSubjectBytes()
      RFC2253 String Format
      
      string subject = 3;
      Specified by:
      getSubjectBytes in interface CertMetadataOrBuilder
      Returns:
      The bytes for subject.
    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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 CertMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static CertMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

      public static CertMetadata parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CertMetadata parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static CertMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static CertMetadata.Builder newBuilder()
    • newBuilder

      public static CertMetadata.Builder newBuilder(CertMetadata prototype)
    • toBuilder

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

      public static CertMetadata getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<CertMetadata> parser()
    • getParserForType

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