Struct sequoia_sop::SQOP [−][src]
pub struct SQOP<'a> { /* fields omitted */ }
Expand description
SOP
implementation based on Sequoia PGP.
Implementations
impl<'a> SQOP<'a>
[src]
impl<'a> SQOP<'a>
[src]pub fn with_policy(policy: &'a dyn Policy) -> Self
[src]
pub fn with_policy(policy: &'a dyn Policy) -> Self
[src]Creates a sop::SOP
implementation with an explicit
sequoia_openpgp::policy::Policy
.
To use the default
sequoia_openpgp::policy::StandardPolicy
, use
SQOP::default
.
Trait Implementations
impl<'a> SOP for SQOP<'a>
[src]
impl<'a> SOP for SQOP<'a>
[src]fn generate_key<'b>(&'b self) -> Result<Box<dyn GenerateKey<'_> + 'b>>
[src]
fn generate_key<'b>(&'b self) -> Result<Box<dyn GenerateKey<'_> + 'b>>
[src]Generates a Secret Key. Read more
fn extract_cert<'b>(&'b self) -> Result<Box<dyn ExtractCert<'_> + 'b>>
[src]
fn extract_cert<'b>(&'b self) -> Result<Box<dyn ExtractCert<'_> + 'b>>
[src]Extracts a Certificate from a Secret Key. Read more
fn verify<'b>(&'b self) -> Result<Box<dyn Verify<'_> + 'b>>
[src]
fn verify<'b>(&'b self) -> Result<Box<dyn Verify<'_> + 'b>>
[src]Verifies Detached Signatures. Read more
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SQOP<'a>
impl<'a> Send for SQOP<'a>
impl<'a> Sync for SQOP<'a>
impl<'a> Unpin for SQOP<'a>
impl<'a> !UnwindSafe for SQOP<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self