Struct sequoia_sop::SQOP
source · [−]pub struct SQOP<'a> { /* private fields */ }
Expand description
SOP
implementation based on Sequoia PGP.
Implementations
sourceimpl<'a> SQOP<'a>
impl<'a> SQOP<'a>
sourcepub fn with_policy(policy: &'a dyn Policy) -> Self
pub fn with_policy(policy: &'a dyn Policy) -> Self
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
sourceimpl<'a> SOP for SQOP<'a>
impl<'a> SOP for SQOP<'a>
sourcefn generate_key<'b>(&'b self) -> Result<Box<dyn GenerateKey<'_> + 'b>>
fn generate_key<'b>(&'b self) -> Result<Box<dyn GenerateKey<'_> + 'b>>
Generates a Secret Key. Read more
sourcefn extract_cert<'b>(&'b self) -> Result<Box<dyn ExtractCert<'_> + 'b>>
fn extract_cert<'b>(&'b self) -> Result<Box<dyn ExtractCert<'_> + 'b>>
Extracts a Certificate from a Secret Key. Read more
sourcefn verify<'b>(&'b self) -> Result<Box<dyn Verify<'_> + 'b>>
fn verify<'b>(&'b self) -> Result<Box<dyn Verify<'_> + 'b>>
Verifies Detached Signatures. Read more
sourcefn armor<'b>(&'b self) -> Result<Box<dyn Armor<'_> + 'b>>
fn armor<'b>(&'b self) -> Result<Box<dyn Armor<'_> + 'b>>
Converts binary OpenPGP data to ASCII. Read more
sourcefn dearmor<'b>(&'b self) -> Result<Box<dyn Dearmor<'_> + 'b>>
fn dearmor<'b>(&'b self) -> Result<Box<dyn Dearmor<'_> + 'b>>
Converts ASCII OpenPGP data to binary. Read more
sourcefn inline_detach<'b>(&'b self) -> Result<Box<dyn InlineDetach<'_> + 'b>>
fn inline_detach<'b>(&'b self) -> Result<Box<dyn InlineDetach<'_> + 'b>>
Splits Signatures from an Inline-Signed Message. Read more
sourcefn inline_verify<'b>(&'b self) -> Result<Box<dyn InlineVerify<'_> + 'b>>
fn inline_verify<'b>(&'b self) -> Result<Box<dyn InlineVerify<'_> + 'b>>
Verifies an Inline-Signed Message. Read more
sourcefn inline_sign<'b>(&'b self) -> Result<Box<dyn InlineSign<'_> + 'b>>
fn inline_sign<'b>(&'b self) -> Result<Box<dyn InlineSign<'_> + 'b>>
Creates an Inline-Signed Message. 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more