Interface SecretKeys.PassphraseSupplier
-
- Enclosing class:
- SecretKeys
public static interface SecretKeys.PassphraseSupplierSomething that can supply a passphrase to decrypt an encrypted secret key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description char[]getPassphrase()Supplies a passphrase.
-
-
-
Method Detail
-
getPassphrase
char[] getPassphrase() throws org.bouncycastle.openpgp.PGPException, CanceledException, UnsupportedCredentialItem, URISyntaxExceptionSupplies a passphrase.- Returns:
- the passphrase
- Throws:
org.bouncycastle.openpgp.PGPException- if no passphrase can be obtainedCanceledException- if the user canceled passphrase entryUnsupportedCredentialItem- if an internal error occurredURISyntaxException- if an internal error occurred
-
-