GetCertificateResult class

Result data returned by getCertificate.

Constructors

GetCertificateResult({required CertificateDescriptionResponse certificateDescription, required String certificateTemplate, required CertificateConfigResponse config, required String createTime, required String issuerCertificateAuthority, required Map<String, String> labels, required String lifetime, required String name, required String pemCertificate, required List<String> pemCertificateChain, required String pemCsr, required RevocationDetailsResponse revocationDetails, required String subjectMode, required String updateTime})
Creates a new GetCertificateResult. certificateDescription A structured description of the issued X.509 certificate. certificateTemplate 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. config Immutable. A description of the certificate and key that does not require X.509 or ASN.1. createTime The time at which this Certificate was created. issuerCertificateAuthority The resource name of the issuing CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*. labels Optional. Labels with user-defined metadata. lifetime 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. name The resource name for this Certificate in the format projects/*/locations/*/caPools/*/certificates/*. pemCertificate The pem-encoded, signed X.509 certificate. pemCertificateChain The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246. pemCsr Immutable. A pem-encoded X.509 certificate signing request (CSR). revocationDetails Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present. subjectMode Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used. updateTime The time at which this Certificate was updated.
const
GetCertificateResult.fromMap(Map<String, dynamic> map)
factory

Properties

certificateDescription → CertificateDescriptionResponse
A structured description of the issued X.509 certificate.
final
certificateTemplate → String
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.
final
config → CertificateConfigResponse
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
final
createTime → String
The time at which this Certificate was created.
final
hashCode → int
The hash code for this object.
no setterinherited
issuerCertificateAuthority → String
The resource name of the issuing CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.
final
labels → Map<String, String>
Optional. Labels with user-defined metadata.
final
lifetime → String
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.
final
name → String
The resource name for this Certificate in the format projects/*/locations/*/caPools/*/certificates/*.
final
pemCertificate → String
The pem-encoded, signed X.509 certificate.
final
pemCertificateChain → List<String>
The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
final
pemCsr → String
Immutable. A pem-encoded X.509 certificate signing request (CSR).
final
revocationDetails → RevocationDetailsResponse
Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subjectMode → String
Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used.
final
updateTime → String
The time at which this Certificate was updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited