Interface SecretKeyPassphraseCallback
public interface SecretKeyPassphraseCallback
-
Method Summary
Modifier and TypeMethodDescriptionorg.pgpainless.util.Passphrase
onPassphraseNeeded
(org.pgpainless.key.OpenPgpV4Fingerprint fingerprint) This method gets called in case a passphrase is needed for a secret key.
-
Method Details
-
onPassphraseNeeded
org.pgpainless.util.Passphrase onPassphraseNeeded(org.pgpainless.key.OpenPgpV4Fingerprint fingerprint) This method gets called in case a passphrase is needed for a secret key.- Parameters:
fingerprint
- fingerprint of the key- Returns:
- passphrase for the key
-