CertificateResponse class

An SSL certificate used to provide end-to-end encryption for requests against your domain name. A Certificate can be an actual SSL certificate or, for newly-created custom domains, Hosting's intent to create one.

Constructors

CertificateResponse({required Input<String> createTime, required Input<String> expireTime, required Input<List<StatusResponse>> issues, required Input<String> state, required Input<String> type, required Input<CertVerificationResponse> verification})
Creates a new CertificateResponse. createTime The certificate's creation time. For TEMPORARY certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created. expireTime The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors. issues A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors. state The state of the certificate. Only the CERT_ACTIVE and CERT_EXPIRING_SOON states provide SSL coverage for a domain name. If the state is PROPAGATING and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates. type The certificate's type. verification A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
const
CertificateResponse.fromMap(Map<String, dynamic> map)
factory

Properties

createTime → Input<String>
The certificate's creation time. For TEMPORARY certs this is the time Hosting first generated challenges for your domain name. For all other cert types, it's the time the actual cert was created.
final
expireTime → Input<String>
The certificate's expiration time. After this time, the cert can no longer be used to provide secure communication between Hosting and your site's visitors.
final
hashCode → int
The hash code for this object.
no setterinherited
issues → Input<List<StatusResponse>>
A set of errors Hosting encountered when attempting to create a cert for your domain name. Resolve these issues to ensure Hosting is able to provide secure communication with your site's visitors.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String>
The state of the certificate. Only the CERT_ACTIVE and CERT_EXPIRING_SOON states provide SSL coverage for a domain name. If the state is PROPAGATING and Hosting had an active cert for the domain name before, that formerly-active cert provides SSL coverage for the domain name until the current cert propagates.
final
type → Input<String>
The certificate's type.
final
verification → Input<CertVerificationResponse>
A set of ACME challenges you can add to your DNS records or existing, non-Hosting hosting provider to allow Hosting to create an SSL certificate for your domain name before you point traffic toward hosting. You can use thse challenges as part of a zero downtime transition from your old provider to Hosting.
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