Enum pgp::armor::BlockType [−][src]
pub enum BlockType {
PublicKey,
PublicKeyPKCS1(PKCS1Type),
PublicKeyPKCS8,
PublicKeyOpenssh,
PrivateKey,
PrivateKeyPKCS1(PKCS1Type),
PrivateKeyPKCS8,
PrivateKeyOpenssh,
Message,
MultiPartMessage(usize, usize),
Signature,
File,
}
Expand description
Armor block types.
Both OpenPGP (RFC4880) and OpenSSL PEM armor types are included.
Variants
PGP public key
PEM encoded PKCS#1 public key
Tuple Fields of PublicKeyPKCS1
0: PKCS1Type
PEM encoded PKCS#8 public key
Public key OpenSSH
PGP private key
PEM encoded PKCS#1 private key
Tuple Fields of PrivateKeyPKCS1
0: PKCS1Type
PEM encoded PKCS#8 private key
OpenSSH private key
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockType
impl UnwindSafe for BlockType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self