Reference documentation and code samples for the Google Cloud Chronicle Client class Tls.
Transport Layer Security (TLS) information.
Generated from protobuf message google.backstory.Tls
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ client |
Tls\Client
Certificate information for the client certificate. |
↳ server |
Tls\Server
Certificate information for the server certificate. |
↳ cipher |
string
Cipher used during the connection. |
↳ curve |
string
Elliptical curve used for a given cipher. |
↳ version |
string
TLS version. |
↳ version_protocol |
string
Protocol. |
↳ established |
bool
Indicates whether the TLS negotiation was successful. |
↳ next_protocol |
string
Protocol to be used for tunnel. |
↳ resumed |
bool
Indicates whether the TLS connection was resumed from a previous TLS negotiation. |
getClient
Certificate information for the client certificate.
| Returns | |
|---|---|
| Type | Description |
Tls\Client|null |
|
hasClient
clearClient
setClient
Certificate information for the client certificate.
| Parameter | |
|---|---|
| Name | Description |
var |
Tls\Client
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServer
Certificate information for the server certificate.
| Returns | |
|---|---|
| Type | Description |
Tls\Server|null |
|
hasServer
clearServer
setServer
Certificate information for the server certificate.
| Parameter | |
|---|---|
| Name | Description |
var |
Tls\Server
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCipher
Cipher used during the connection.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCipher
Cipher used during the connection.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCurve
Elliptical curve used for a given cipher.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCurve
Elliptical curve used for a given cipher.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
TLS version.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
TLS version.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersionProtocol
Protocol.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersionProtocol
Protocol.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEstablished
Indicates whether the TLS negotiation was successful.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setEstablished
Indicates whether the TLS negotiation was successful.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextProtocol
Protocol to be used for tunnel.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextProtocol
Protocol to be used for tunnel.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResumed
Indicates whether the TLS connection was resumed from a previous TLS negotiation.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setResumed
Indicates whether the TLS connection was resumed from a previous TLS negotiation.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|