[−][src]Struct acme_client::SignedCertificate
A signed certificate.
Methods
impl SignedCertificate
[src]
impl SignedCertificate
pub fn save_signed_certificate<P: AsRef<Path>>(&self, path: P) -> Result<()>
[src]
pub fn save_signed_certificate<P: AsRef<Path>>(&self, path: P) -> Result<()>
Saves signed certificate to a file
pub fn save_intermediate_certificate<P: AsRef<Path>>(
&self,
url: Option<&str>,
path: P
) -> Result<()>
[src]
pub fn save_intermediate_certificate<P: AsRef<Path>>(
&self,
url: Option<&str>,
path: P
) -> Result<()>
Saves intermediate certificate to a file
You can additionally provide intermediate certificate url, by default it will use
LETSENCRYPT_INTERMEDIATE_CERT_URL
.
pub fn save_signed_certificate_and_chain<P: AsRef<Path>>(
&self,
url: Option<&str>,
path: P
) -> Result<()>
[src]
pub fn save_signed_certificate_and_chain<P: AsRef<Path>>(
&self,
url: Option<&str>,
path: P
) -> Result<()>
Saves intermediate certificate and signed certificate to a file
You can additionally provide intermediate certificate url, by default it will use
LETSENCRYPT_INTERMEDIATE_CERT_URL
.
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 private key used to sign certificate to a file
pub fn save_csr<P: AsRef<Path>>(&self, path: P) -> Result<()>
[src]
pub fn save_csr<P: AsRef<Path>>(&self, path: P) -> Result<()>
Saves CSR used to sign certificateto to a file
pub fn write_signed_certificate<W: Write>(&self, writer: &mut W) -> Result<()>
[src]
pub fn write_signed_certificate<W: Write>(&self, writer: &mut W) -> Result<()>
Writes signed certificate to writer.
pub fn write_intermediate_certificate<W: Write>(
&self,
url: Option<&str>,
writer: &mut W
) -> Result<()>
[src]
pub fn write_intermediate_certificate<W: Write>(
&self,
url: Option<&str>,
writer: &mut W
) -> Result<()>
Writes intermediate certificate to writer.
You can additionally provide intermediate certificate url, by default it will use
LETSENCRYPT_INTERMEDIATE_CERT_URL
.
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 private key used to sign certificate to a writer
pub fn write_csr<W: Write>(&self, writer: &mut W) -> Result<()>
[src]
pub fn write_csr<W: Write>(&self, writer: &mut W) -> Result<()>
Writes CSR used to sign certificateto a writer
pub fn cert(&self) -> &X509
[src]
pub fn cert(&self) -> &X509
Returns reference to certificate
pub fn csr(&self) -> &X509Req
[src]
pub fn csr(&self) -> &X509Req
Returns reference to CSR used to sign certificate
pub fn pkey(&self) -> &PKey<Private>
[src]
pub fn pkey(&self) -> &PKey<Private>
Returns reference to pkey used to sign certificate
Auto Trait Implementations
impl Send for SignedCertificate
impl Send for SignedCertificate
impl Sync for SignedCertificate
impl Sync for SignedCertificate
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 T
impl<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 T
Mutably 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,