[−][src]Enum pgp::composed::key::KeyType
Variants
Rsa(u32)
Encryption & Signing with RSA an the given bitsize.
Encrypting with Curve25519
Signing with Curve25519
Methods
impl KeyType
[src]
pub fn to_alg(self) -> PublicKeyAlgorithm
[src]
pub fn generate(
self,
passphrase: Option<String>
) -> Result<(PublicParams, SecretParams)>
[src]
self,
passphrase: Option<String>
) -> Result<(PublicParams, SecretParams)>
Trait Implementations
impl Clone for KeyType
[src]
impl Copy for KeyType
[src]
impl Debug for KeyType
[src]
impl Eq for KeyType
[src]
impl PartialEq<KeyType> for KeyType
[src]
impl StructuralEq for KeyType
[src]
impl StructuralPartialEq for KeyType
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyType
impl Send for KeyType
impl Sync for KeyType
impl Unpin for KeyType
impl UnwindSafe for KeyType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,