pub fn can_decrypt(config: &Config, ciphertext: Ciphertext) -> Result<bool>
Expand description
Check whether we can decrypt ciphertext.
This checks whether whether we own the secret key to decrypt the given ciphertext.
config
: GPG configciphertext
: ciphertext to check