Reference documentation and code samples for the Google Cloud Chronicle V1 Client class SSLClientKeypair.
An SSL client certificate keypair.
Generated from protobuf message google.cloud.chronicle.v1.SSLClientKeypair
Namespace
Google \ Cloud \ Chronicle \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ encoded_private_key |
string
The encoded private key. The string should be a private key in PEM format, and should include the begin header and end footer lines. It may also include newlines. Example: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,F23074E02CF47304
|
↳ ssl_certificate |
string
The encoded SSL certificate. The string should be an SSL certificate in PEM format, and should include the begin header and end footer lines. It may also include newlines. Example: -----BEGIN CERTIFICATE-----
|
getEncodedPrivateKey
The encoded private key. The string should be a private key in PEM format, and should include the begin header and end footer lines. It may also include newlines.
Example: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,F23074E02CF47304
| Returns | |
|---|---|
| Type | Description |
string |
|
setEncodedPrivateKey
The encoded private key. The string should be a private key in PEM format, and should include the begin header and end footer lines. It may also include newlines.
Example: -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,F23074E02CF47304
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSslCertificate
The encoded SSL certificate. The string should be an SSL certificate in PEM format, and should include the begin header and end footer lines. It may also include newlines.
Example: -----BEGIN CERTIFICATE-----
| Returns | |
|---|---|
| Type | Description |
string |
|
setSslCertificate
The encoded SSL certificate. The string should be an SSL certificate in PEM format, and should include the begin header and end footer lines. It may also include newlines.
Example: -----BEGIN CERTIFICATE-----
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|