Class TLSProperties
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.data.accesslog.v3.TLSProperties
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TLSPropertiesOrBuilder
,Serializable
public final class TLSProperties
extends com.google.protobuf.GeneratedMessage
implements TLSPropertiesOrBuilder
Properties of a negotiated TLS connection. [#next-free-field: 8]Protobuf type
envoy.data.accesslog.v3.TLSProperties
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Properties of a negotiated TLS connection.static final class
Protobuf typeenvoy.data.accesslog.v3.TLSProperties.CertificateProperties
static interface
static enum
Protobuf enumenvoy.data.accesslog.v3.TLSProperties.TLSVersion
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>, 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
FieldsModifier and TypeFieldDescriptionprivate int
private static final TLSProperties
static final int
private Object
static final int
private byte
private static final com.google.protobuf.Parser
<TLSProperties> static final int
private static final long
static final int
static final int
static final int
static final int
private com.google.protobuf.UInt32Value
private Object
private Object
private int
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
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
TLSProperties
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static TLSProperties
static final com.google.protobuf.Descriptors.Descriptor
The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.com.google.protobuf.ByteString
The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.Properties of the local certificate used to negotiate TLS.Properties of the local certificate used to negotiate TLS.com.google.protobuf.Parser
<TLSProperties> Properties of the peer certificate used to negotiate TLS.Properties of the peer certificate used to negotiate TLS.int
com.google.protobuf.UInt32Value
TLS cipher suite negotiated during handshake.com.google.protobuf.UInt32ValueOrBuilder
TLS cipher suite negotiated during handshake.The TLS session ID.com.google.protobuf.ByteString
The TLS session ID.SNI hostname from handshake.com.google.protobuf.ByteString
SNI hostname from handshake.Version of TLS that was negotiated.int
Version of TLS that was negotiated.int
hashCode()
boolean
Properties of the local certificate used to negotiate TLS.boolean
Properties of the peer certificate used to negotiate TLS.boolean
TLS cipher suite negotiated during handshake.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static TLSProperties.Builder
static TLSProperties.Builder
newBuilder
(TLSProperties prototype) protected TLSProperties.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static TLSProperties
parseDelimitedFrom
(InputStream input) static TLSProperties
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TLSProperties
parseFrom
(byte[] data) static TLSProperties
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TLSProperties
parseFrom
(com.google.protobuf.ByteString data) static TLSProperties
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TLSProperties
parseFrom
(com.google.protobuf.CodedInputStream input) static TLSProperties
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TLSProperties
parseFrom
(InputStream input) static TLSProperties
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TLSProperties
parseFrom
(ByteBuffer data) static TLSProperties
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<TLSProperties> parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
TLS_VERSION_FIELD_NUMBER
public static final int TLS_VERSION_FIELD_NUMBER- See Also:
-
tlsVersion_
private int tlsVersion_ -
TLS_CIPHER_SUITE_FIELD_NUMBER
public static final int TLS_CIPHER_SUITE_FIELD_NUMBER- See Also:
-
tlsCipherSuite_
private com.google.protobuf.UInt32Value tlsCipherSuite_ -
TLS_SNI_HOSTNAME_FIELD_NUMBER
public static final int TLS_SNI_HOSTNAME_FIELD_NUMBER- See Also:
-
tlsSniHostname_
-
LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER
public static final int LOCAL_CERTIFICATE_PROPERTIES_FIELD_NUMBER- See Also:
-
localCertificateProperties_
-
PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER
public static final int PEER_CERTIFICATE_PROPERTIES_FIELD_NUMBER- See Also:
-
peerCertificateProperties_
-
TLS_SESSION_ID_FIELD_NUMBER
public static final int TLS_SESSION_ID_FIELD_NUMBER- See Also:
-
tlsSessionId_
-
JA3_FINGERPRINT_FIELD_NUMBER
public static final int JA3_FINGERPRINT_FIELD_NUMBER- See Also:
-
ja3Fingerprint_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
TLSProperties
private TLSProperties(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
TLSProperties
private TLSProperties()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getTlsVersionValue
public int getTlsVersionValue()Version of TLS that was negotiated.
.envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
- Specified by:
getTlsVersionValue
in interfaceTLSPropertiesOrBuilder
- Returns:
- The enum numeric value on the wire for tlsVersion.
-
getTlsVersion
Version of TLS that was negotiated.
.envoy.data.accesslog.v3.TLSProperties.TLSVersion tls_version = 1;
- Specified by:
getTlsVersion
in interfaceTLSPropertiesOrBuilder
- Returns:
- The tlsVersion.
-
hasTlsCipherSuite
public boolean hasTlsCipherSuite()TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;
- Specified by:
hasTlsCipherSuite
in interfaceTLSPropertiesOrBuilder
- Returns:
- Whether the tlsCipherSuite field is set.
-
getTlsCipherSuite
public com.google.protobuf.UInt32Value getTlsCipherSuite()TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;
- Specified by:
getTlsCipherSuite
in interfaceTLSPropertiesOrBuilder
- Returns:
- The tlsCipherSuite.
-
getTlsCipherSuiteOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getTlsCipherSuiteOrBuilder()TLS cipher suite negotiated during handshake. The value is a four-digit hex code defined by the IANA TLS Cipher Suite Registry (e.g. ``009C`` for ``TLS_RSA_WITH_AES_128_GCM_SHA256``). Here it is expressed as an integer.
.google.protobuf.UInt32Value tls_cipher_suite = 2;
- Specified by:
getTlsCipherSuiteOrBuilder
in interfaceTLSPropertiesOrBuilder
-
getTlsSniHostname
SNI hostname from handshake.
string tls_sni_hostname = 3;
- Specified by:
getTlsSniHostname
in interfaceTLSPropertiesOrBuilder
- Returns:
- The tlsSniHostname.
-
getTlsSniHostnameBytes
public com.google.protobuf.ByteString getTlsSniHostnameBytes()SNI hostname from handshake.
string tls_sni_hostname = 3;
- Specified by:
getTlsSniHostnameBytes
in interfaceTLSPropertiesOrBuilder
- Returns:
- The bytes for tlsSniHostname.
-
hasLocalCertificateProperties
public boolean hasLocalCertificateProperties()Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
- Specified by:
hasLocalCertificateProperties
in interfaceTLSPropertiesOrBuilder
- Returns:
- Whether the localCertificateProperties field is set.
-
getLocalCertificateProperties
Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
- Specified by:
getLocalCertificateProperties
in interfaceTLSPropertiesOrBuilder
- Returns:
- The localCertificateProperties.
-
getLocalCertificatePropertiesOrBuilder
Properties of the local certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties local_certificate_properties = 4;
- Specified by:
getLocalCertificatePropertiesOrBuilder
in interfaceTLSPropertiesOrBuilder
-
hasPeerCertificateProperties
public boolean hasPeerCertificateProperties()Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
- Specified by:
hasPeerCertificateProperties
in interfaceTLSPropertiesOrBuilder
- Returns:
- Whether the peerCertificateProperties field is set.
-
getPeerCertificateProperties
Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
- Specified by:
getPeerCertificateProperties
in interfaceTLSPropertiesOrBuilder
- Returns:
- The peerCertificateProperties.
-
getPeerCertificatePropertiesOrBuilder
Properties of the peer certificate used to negotiate TLS.
.envoy.data.accesslog.v3.TLSProperties.CertificateProperties peer_certificate_properties = 5;
- Specified by:
getPeerCertificatePropertiesOrBuilder
in interfaceTLSPropertiesOrBuilder
-
getTlsSessionId
The TLS session ID.
string tls_session_id = 6;
- Specified by:
getTlsSessionId
in interfaceTLSPropertiesOrBuilder
- Returns:
- The tlsSessionId.
-
getTlsSessionIdBytes
public com.google.protobuf.ByteString getTlsSessionIdBytes()The TLS session ID.
string tls_session_id = 6;
- Specified by:
getTlsSessionIdBytes
in interfaceTLSPropertiesOrBuilder
- Returns:
- The bytes for tlsSessionId.
-
getJa3Fingerprint
The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
string ja3_fingerprint = 7;
- Specified by:
getJa3Fingerprint
in interfaceTLSPropertiesOrBuilder
- Returns:
- The ja3Fingerprint.
-
getJa3FingerprintBytes
public com.google.protobuf.ByteString getJa3FingerprintBytes()The ``JA3`` fingerprint when ``JA3`` fingerprinting is enabled.
string ja3_fingerprint = 7;
- Specified by:
getJa3FingerprintBytes
in interfaceTLSPropertiesOrBuilder
- Returns:
- The bytes for ja3Fingerprint.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TLSProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TLSProperties parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static TLSProperties parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TLSProperties parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TLSProperties.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-