[][src]Struct certgen::CA

pub struct CA(_, _);

Methods

impl CA[src]

pub fn from_pem(ca_cert: &str, ca_key: &str) -> Result<Self, Error>[src]

pub fn from_der(ca_cert: &[u8], ca_key: &[u8]) -> Result<Self, Error>[src]

pub fn from_params(params: CertificateParams) -> Result<Self, Error>[src]

pub fn make_pfx(
    &self,
    cert: &Cert,
    password: &str,
    friendly_name: &str
) -> Result<Vec<u8>, Error>
[src]

pub fn serialize_der(&self) -> Result<Vec<u8>, Error>[src]

pub fn serialize_pem(&self) -> Result<String, Error>[src]

pub fn serialize_private_key_pem(&self) -> String[src]

pub fn serialize_private_key_der(&self) -> Vec<u8>[src]

Auto Trait Implementations

impl RefUnwindSafe for CA

impl Send for CA

impl Sync for CA

impl Unpin for CA

impl UnwindSafe for CA

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.