CertificateResponse constructor

const CertificateResponse({
  1. required Input<String> createTime,
  2. required Input<String> expireTime,
  3. required Input<List<StatusResponse>> issues,
  4. required Input<String> state,
  5. required Input<String> type,
  6. 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.

Implementation

const CertificateResponse({
  required this.createTime,
  required this.expireTime,
  required this.issues,
  required this.state,
  required this.type,
  required this.verification,
});