Google Certificate Authority Service V1beta1 Client - Class RevokedCertificate (1.3.1)

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

Describes a revoked Certificate.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1 \ CertificateRevocationList

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ certificate string

The resource path for the Certificate in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

↳ hex_serial_number string

The serial number of the Certificate.

↳ revocation_reason int

The reason the Certificate was revoked.

getCertificate

The resource path for the Certificate in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

Returns
TypeDescription
string

setCertificate

The resource path for the Certificate in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHexSerialNumber

The serial number of the Certificate.

Returns
TypeDescription
string

setHexSerialNumber

The serial number of the Certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRevocationReason

The reason the Certificate was revoked.

Returns
TypeDescription
int

setRevocationReason

The reason the Certificate was revoked.

Parameter
NameDescription
var int
Returns
TypeDescription
$this