Reference documentation and code samples for the Google Cloud Chronicle Client class Client.
Transport Layer Security (TLS) information associated with the client (for example, Certificate or JA3 hash).
Generated from protobuf message google.backstory.Tls.Client
Namespace
Google \ Backstory \ TlsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ certificate |
Google\Backstory\Certificate
Client certificate. |
↳ ja3 |
string
JA3 hash from the TLS ClientHello, as a hex-encoded string. |
↳ server_name |
string
Host name of the server, that the client is connecting to. |
↳ supported_ciphers |
string[]
Ciphers supported by the client during client hello. |
↳ ja4 |
string
JA4 hash from the TLS ClientHello, as a hex-encoded string. |
getCertificate
Client certificate.
| Returns | |
|---|---|
| Type | Description |
Google\Backstory\Certificate|null |
|
hasCertificate
clearCertificate
setCertificate
Client certificate.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Backstory\Certificate
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getJa3
JA3 hash from the TLS ClientHello, as a hex-encoded string.
| Returns | |
|---|---|
| Type | Description |
string |
|
setJa3
JA3 hash from the TLS ClientHello, as a hex-encoded string.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServerName
Host name of the server, that the client is connecting to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServerName
Host name of the server, that the client is connecting to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSupportedCiphers
Ciphers supported by the client during client hello.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setSupportedCiphers
Ciphers supported by the client during client hello.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getJa4
JA4 hash from the TLS ClientHello, as a hex-encoded string.
| Returns | |
|---|---|
| Type | Description |
string |
|
setJa4
JA4 hash from the TLS ClientHello, as a hex-encoded string.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|