AcmeClientImpl

The implementation of the AcmeClient

This structure implements the basic steps to renew a certificate with the ACME protocol.

See: https://tools.ietf.org/html/rfc8555 Automatic Certificate Management Environment (ACME)

Constructors

this
this(string accountPrivateKey)

Construct the AcmeClient

Members

Aliases

sendRequestTuple
alias sendRequestTuple = Tuple!(string, "key", string, "value")

Tuple for filtering of RequestHeaders

Functions

issueCertificate
Certificate issueCertificate(string[] domainNames, AcmeClient.Callback callback)

Issue a certificate request for a set of domains

sendRequest
T sendRequest(string url, string payload, sendRequestTuple* header)

Send a JWS request with payload to a CA server

signDataWithSHA256
char[] signDataWithSHA256(char[] s)

Sign a given string with an SHA256 hash

verifyChallengePassed
void verifyChallengePassed(JSONValue challenge, string keyAuthorization)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

acmeRes
AcmeResources acmeRes;
Undocumented in source.

Meta