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 envoyProtobuf type
traffic.networkcontext.v1.TlsResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEncapsulates all state related to Tls handshake from client to envoyNested 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> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring cipher_suite = 2;com.google.protobuf.ByteStringstring cipher_suite = 2;getClientcertChain(int index) metadata for each cert in the chain (including leaf)intmetadata for each cert in the chain (including leaf)metadata for each cert in the chain (including leaf)getClientcertChainOrBuilder(int index) metadata for each cert in the chain (including leaf)List<? extends CertMetadataOrBuilder> metadata for each cert in the chain (including leaf)booleanbool clientcert_is_validated = 3;com.google.protobuf.ByteStringfull leaf cert.Human readable field of clientcert_is_validatedcom.google.protobuf.ByteStringHuman readable field of clientcert_is_validatedstatic TlsResultstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<TlsResult> intstring tls_version = 1;com.google.protobuf.ByteStringstring tls_version = 1;Resource ID of the organization as recognized by the Trusted CA provider.com.google.protobuf.ByteStringResource ID of the organization as recognized by the Trusted CA provider.Identifier for the Trusted CA provider that validated the client certificate.com.google.protobuf.ByteStringIdentifier for the Trusted CA provider that validated the client certificate.inthashCode()final booleanstatic TlsResult.Builderstatic TlsResult.BuildernewBuilder(TlsResult prototype) static TlsResultparseDelimitedFrom(InputStream input) static TlsResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TlsResultparseFrom(byte[] data) static TlsResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TlsResultparseFrom(com.google.protobuf.ByteString data) static TlsResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TlsResultparseFrom(com.google.protobuf.CodedInputStream input) static TlsResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TlsResultparseFrom(InputStream input) static TlsResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TlsResultparseFrom(ByteBuffer data) static TlsResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TlsResult> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
string tls_version = 1;- Specified by:
getTlsVersionin interfaceTlsResultOrBuilder- Returns:
- The tlsVersion.
-
getTlsVersionBytes
public com.google.protobuf.ByteString getTlsVersionBytes()string tls_version = 1;- Specified by:
getTlsVersionBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for tlsVersion.
-
getCipherSuite
string cipher_suite = 2;- Specified by:
getCipherSuitein interfaceTlsResultOrBuilder- Returns:
- The cipherSuite.
-
getCipherSuiteBytes
public com.google.protobuf.ByteString getCipherSuiteBytes()string cipher_suite = 2;- Specified by:
getCipherSuiteBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for cipherSuite.
-
getClientcertIsValidated
public boolean getClientcertIsValidated()bool clientcert_is_validated = 3;- Specified by:
getClientcertIsValidatedin interfaceTlsResultOrBuilder- Returns:
- The clientcertIsValidated.
-
getClientcertValidationResult
Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Specified by:
getClientcertValidationResultin interfaceTlsResultOrBuilder- Returns:
- The clientcertValidationResult.
-
getClientcertValidationResultBytes
public com.google.protobuf.ByteString getClientcertValidationResultBytes()Human readable field of clientcert_is_validated
string clientcert_validation_result = 4;- Specified by:
getClientcertValidationResultBytesin interfaceTlsResultOrBuilder- 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:
getClientcertLeafin interfaceTlsResultOrBuilder- Returns:
- The clientcertLeaf.
-
getClientcertChainList
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainListin interfaceTlsResultOrBuilder
-
getClientcertChainOrBuilderList
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainOrBuilderListin interfaceTlsResultOrBuilder
-
getClientcertChainCount
public int getClientcertChainCount()metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainCountin interfaceTlsResultOrBuilder
-
getClientcertChain
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainin interfaceTlsResultOrBuilder
-
getClientcertChainOrBuilder
metadata for each cert in the chain (including leaf)
repeated .traffic.networkcontext.v1.CertMetadata clientcert_chain = 6;- Specified by:
getClientcertChainOrBuilderin interfaceTlsResultOrBuilder
-
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:
getTrustedcaProviderIdin interfaceTlsResultOrBuilder- 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:
getTrustedcaProviderIdBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for trustedcaProviderId.
-
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:
getTrustedcaOrgResourceIdin interfaceTlsResultOrBuilder- 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:
getTrustedcaOrgResourceIdBytesin interfaceTlsResultOrBuilder- Returns:
- The bytes for trustedcaOrgResourceId.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static TlsResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TlsResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TlsResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-