Interface SecretKeyRestoreSelectionCallback


Callback to let the user decide which key from a backup they want to restore.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.pgpainless.key.OpenPgpV4Fingerprint
    selectSecretKeyToRestore(Set<org.pgpainless.key.OpenPgpV4Fingerprint> availableSecretKeys)
    Let the user choose, which SecretKey they want to restore as the new primary OpenPGP signing key.
  • Method Details

    • selectSecretKeyToRestore

      org.pgpainless.key.OpenPgpV4Fingerprint selectSecretKeyToRestore(Set<org.pgpainless.key.OpenPgpV4Fingerprint> availableSecretKeys)
      Let the user choose, which SecretKey they want to restore as the new primary OpenPGP signing key.
      Parameters:
      availableSecretKeys - Set of OpenPgpV4Fingerprints of the keys which are contained in the backup.
      Returns:
      OpenPgpV4Fingerprint of the key the user wants to restore as the new primary signing key.