Interface SecretKeyBackupSelectionCallback


Callback to allow the user to decide, which locally available secret keys they want to include in a backup.
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.pgpainless.key.OpenPgpV4Fingerprint>
    selectKeysToBackup(Set<org.pgpainless.key.OpenPgpV4Fingerprint> availableSecretKeys)
    Let the user decide, which secret keys they want to backup.
  • Method Details

    • selectKeysToBackup

      Set<org.pgpainless.key.OpenPgpV4Fingerprint> selectKeysToBackup(Set<org.pgpainless.key.OpenPgpV4Fingerprint> availableSecretKeys)
      Let the user decide, which secret keys they want to backup.
      Parameters:
      availableSecretKeys - Set of OpenPgpV4Fingerprints of locally available OpenPGP secret keys.
      Returns:
      Set which contains the OpenPgpV4Fingerprints the user decided to include in the backup.