Trait sop::SOP[][src]

pub trait SOP {
    fn version<'a>(&'a self) -> Result<Box<dyn Version<'_> + 'a>>;
fn generate_key<'a>(&'a self) -> Result<Box<dyn GenerateKey<'_> + 'a>>;
fn extract_cert<'a>(&'a self) -> Result<Box<dyn ExtractCert<'_> + 'a>>;
fn sign<'a>(&'a self) -> Result<Box<dyn Sign<'_> + 'a>>;
fn verify<'a>(&'a self) -> Result<Box<dyn Verify<'_> + 'a>>;
fn encrypt<'a>(&'a self) -> Result<Box<dyn Encrypt<'_> + 'a>>;
fn decrypt<'a>(&'a self) -> Result<Box<dyn Decrypt<'_> + 'a>>;
fn armor<'a>(&'a self) -> Result<Box<dyn Armor<'_> + 'a>>;
fn dearmor<'a>(&'a self) -> Result<Box<dyn Dearmor<'_> + 'a>>; }
Expand description

The Stateless OpenPGP Protocol.

Required methods

Gets version information.

Generates a Secret Key.

Customize the operation using the builder GenerateKey.

Extracts a Certificate from a Secret Key.

Customize the operation using the builder ExtractCert.

Creates Detached Signatures.

Customize the operation using the builder Sign.

Verifies Detached Signatures.

Customize the operation using the builder Verify.

Encrypts a Message.

Customize the operation using the builder Encrypt.

Decrypts a Message.

Customize the operation using the builder Decrypt.

Converts binary OpenPGP data to ASCII.

Customize the operation using the builder Armor.

Converts ASCII OpenPGP data to binary.

Customize the operation using the builder Dearmor.

Implementors