pub trait PgpNativeExt {
// Required methods
fn secret_key(&self) -> SignedSecretKey;
fn public_key(&self) -> SignedPublicKey;
fn secret_key_armor(&self) -> SignedSecretKey;
fn public_key_armor(&self) -> SignedPublicKey;
}Expand description
Conversion surface for OpenPGP native key types.
Required Methods§
Sourcefn secret_key(&self) -> SignedSecretKey
fn secret_key(&self) -> SignedSecretKey
Parse and return a native SignedSecretKey.
Sourcefn public_key(&self) -> SignedPublicKey
fn public_key(&self) -> SignedPublicKey
Parse and return a native SignedPublicKey.
Sourcefn secret_key_armor(&self) -> SignedSecretKey
fn secret_key_armor(&self) -> SignedSecretKey
Parse and return an armored native secret key.
Sourcefn public_key_armor(&self) -> SignedPublicKey
fn public_key_armor(&self) -> SignedPublicKey
Parse and return an armored native public key.