Struct gmime::MultipartSigned [−]
Methods
impl MultipartSigned
[src]
[−]
impl MultipartSigned
pub fn new() -> MultipartSigned
[src]
[−]
pub fn new() -> MultipartSigned
pub fn sign<P: IsA<CryptoContext>, Q: IsA<Object>>(
ctx: &P,
entity: &Q,
userid: &str
) -> Result<Option<MultipartSigned>, Error>
[src]
[−]
pub fn sign<P: IsA<CryptoContext>, Q: IsA<Object>>(
ctx: &P,
entity: &Q,
userid: &str
) -> Result<Option<MultipartSigned>, Error>
Attempts to sign the content
MIME part with userid
's private key
using the ctx
signing context. If successful, a new multipart/signed
object is returned.
ctx
a CryptoContext
entity
MIME part to sign
userid
user id to sign with
Returns
a new MultipartSigned
object on success
or None
on fail. If signing fails, an exception will be set on err
to provide
information as to why the failure occurred.
Trait Implementations
impl Clone for MultipartSigned
[+]
impl Clone for MultipartSigned
impl Debug for MultipartSigned
[+]
impl Debug for MultipartSigned
impl Hash for MultipartSigned
[+]
impl Hash for MultipartSigned
impl StaticType for MultipartSigned
[+]
impl StaticType for MultipartSigned
impl<T: IsA<Object>> PartialEq<T> for MultipartSigned
[+]
impl<T: IsA<Object>> PartialEq<T> for MultipartSigned
impl Eq for MultipartSigned
impl Eq for MultipartSigned
impl IsA<Multipart> for MultipartSigned
impl IsA<Multipart> for MultipartSigned
impl IsA<Object> for MultipartSigned
impl IsA<Object> for MultipartSigned
impl IsA<Object> for MultipartSigned
impl IsA<Object> for MultipartSigned
impl Default for MultipartSigned
[src]
[+]
impl Default for MultipartSigned
Auto Trait Implementations
impl !Send for MultipartSigned
impl !Send for MultipartSigned
impl !Sync for MultipartSigned
impl !Sync for MultipartSigned