[−][src]Struct acme_client::Account
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]
impl AccountCreates a new identifier authorization object for domain
pub fn certificate_signer<'a>(
&'a self,
domains: &'a [&'a str]
) -> CertificateSigner<'a>[src]
pub fn certificate_signer<'a>(
&'a self,
domains: &'a [&'a str]
) -> CertificateSigner<'a>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.
pub fn revoke_certificate_from_file<P: AsRef<Path>>(
&self,
path: P
) -> Result<()>[src]
pub fn revoke_certificate_from_file<P: AsRef<Path>>(
&self,
path: P
) -> Result<()>Revokes a signed certificate from pem formatted file
pub fn revoke_certificate(&self, cert: &X509) -> Result<()>[src]
pub fn revoke_certificate(&self, cert: &X509) -> Result<()>Revokes a signed certificate
pub fn write_private_key<W: Write>(&self, writer: &mut W) -> Result<()>[src]
pub fn write_private_key<W: Write>(&self, writer: &mut W) -> Result<()>Writes account private key to a writer
pub fn save_private_key<P: AsRef<Path>>(&self, path: P) -> Result<()>[src]
pub fn save_private_key<P: AsRef<Path>>(&self, path: P) -> Result<()>Saves account private key to a file
pub fn pkey(&self) -> &PKey<Private>[src]
pub fn pkey(&self) -> &PKey<Private>Returns a reference to account private key
pub fn directory(&self) -> &Directory[src]
pub fn directory(&self) -> &DirectoryReturns a reference to directory used to create account
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more
impl<T> Typeable for T where
T: Any,
impl<T> Typeable for T where
T: Any,