Interface SecretKeyRestoreSelectionCallback
public interface SecretKeyRestoreSelectionCallback
Callback to let the user decide which key from a backup they want to restore.
-
Method Summary
Modifier and TypeMethodDescriptionorg.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
ofOpenPgpV4Fingerprint
s 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.
-