Enum age::Decryptor [−][src]
pub enum Decryptor<R> {
Recipients(RecipientsDecryptor<R>),
Passphrase(PassphraseDecryptor<R>),
}
Expand description
Decryptor for an age file.
Variants
Recipients(RecipientsDecryptor<R>)
Tuple Fields
0: RecipientsDecryptor<R>
Decryption with a list of identities.
Passphrase(PassphraseDecryptor<R>)
Tuple Fields
0: PassphraseDecryptor<R>
Decryption with a passphrase.
Implementations
Attempts to create a decryptor for an age file.
Returns an error if the input does not contain a valid age file.
This is supported on crate feature async
only.
This is supported on crate feature
async
only.Attempts to create a decryptor for an age file.
Returns an error if the input does not contain a valid age file.
Trait Implementations
Performs the conversion.
Performs the conversion.