Reference documentation and code samples for the Google Cloud Chronicle Client class SignerInfo.
File metadata related to the signer information.
Generated from protobuf message google.backstory.SignerInfo
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Common name of the signers/certificate. The order of the signers matters. Each element is a higher level authority, the last being the root authority. |
↳ status |
string
It can say "Valid" or state the problem with the certificate if any (e.g. "This certificate or one of the certificates in the certificate chain is not time valid."). |
↳ valid_usage |
string
Indicates which situations the certificate is valid for (e.g. "Code Signing"). |
↳ cert_issuer |
string
Company that issued the certificate. |
getName
Common name of the signers/certificate.
The order of the signers matters. Each element is a higher level authority, the last being the root authority.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasName
clearName
setName
Common name of the signers/certificate.
The order of the signers matters. Each element is a higher level authority, the last being the root authority.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStatus
It can say "Valid" or state the problem with the certificate if any (e.g.
"This certificate or one of the certificates in the certificate chain is not time valid.").
| Returns | |
|---|---|
| Type | Description |
string |
|
hasStatus
clearStatus
setStatus
It can say "Valid" or state the problem with the certificate if any (e.g.
"This certificate or one of the certificates in the certificate chain is not time valid.").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValidUsage
Indicates which situations the certificate is valid for (e.g. "Code Signing").
| Returns | |
|---|---|
| Type | Description |
string |
|
hasValidUsage
clearValidUsage
setValidUsage
Indicates which situations the certificate is valid for (e.g. "Code Signing").
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCertIssuer
Company that issued the certificate.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasCertIssuer
clearCertIssuer
setCertIssuer
Company that issued the certificate.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|