Google Certificate Authority Service V1 Client - Class CertificateRevocationList (1.4.2)

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

A CertificateRevocationList corresponds to a signed X.509 certificate Revocation List (CRL). A CRL contains the serial numbers of certificates that should no longer be trusted.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

↳ sequence_number int|string

Output only. The CRL sequence number that appears in pem_crl.

↳ revoked_certificates array<Google\Cloud\Security\PrivateCA\V1\CertificateRevocationList\RevokedCertificate>

Output only. The revoked serial numbers that appear in pem_crl.

↳ pem_crl string

Output only. The PEM-encoded X.509 CRL.

↳ access_url string

Output only. The location where 'pem_crl' can be accessed.

↳ state int

Output only. The State for this CertificateRevocationList.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which this CertificateRevocationList was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time at which this CertificateRevocationList was updated.

↳ revision_id string

Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. Labels with user-defined metadata.

getName

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

Returns
TypeDescription
string

setName

Output only. The resource name for this CertificateRevocationList in the format projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSequenceNumber

Output only. The CRL sequence number that appears in pem_crl.

Returns
TypeDescription
int|string

setSequenceNumber

Output only. The CRL sequence number that appears in pem_crl.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getRevokedCertificates

Output only. The revoked serial numbers that appear in pem_crl.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRevokedCertificates

Output only. The revoked serial numbers that appear in pem_crl.

Parameter
NameDescription
var array<Google\Cloud\Security\PrivateCA\V1\CertificateRevocationList\RevokedCertificate>
Returns
TypeDescription
$this

getPemCrl

Output only. The PEM-encoded X.509 CRL.

Returns
TypeDescription
string

setPemCrl

Output only. The PEM-encoded X.509 CRL.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAccessUrl

Output only. The location where 'pem_crl' can be accessed.

Returns
TypeDescription
string

setAccessUrl

Output only. The location where 'pem_crl' can be accessed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. The State for this CertificateRevocationList.

Returns
TypeDescription
int

setState

Output only. The State for this CertificateRevocationList.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Output only. The time at which this CertificateRevocationList was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this CertificateRevocationList was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time at which this CertificateRevocationList was updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time at which this CertificateRevocationList was updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getRevisionId

Output only. The revision ID of this CertificateRevocationList.

A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

Returns
TypeDescription
string

setRevisionId

Output only. The revision ID of this CertificateRevocationList.

A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLabels

Optional. Labels with user-defined metadata.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Optional. Labels with user-defined metadata.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this