Google Certificate Authority Service V1 Client - Class RevokedCertificate (2.0.2)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class RevokedCertificate.

Describes a revoked Certificate.

Generated from protobuf message google.cloud.security.privateca.v1.CertificateRevocationList.RevokedCertificate

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ CertificateRevocationList

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ certificate string

The resource name for the Certificate in the format projects/*/locations/*/caPools/*/certificates/*.

↳ hex_serial_number string

The serial number of the Certificate.

↳ revocation_reason int

The reason the Certificate was revoked.

getCertificate

The resource name for the Certificate in the format projects/*/locations/*/caPools/*/certificates/*.

Returns
Type Description
string

setCertificate

The resource name for the Certificate in the format projects/*/locations/*/caPools/*/certificates/*.

Parameter
Name Description
var string
Returns
Type Description
$this

getHexSerialNumber

The serial number of the Certificate.

Returns
Type Description
string

setHexSerialNumber

The serial number of the Certificate.

Parameter
Name Description
var string
Returns
Type Description
$this

getRevocationReason

The reason the Certificate was revoked.

Returns
Type Description
int

setRevocationReason

The reason the Certificate was revoked.

Parameter
Name Description
var int
Returns
Type Description
$this