public static final class Tls.Client extends GeneratedMessage implements Tls.ClientOrBuilder
Transport Layer Security (TLS) information associated with the client
(for example, Certificate or JA3 hash).
Protobuf type google.backstory.Tls.Client
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CERTIFICATE_FIELD_NUMBER
public static final int CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JA3_FIELD_NUMBER
public static final int JA3_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JA4_FIELD_NUMBER
public static final int JA4_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERVER_NAME_FIELD_NUMBER
public static final int SERVER_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUPPORTED_CIPHERS_FIELD_NUMBER
public static final int SUPPORTED_CIPHERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Tls.Client getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Tls.Client.Builder newBuilder()
newBuilder(Tls.Client prototype)
public static Tls.Client.Builder newBuilder(Tls.Client prototype)
parseDelimitedFrom(InputStream input)
public static Tls.Client parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Tls.Client parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Tls.Client parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Tls.Client parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Tls.Client parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Tls.Client parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Tls.Client parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Tls.Client> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCertificate()
public Certificate getCertificate()
Client certificate.
.google.backstory.Certificate certificate = 1;
getCertificateOrBuilder()
public CertificateOrBuilder getCertificateOrBuilder()
Client certificate.
.google.backstory.Certificate certificate = 1;
getDefaultInstanceForType()
public Tls.Client getDefaultInstanceForType()
getJa3()
JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Returns |
| Type |
Description |
String |
The ja3.
|
getJa3Bytes()
public ByteString getJa3Bytes()
JA3 hash from the TLS ClientHello, as a hex-encoded string.
string ja3 = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for ja3.
|
getJa4()
JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Returns |
| Type |
Description |
String |
The ja4.
|
getJa4Bytes()
public ByteString getJa4Bytes()
JA4 hash from the TLS ClientHello, as a hex-encoded string.
string ja4 = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for ja4.
|
getParserForType()
public Parser<Tls.Client> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getServerName()
public String getServerName()
Host name of the server, that the client is connecting to.
string server_name = 3;
| Returns |
| Type |
Description |
String |
The serverName.
|
getServerNameBytes()
public ByteString getServerNameBytes()
Host name of the server, that the client is connecting to.
string server_name = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for serverName.
|
getSupportedCiphers(int index)
public String getSupportedCiphers(int index)
Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The supportedCiphers at the given index.
|
getSupportedCiphersBytes(int index)
public ByteString getSupportedCiphersBytes(int index)
Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the supportedCiphers at the given index.
|
getSupportedCiphersCount()
public int getSupportedCiphersCount()
Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
| Returns |
| Type |
Description |
int |
The count of supportedCiphers.
|
getSupportedCiphersList()
public ProtocolStringList getSupportedCiphersList()
Ciphers supported by the client during client hello.
repeated string supported_ciphers = 4;
hasCertificate()
public boolean hasCertificate()
Client certificate.
.google.backstory.Certificate certificate = 1;
| Returns |
| Type |
Description |
boolean |
Whether the certificate field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Tls.Client.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Tls.Client.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Tls.Client.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides