Interface SecretKeyRestoreSelectionCallback
-
public interface SecretKeyRestoreSelectionCallback
Callback to let the user decide which key from a backup they want to restore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.pgpainless.key.OpenPgpV4Fingerprint
selectSecretKeyToRestore(java.util.Set<org.pgpainless.key.OpenPgpV4Fingerprint> availableSecretKeys)
Let the user choose, which SecretKey they want to restore as the new primary OpenPGP signing key.
-
-
-
Method Detail
-
selectSecretKeyToRestore
org.pgpainless.key.OpenPgpV4Fingerprint selectSecretKeyToRestore(java.util.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.
-
-