Google Cloud Chronicle Client - Class Certificate (0.9.0)

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

Certificate information

Generated from protobuf message google.backstory.Certificate

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

Certificate version.

↳ serial string

Certificate serial number.

↳ subject string

Subject of the certificate.

↳ issuer string

Issuer of the certificate.

↳ md5 string

The MD5 hash of the certificate, as a hex-encoded string.

↳ sha1 string

The SHA1 hash of the certificate, as a hex-encoded string.

↳ sha256 string

The SHA256 hash of the certificate, as a hex-encoded string.

↳ not_before Google\Protobuf\Timestamp

Indicates when the certificate is first valid.

↳ not_after Google\Protobuf\Timestamp

Indicates when the certificate is no longer valid.

getVersion

Certificate version.

Returns
Type Description
string

setVersion

Certificate version.

Parameter
Name Description
var string
Returns
Type Description
$this

getSerial

Certificate serial number.

Returns
Type Description
string

setSerial

Certificate serial number.

Parameter
Name Description
var string
Returns
Type Description
$this

getSubject

Subject of the certificate.

Returns
Type Description
string

setSubject

Subject of the certificate.

Parameter
Name Description
var string
Returns
Type Description
$this

getIssuer

Issuer of the certificate.

Returns
Type Description
string

setIssuer

Issuer of the certificate.

Parameter
Name Description
var string
Returns
Type Description
$this

getMd5

The MD5 hash of the certificate, as a hex-encoded string.

Returns
Type Description
string

setMd5

The MD5 hash of the certificate, as a hex-encoded string.

Parameter
Name Description
var string
Returns
Type Description
$this

getSha1

The SHA1 hash of the certificate, as a hex-encoded string.

Returns
Type Description
string

setSha1

The SHA1 hash of the certificate, as a hex-encoded string.

Parameter
Name Description
var string
Returns
Type Description
$this

getSha256

The SHA256 hash of the certificate, as a hex-encoded string.

Returns
Type Description
string

setSha256

The SHA256 hash of the certificate, as a hex-encoded string.

Parameter
Name Description
var string
Returns
Type Description
$this

getNotBefore

Indicates when the certificate is first valid.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasNotBefore

clearNotBefore

setNotBefore

Indicates when the certificate is first valid.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getNotAfter

Indicates when the certificate is no longer valid.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasNotAfter

clearNotAfter

setNotAfter

Indicates when the certificate is no longer valid.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this