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.OpenPgpV4FingerprintselectSecretKeyToRestore(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-SetofOpenPgpV4Fingerprints of the keys which are contained in the backup.- Returns:
 OpenPgpV4Fingerprintof the key the user wants to restore as the new primary signing key.
 
 -