# Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::CertificateDescription (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.1 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.6 Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::CertificateDescription.

A
[CertificateDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription "Google::Cloud::Security::PrivateCA::V1::CertificateDescription (class)")
describes an X.509 certificate or CSR that has been issued, as an alternative
to using ASN.1 / X.509.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #aia_issuing_certificate_urls

    def aia_issuing_certificate_urls() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

### #aia_issuing_certificate_urls=

    def aia_issuing_certificate_urls=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.
**Returns**

- (::Array\<::String\>) --- Describes lists of issuer CA certificate URLs that appear in the "Authority Information Access" extension in the certificate.

### #authority_key_id

    def authority_key_id() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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

### #authority_key_id=

    def authority_key_id=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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

### #cert_fingerprint

    def cert_fingerprint() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::CertificateFingerprint

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::CertificateFingerprint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-CertificateFingerprint)) --- The hash of the x.509 certificate.

### #cert_fingerprint=

    def cert_fingerprint=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::CertificateFingerprint

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::CertificateFingerprint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-CertificateFingerprint)) --- The hash of the x.509 certificate.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::CertificateFingerprint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-CertificateFingerprint)) --- The hash of the x.509 certificate.

### #crl_distribution_points

    def crl_distribution_points() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- 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

### #crl_distribution_points=

    def crl_distribution_points=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- 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**

- (::Array\<::String\>) --- 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

### #public_key

    def public_key() -> ::Google::Cloud::Security::PrivateCA::V1::PublicKey

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::PublicKey](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-PublicKey)) --- The public key that corresponds to an issued certificate.

### #public_key=

    def public_key=(value) -> ::Google::Cloud::Security::PrivateCA::V1::PublicKey

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::PublicKey](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-PublicKey)) --- The public key that corresponds to an issued certificate.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::PublicKey](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-PublicKey)) --- The public key that corresponds to an issued certificate.

### #subject_description

    def subject_description() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-SubjectDescription)) --- Describes some of the values in a certificate that are related to the subject and lifetime.

### #subject_description=

    def subject_description=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-SubjectDescription)) --- Describes some of the values in a certificate that are related to the subject and lifetime.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::SubjectDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-CertificateDescription-SubjectDescription)) --- Describes some of the values in a certificate that are related to the subject and lifetime.

### #subject_key_id

    def subject_key_id() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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.

### #subject_key_id=

    def subject_key_id=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::CertificateDescription::KeyId](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/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.

### #tbs_certificate_digest

    def tbs_certificate_digest() -> ::String

**Returns**

- (::String) --- The hash of the pre-signed certificate, which will be signed by the CA. Corresponds to the TBS Certificate in https://tools.ietf.org/html/rfc5280#section-4.1.2. The field will always be populated.

### #tbs_certificate_digest=

    def tbs_certificate_digest=(value) -> ::String

**Parameter**

- **value** (::String) --- The hash of the pre-signed certificate, which will be signed by the CA. Corresponds to the TBS Certificate in https://tools.ietf.org/html/rfc5280#section-4.1.2. The field will always be populated.
**Returns**

- (::String) --- The hash of the pre-signed certificate, which will be signed by the CA. Corresponds to the TBS Certificate in https://tools.ietf.org/html/rfc5280#section-4.1.2. The field will always be populated.

### #x509_description

    def x509_description() -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters

**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::X509Parameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-X509Parameters)) --- Describes some of the technical X.509 fields in a certificate.

### #x509_description=

    def x509_description=(value) -> ::Google::Cloud::Security::PrivateCA::V1::X509Parameters

**Parameter**

- **value** ([::Google::Cloud::Security::PrivateCA::V1::X509Parameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-X509Parameters)) --- Describes some of the technical X.509 fields in a certificate.
**Returns**

- ([::Google::Cloud::Security::PrivateCA::V1::X509Parameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security-private_ca-v1/latest/Google-Cloud-Security-PrivateCA-V1-X509Parameters)) --- Describes some of the technical X.509 fields in a certificate.