Reference documentation and code samples for the Google Certificate Authority Service V1beta1 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.v1beta1.CertificateDescription
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ subject_description |
Google\Cloud\Security\PrivateCA\V1beta1\CertificateDescription\SubjectDescription
Describes some of the values in a certificate that are related to the subject and lifetime. |
↳ config_values |
Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues
Describes some of the technical fields in a certificate. |
↳ public_key |
Google\Cloud\Security\PrivateCA\V1beta1\PublicKey
The public key that corresponds to an issued certificate. |
↳ subject_key_id |
Google\Cloud\Security\PrivateCA\V1beta1\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\V1beta1\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\V1beta1\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 | |
---|---|
Type | Description |
Google\Cloud\Security\PrivateCA\V1beta1\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\V1beta1\CertificateDescription\SubjectDescription
|
Returns | |
---|---|
Type | Description |
$this |
getConfigValues
Describes some of the technical fields in a certificate.
Returns | |
---|---|
Type | Description |
Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues|null |
hasConfigValues
clearConfigValues
setConfigValues
Describes some of the technical fields in a certificate.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues
|
Returns | |
---|---|
Type | Description |
$this |
getPublicKey
The public key that corresponds to an issued certificate.
Returns | |
---|---|
Type | Description |
Google\Cloud\Security\PrivateCA\V1beta1\PublicKey|null |
hasPublicKey
clearPublicKey
setPublicKey
The public key that corresponds to an issued certificate.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Security\PrivateCA\V1beta1\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\V1beta1\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\V1beta1\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\V1beta1\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\V1beta1\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\V1beta1\CertificateDescription\CertificateFingerprint|null |
hasCertFingerprint
clearCertFingerprint
setCertFingerprint
The hash of the x.509 certificate.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Security\PrivateCA\V1beta1\CertificateDescription\CertificateFingerprint
|
Returns | |
---|---|
Type | Description |
$this |