Struct acme_client::AccountRegistration [] [src]

pub struct AccountRegistration { /* fields omitted */ }

Helper to register an account.

Methods

impl AccountRegistration
[src]

Sets contact email address

Sets contact details such as telephone number (Let's Encrypt only supports email address).

Sets agreement url, LETSENCRYPT_AGREEMENT_URL will be used during registration if it's not set.

Sets account private key. A new key will be generated if it's not set.

Sets PKey from a PEM formatted file.

Registers an account.

A PKey will be generated if it doesn't exists.