Google Cloud Chronicle Client - Class FileMetadataSignatureInfo (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class FileMetadataSignatureInfo.

Signature information.

Generated from protobuf message google.backstory.FileMetadataSignatureInfo

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ verification_message string

Status of the certificate. Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

↳ verified bool

True if verification_message == "Signed"

↳ signer string[]

Deprecated: use signers field.

↳ signers array<SignerInfo>

File metadata signer information. The order of the signers matters. Each element is a higher level authority, being the last the root authority.

↳ x509 array<X509>

List of certificates.

getVerificationMessage

Status of the certificate.

Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

Returns
Type Description
string

setVerificationMessage

Status of the certificate.

Valid values are "Signed", "Unsigned" or a description of the certificate anomaly, if found.

Parameter
Name Description
var string
Returns
Type Description
$this

getVerified

True if verification_message == "Signed"

Returns
Type Description
bool

setVerified

True if verification_message == "Signed"

Parameter
Name Description
var bool
Returns
Type Description
$this

getSigner

Deprecated: use signers field.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setSigner

Deprecated: use signers field.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getSigners

File metadata signer information.

The order of the signers matters. Each element is a higher level authority, being the last the root authority.

Returns
Type Description
Google\Protobuf\RepeatedField<SignerInfo>

setSigners

File metadata signer information.

The order of the signers matters. Each element is a higher level authority, being the last the root authority.

Parameter
Name Description
var array<SignerInfo>
Returns
Type Description
$this

getX509

List of certificates.

Returns
Type Description
Google\Protobuf\RepeatedField<X509>

setX509

List of certificates.

Parameter
Name Description
var array<X509>
Returns
Type Description
$this