Interface SecretKeyPassphraseCallback

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.pgpainless.util.Passphrase onPassphraseNeeded​(org.pgpainless.key.OpenPgpV4Fingerprint fingerprint)
      This method gets called in case a passphrase is needed for a secret key.
    • Method Detail

      • 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