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

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

A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ subject_description Google\Cloud\Security\PrivateCA\V1\CertificateDescription\SubjectDescription

Describes some of the values in a certificate that are related to the subject and lifetime.

↳ x509_description Google\Cloud\Security\PrivateCA\V1\X509Parameters

Describes some of the technical X.509 fields in a certificate.

↳ public_key Google\Cloud\Security\PrivateCA\V1\PublicKey

The public key that corresponds to an issued certificate.

↳ subject_key_id Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

↳ authority_key_id Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

↳ crl_distribution_points array

Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

↳ aia_issuing_certificate_urls array

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

↳ cert_fingerprint Google\Cloud\Security\PrivateCA\V1\CertificateDescription\CertificateFingerprint

The hash of the x.509 certificate.

getSubjectDescription

Describes some of the values in a certificate that are related to the subject and lifetime.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CertificateDescription\SubjectDescription|null

hasSubjectDescription

clearSubjectDescription

setSubjectDescription

Describes some of the values in a certificate that are related to the subject and lifetime.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CertificateDescription\SubjectDescription
Returns
TypeDescription
$this

getX509Description

Describes some of the technical X.509 fields in a certificate.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\X509Parameters|null

hasX509Description

clearX509Description

setX509Description

Describes some of the technical X.509 fields in a certificate.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\X509Parameters
Returns
TypeDescription
$this

getPublicKey

The public key that corresponds to an issued certificate.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\PublicKey|null

hasPublicKey

clearPublicKey

setPublicKey

The public key that corresponds to an issued certificate.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\PublicKey
Returns
TypeDescription
$this

getSubjectKeyId

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId|null

hasSubjectKeyId

clearSubjectKeyId

setSubjectKeyId

Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId
Returns
TypeDescription
$this

getAuthorityKeyId

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId|null

hasAuthorityKeyId

clearAuthorityKeyId

setAuthorityKeyId

Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId
Returns
TypeDescription
$this

getCrlDistributionPoints

Describes a list of locations to obtain CRL information, i.e.

the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCrlDistributionPoints

Describes a list of locations to obtain CRL information, i.e.

the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAiaIssuingCertificateUrls

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAiaIssuingCertificateUrls

Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getCertFingerprint

The hash of the x.509 certificate.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CertificateDescription\CertificateFingerprint|null

hasCertFingerprint

clearCertFingerprint

setCertFingerprint

The hash of the x.509 certificate.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CertificateDescription\CertificateFingerprint
Returns
TypeDescription
$this