Class TlsResult

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

public final class TlsResult extends com.google.protobuf.GeneratedMessage implements TlsResultOrBuilder
 Encapsulates all state related to Tls handshake from client to envoy
 
Protobuf type traffic.networkcontext.v1.TlsResult
See Also:
  • Field Details

    • TLS_VERSION_FIELD_NUMBER

      public static final int TLS_VERSION_FIELD_NUMBER
      See Also:
    • CIPHER_SUITE_FIELD_NUMBER

      public static final int CIPHER_SUITE_FIELD_NUMBER
      See Also:
    • CLIENTCERT_IS_VALIDATED_FIELD_NUMBER

      public static final int CLIENTCERT_IS_VALIDATED_FIELD_NUMBER
      See Also:
    • CLIENTCERT_VALIDATION_RESULT_FIELD_NUMBER

      public static final int CLIENTCERT_VALIDATION_RESULT_FIELD_NUMBER
      See Also:
    • CLIENTCERT_LEAF_FIELD_NUMBER

      public static final int CLIENTCERT_LEAF_FIELD_NUMBER
      See Also:
    • CLIENTCERT_CHAIN_FIELD_NUMBER

      public static final int CLIENTCERT_CHAIN_FIELD_NUMBER
      See Also:
    • TRUSTEDCA_PROVIDER_ID_FIELD_NUMBER

      public static final int TRUSTEDCA_PROVIDER_ID_FIELD_NUMBER
      See Also:
    • TRUSTEDCA_ORG_RESOURCE_ID_FIELD_NUMBER

      public static final int TRUSTEDCA_ORG_RESOURCE_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      public String getTlsVersion()
      string tls_version = 1;
      Specified by:
      getTlsVersion in interface TlsResultOrBuilder
      Returns:
      The tlsVersion.
    • getTlsVersionBytes

      public com.google.protobuf.ByteString getTlsVersionBytes()
      string tls_version = 1;
      Specified by:
      getTlsVersionBytes in interface TlsResultOrBuilder
      Returns:
      The bytes for tlsVersion.
    • getCipherSuite

      public String getCipherSuite()
      string cipher_suite = 2;
      Specified by:
      getCipherSuite in interface TlsResultOrBuilder
      Returns:
      The cipherSuite.
    • getCipherSuiteBytes

      public com.google.protobuf.ByteString getCipherSuiteBytes()
      string cipher_suite = 2;
      Specified by:
      getCipherSuiteBytes in interface TlsResultOrBuilder
      Returns:
      The bytes for cipherSuite.
    • getClientcertIsValidated

      public boolean getClientcertIsValidated()
      bool clientcert_is_validated = 3;
      Specified by:
      getClientcertIsValidated in interface TlsResultOrBuilder
      Returns:
      The clientcertIsValidated.
    • getClientcertValidationResult

      public String getClientcertValidationResult()
       Human readable field of clientcert_is_validated
       
      string clientcert_validation_result = 4;
      Specified by:
      getClientcertValidationResult in interface TlsResultOrBuilder
      Returns:
      The clientcertValidationResult.
    • getClientcertValidationResultBytes

      public com.google.protobuf.ByteString getClientcertValidationResultBytes()
       Human readable field of clientcert_is_validated
       
      string clientcert_validation_result = 4;
      Specified by:
      getClientcertValidationResultBytes in interface TlsResultOrBuilder
      Returns:
      The bytes for clientcertValidationResult.
    • getClientcertLeaf

      public com.google.protobuf.ByteString getClientcertLeaf()
       full leaf cert. Raw bytes are encoded in PEM.
       
      bytes clientcert_leaf = 5;
      Specified by:
      getClientcertLeaf in interface TlsResultOrBuilder
      Returns:
      The clientcertLeaf.
    • getClientcertChainList

      public List<CertMetadata> getClientcertChainList()
       metadata for each cert in the chain (including leaf)
       
      repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;
      Specified by:
      getClientcertChainList in interface TlsResultOrBuilder
    • getClientcertChainOrBuilderList

      public List<? extends CertMetadataOrBuilder> getClientcertChainOrBuilderList()
       metadata for each cert in the chain (including leaf)
       
      repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;
      Specified by:
      getClientcertChainOrBuilderList in interface TlsResultOrBuilder
    • getClientcertChainCount

      public int getClientcertChainCount()
       metadata for each cert in the chain (including leaf)
       
      repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;
      Specified by:
      getClientcertChainCount in interface TlsResultOrBuilder
    • getClientcertChain

      public CertMetadata getClientcertChain(int index)
       metadata for each cert in the chain (including leaf)
       
      repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;
      Specified by:
      getClientcertChain in interface TlsResultOrBuilder
    • getClientcertChainOrBuilder

      public CertMetadataOrBuilder getClientcertChainOrBuilder(int index)
       metadata for each cert in the chain (including leaf)
       
      repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;
      Specified by:
      getClientcertChainOrBuilder in interface TlsResultOrBuilder
    • getTrustedcaProviderId

      public String getTrustedcaProviderId()
       Identifier for the Trusted CA provider that validated the client
       certificate. This is an opaque string, unique to each provider, used for
       auditing and cross-referencing.
       
      string trustedca_provider_id = 7;
      Specified by:
      getTrustedcaProviderId in interface TlsResultOrBuilder
      Returns:
      The trustedcaProviderId.
    • getTrustedcaProviderIdBytes

      public com.google.protobuf.ByteString getTrustedcaProviderIdBytes()
       Identifier for the Trusted CA provider that validated the client
       certificate. This is an opaque string, unique to each provider, used for
       auditing and cross-referencing.
       
      string trustedca_provider_id = 7;
      Specified by:
      getTrustedcaProviderIdBytes in interface TlsResultOrBuilder
      Returns:
      The bytes for trustedcaProviderId.
    • getTrustedcaOrgResourceId

      public String getTrustedcaOrgResourceId()
       Resource ID of the organization as recognized by the Trusted CA provider.
       This is an opaque string, unique within the provider, used for mapping to
       organizational records.
       
      string trustedca_org_resource_id = 8;
      Specified by:
      getTrustedcaOrgResourceId in interface TlsResultOrBuilder
      Returns:
      The trustedcaOrgResourceId.
    • getTrustedcaOrgResourceIdBytes

      public com.google.protobuf.ByteString getTrustedcaOrgResourceIdBytes()
       Resource ID of the organization as recognized by the Trusted CA provider.
       This is an opaque string, unique within the provider, used for mapping to
       organizational records.
       
      string trustedca_org_resource_id = 8;
      Specified by:
      getTrustedcaOrgResourceIdBytes in interface TlsResultOrBuilder
      Returns:
      The bytes for trustedcaOrgResourceId.
    • 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 TlsResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static TlsResult.Builder newBuilder()
    • newBuilder

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

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

      public static TlsResult getDefaultInstance()
    • parser

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

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