pub enum Recipient {
SshRsa(Vec<u8>, RsaPublicKey),
SshEd25519(Vec<u8>, EdwardsPoint),
}
Available 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.
SshEd25519(Vec<u8>, EdwardsPoint)
An ssh-ed25519 public key.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Recipient
impl Send for Recipient
impl Sync for Recipient
impl Unpin for Recipient
impl UnwindSafe for Recipient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more