Struct acme_client::Account [] [src]

pub struct Account { /* fields omitted */ }

Registered account object.

Every operation requires a registered account. To register an Account you can use Directory::register_account method.

See AccountRegistration helper for more details.

Methods

impl Account
[src]

Creates a new identifier authorization object for domain

Creates a new CertificateSigner helper to sign a certificate for list of domains.

domains must be list of the domain names you want to sign a certificate for. Currently there is no way to retrieve subject alt names from a X509Req.

You can additionally use your own private key and CSR. See CertificateSigner for details.

Revokes a signed certificate from pem formatted file

Revokes a signed certificate

Writes account private key to a writer

Saves account private key to a file

Returns a reference to account private key

Returns a reference to directory used to create account