AcmeClient constructor
AcmeClient(})
- 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,
});