Enum age::ssh::Recipient [−][src]
pub enum Recipient {
SshRsa(Vec<u8>, RsaPublicKey),
SshEd25519(Vec<u8>, EdwardsPoint),
}
This is supported on crate feature
ssh
only.Expand description
A key that can be used to encrypt a file to a recipient.
Variants
SshRsa(Vec<u8>, RsaPublicKey)
An ssh-rsa public key.
Tuple Fields of SshRsa
0: Vec<u8>
1: RsaPublicKey
SshEd25519(Vec<u8>, EdwardsPoint)
An ssh-ed25519 public key.
Tuple Fields of SshEd25519
0: Vec<u8>
1: EdwardsPoint
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Recipient
impl UnwindSafe for Recipient
Blanket Implementations
Mutably borrows from an owned value. Read more