Trait gmime::SignatureExt [−][src]
pub trait SignatureExt { fn get_certificate(&self) -> Option<Certificate>; fn get_created(&self) -> c_long; fn get_expires(&self) -> c_long; fn get_status(&self) -> SignatureStatus; fn set_certificate(&self, cert: &Certificate); fn set_created(&self, created: c_long); fn set_expires(&self, expires: c_long); fn set_status(&self, status: SignatureStatus); }
Required Methods
fn get_certificate(&self) -> Option<Certificate>
fn get_created(&self) -> c_long
Get the creation date of the signature.
Returns
the creation date of the signature or %-1 if unknown.
fn get_expires(&self) -> c_long
Get the expiration date of the signature.
Returns
the expiration date of the signature or %-1 if unknown.
fn get_status(&self) -> SignatureStatus
fn set_certificate(&self, cert: &Certificate)
fn set_created(&self, created: c_long)
fn set_expires(&self, expires: c_long)
fn set_status(&self, status: SignatureStatus)
Implementors
impl<O: IsA<Signature>> SignatureExt for O