AcmeClient constructor

AcmeClient(
  1. String baseUrl,
  2. String privateKeyPem,
  3. String publicKeyPem,
  4. bool acceptTerms,
  5. List<String> contacts, {
  6. bool createIfNotExists = true,
})
  • baseUrl = The base url of the acme server
  • privateKeyPem = The private key in PEM format. If none given, it will look within the basePath for a private key
  • publicKeyPem = The public key in PEM format. If none given, it will look within the basePath for a public key
  • acceptTerms = Accept terms and condition while creating / fetching an account
  • contacts = A list of email addresses
  • createIfNotExists = Defines whether to create an account if none exists

Implementation

AcmeClient(
  this.baseUrl,
  this.privateKeyPem,
  this.publicKeyPem,
  this.acceptTerms,
  this.contacts, {
  this.createIfNotExists = true,
});