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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ subject_description | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\SubjectDescriptionDescribes some of the values in a certificate that are related to the subject and lifetime. | 
| ↳ x509_description | Google\Cloud\Security\PrivateCA\V1\X509ParametersDescribes some of the technical X.509 fields in a certificate. | 
| ↳ public_key | Google\Cloud\Security\PrivateCA\V1\PublicKeyThe public key that corresponds to an issued certificate. | 
| ↳ subject_key_id | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyIdProvides 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\KeyIdIdentifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1 | 
| ↳ crl_distribution_points | arrayDescribes 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 | arrayDescribes 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\CertificateFingerprintThe hash of the x.509 certificate. | 
getSubjectDescription
Describes some of the values in a certificate that are related to the subject and lifetime.
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\SubjectDescription | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getX509Description
Describes some of the technical X.509 fields in a certificate.
| Returns | |
|---|---|
| Type | Description | 
| Google\Cloud\Security\PrivateCA\V1\X509Parameters|null | |
hasX509Description
clearX509Description
setX509Description
Describes some of the technical X.509 fields in a certificate.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\X509Parameters | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getPublicKey
The public key that corresponds to an issued certificate.
| Returns | |
|---|---|
| Type | Description | 
| Google\Cloud\Security\PrivateCA\V1\PublicKey|null | |
hasPublicKey
clearPublicKey
setPublicKey
The public key that corresponds to an issued certificate.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\PublicKey | 
| Returns | |
|---|---|
| Type | Description | 
| $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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getAuthorityKeyId
Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\KeyId | 
| Returns | |
|---|---|
| Type | Description | 
| $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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| var | string[] | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getAiaIssuingCertificateUrls
Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Internal\RepeatedField | |
setAiaIssuingCertificateUrls
Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.
| Parameter | |
|---|---|
| Name | Description | 
| var | string[] | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getCertFingerprint
The hash of the x.509 certificate.
| Returns | |
|---|---|
| Type | Description | 
| Google\Cloud\Security\PrivateCA\V1\CertificateDescription\CertificateFingerprint|null | |
hasCertFingerprint
clearCertFingerprint
setCertFingerprint
The hash of the x.509 certificate.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Cloud\Security\PrivateCA\V1\CertificateDescription\CertificateFingerprint | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |