[][src]Enum pgp::armor::BlockType

pub enum BlockType {
    PublicKey,
    PublicKeyPKCS1(PKCS1Type),
    PublicKeyPKCS8,
    PublicKeyOpenssh,
    PrivateKey,
    PrivateKeyPKCS1(PKCS1Type),
    PrivateKeyPKCS8,
    PrivateKeyOpenssh,
    Message,
    MultiPartMessage(usizeusize),
    Signature,
    File,
}

Armor block types.

Variants

PublicKey

PGP Public key

PublicKeyPKCS1(PKCS1Type)

Public key DER encoded PKCS#1

PublicKeyPKCS8

Public key DER encoded PKCS#8

PublicKeyOpenssh

Public key OpenSSH

PrivateKey

PGP Private key

PrivateKeyPKCS1(PKCS1Type)

Private key DER encoded PKCS#1

PrivateKeyPKCS8

Private key DER encoded PKCS#8

PrivateKeyOpenssh

Private key OpenSSh

Message
MultiPartMessage(usizeusize)
Signature
File

Trait Implementations

impl Serialize for BlockType[src]

impl Clone for BlockType[src]

impl Copy for BlockType[src]

impl Eq for BlockType[src]

impl PartialEq<BlockType> for BlockType[src]

impl Display for BlockType[src]

impl Debug for BlockType[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err