Struct samotop_smime::SMime[][src]

pub struct SMime<'a> { /* fields omitted */ }

Implementations

impl<'a> SMime<'a>[src]

pub fn encrypt_and_sign<W: Write + Sync + Send + 'a>(
    target: W,
    my_key: &str,
    my_cert: &str,
    her_cert: &str,
    their_certs: Vec<&str>
) -> Result<Self>
[src]

pub fn sign_and_encrypt<W: Write + Sync + Send + 'a>(
    target: W,
    my_key: &str,
    my_cert: &str,
    her_cert: &str,
    their_certs: Vec<&str>
) -> Result<Self>
[src]

pub fn decrypt_and_verify<W: Write + Sync + Send + 'a>(
    target: W,
    her_key: &str
) -> Result<Self>
[src]

pub fn verify_and_decrypt<W: Write + Sync + Send + 'a>(
    target: W,
    her_key: &str
) -> Result<Self>
[src]

Trait Implementations

impl<'a> AsyncWrite for SMime<'a>[src]

impl<'pin, 'a> Unpin for SMime<'a> where
    __SMime<'pin, 'a>: Unpin
[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for SMime<'a>[src]

impl<'a> Send for SMime<'a>[src]

impl<'a> Sync for SMime<'a>[src]

impl<'a> !UnwindSafe for SMime<'a>[src]

Blanket Implementations

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

impl<W> AsyncWriteExt for W where
    W: AsyncWrite + ?Sized

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> MailDataSink for T where
    T: AsyncWrite + Send + Sync + 'static, 
[src]

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.

impl<T> WriteExt for T where
    T: AsyncWrite + ?Sized
[src]