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.
certificateDescriptionA structured description of the issued X.509 certificate.certificateTemplateImmutable. The resource name for a CertificateTemplate used to issue this certificate, in the formatprojects/*/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.configImmutable. A description of the certificate and key that does not require X.509 or ASN.1.createTimeThe time at which this Certificate was created.issuerCertificateAuthorityThe resource name of the issuing CertificateAuthority in the formatprojects/*/locations/*/caPools/*/certificateAuthorities/*.labelsOptional. Labels with user-defined metadata.lifetimeImmutable. 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.nameThe resource name for this Certificate in the formatprojects/*/locations/*/caPools/*/certificates/*.pemCertificateThe pem-encoded, signed X.509 certificate.pemCertificateChainThe chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.pemCsrImmutable. A pem-encoded X.509 certificate signing request (CSR).revocationDetailsDetails regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.subjectModeImmutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, theDEFAULTsubject mode will be used.updateTimeThe 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
DEFAULTsubject 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