[][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.

Both OpenPGP (RFC4880) and OpenSSL PEM armor types are included.

Variants

PublicKey

PGP public key

PublicKeyPKCS1(PKCS1Type)

PEM encoded PKCS#1 public key

PublicKeyPKCS8

PEM encoded PKCS#8 public key

PublicKeyOpenssh

Public key OpenSSH

PrivateKey

PGP private key

PrivateKeyPKCS1(PKCS1Type)

PEM encoded PKCS#1 private key

PrivateKeyPKCS8

PEM encoded PKCS#8 private key

PrivateKeyOpenssh

OpenSSH private key

Message
MultiPartMessage(usizeusize)
Signature
File

Trait Implementations

impl Clone for BlockType[src]

impl Copy for BlockType[src]

impl Debug for BlockType[src]

impl Display for BlockType[src]

impl Eq for BlockType[src]

impl PartialEq<BlockType> for BlockType[src]

impl Serialize for BlockType[src]

impl StructuralEq for BlockType[src]

impl StructuralPartialEq for BlockType[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,