decryptPrivateKey static method
PrivateKeyInterface
decryptPrivateKey(])
Read & unlock OpenPGP private key with the given passphrase.
Implementation
static PrivateKeyInterface decryptPrivateKey(
final String armored,
final String passphrase, [
final Iterable<String> subkeyPassphrases = const [],
]) {
return PrivateKey.fromArmored(armored).decrypt(
passphrase,
subkeyPassphrases,
);
}