GetCertificateResult

data class GetCertificateResult(val certificateDescription: CertificateDescriptionResponse, val certificateTemplate: String, val config: CertificateConfigResponse, val createTime: String, val issuerCertificateAuthority: String, val labels: Map<String, String>, val lifetime: String, val name: String, val pemCertificate: String, val pemCertificateChain: List<String>, val pemCsr: String, val revocationDetails: RevocationDetailsResponse, val subjectMode: String, val updateTime: String)

Constructors

Link copied to clipboard
fun GetCertificateResult(certificateDescription: CertificateDescriptionResponse, certificateTemplate: String, config: CertificateConfigResponse, createTime: String, issuerCertificateAuthority: String, labels: Map<String, String>, lifetime: String, name: String, pemCertificate: String, pemCertificateChain: List<String>, pemCsr: String, revocationDetails: RevocationDetailsResponse, subjectMode: String, updateTime: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A structured description of the issued X.509 certificate.

Link copied to clipboard

Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format projects/*/locations/*/certificateTemplates/*. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.

Link copied to clipboard

Immutable. A description of the certificate and key that does not require X.509 or ASN.1.

Link copied to clipboard

The time at which this Certificate was created.

Link copied to clipboard

The resource name of the issuing CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.

Link copied to clipboard

Optional. Labels with user-defined metadata.

Link copied to clipboard

Immutable. The desired lifetime of a certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.

Link copied to clipboard

The resource name for this Certificate in the format projects/*/locations/*/caPools/*/certificates/*.

Link copied to clipboard

The pem-encoded, signed X.509 certificate.

Link copied to clipboard

The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.

Link copied to clipboard

Immutable. A pem-encoded X.509 certificate signing request (CSR).

Link copied to clipboard

Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.

Link copied to clipboard

Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used.

Link copied to clipboard

The time at which this Certificate was updated. //////////*/