Trait gmime::ApplicationPkcs7MimeExt [−][src]
pub trait ApplicationPkcs7MimeExt { fn get_smime_type(&self) -> SecureMimeType; fn verify(
&self,
flags: VerifyFlags
) -> Result<(Option<SignatureList>, Object), Error>; }
Required Methods
fn get_smime_type(&self) -> SecureMimeType
fn verify(
&self,
flags: VerifyFlags
) -> Result<(Option<SignatureList>, Object), Error>
&self,
flags: VerifyFlags
) -> Result<(Option<SignatureList>, Object), Error>
Attempts to verify the signed self
part and extract the original
MIME entity.
flags
a VerifyFlags
entity
the extracted entity
Returns
a new SignatureList
object on
success or None
on fail. If the verification fails, an exception
will be set on err
to provide information as to why the failure
occurred.
Implementors
impl<O: IsA<ApplicationPkcs7Mime>> ApplicationPkcs7MimeExt for O