[−][src]Struct acme2_slim::Account
Implementations
impl Account
[src]
pub async fn create_order<'a, T: AsRef<str> + Debug + Clone + Display, '_>(
&'a mut self,
domains: &'_ [T]
) -> Result<CreateOrderResponse>
[src]
&'a mut self,
domains: &'_ [T]
) -> Result<CreateOrderResponse>
Creates a new identifier authorization object for domain
pub fn certificate_signer<'a>(&'a self) -> CertificateSigner<'a>
[src]
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 async fn revoke_certificate_from_file<P: AsRef<Path>, '_>(
&'_ mut self,
path: P
) -> Result<()>
[src]
&'_ mut self,
path: P
) -> Result<()>
Revokes a signed certificate from pem formatted file
pub async fn revoke_certificate<'_, '_>(
&'_ mut self,
cert: &'_ X509
) -> Result<()>
[src]
&'_ mut self,
cert: &'_ X509
) -> Result<()>
Revokes a signed certificate
pub async fn write_private_key<W: AsyncWrite, '_, '_>(
&'_ self,
writer: Pin<&'_ mut W>
) -> Result<()>
[src]
&'_ self,
writer: Pin<&'_ mut W>
) -> Result<()>
Writes account private key to a writer
pub async fn save_private_key<P: AsRef<Path>, '_>(
&'_ self,
path: P
) -> Result<()>
[src]
&'_ self,
path: P
) -> Result<()>
Saves account private key to a file
pub fn pkey(&self) -> &PKey<Private>
[src]
Returns a reference to account private key
pub fn directory(&self) -> &Directory
[src]
Returns a reference to directory used to create account
Auto Trait Implementations
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,