JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods
org.pgpainless.key.protection.SecretKeyRingProtector
Return the SecretKeyRingProtector which is used to decrypt password protected secret keys.
void
Set a SecretKeyRingProtector which is used to decrypt password protected secret keys.
void
Methods inherited from interface org.jivesoftware.smackx.ox.store.definition.OpenPgpKeyStore
deletePublicKeyRing , deleteSecretKeyRing , generateKeyRing , getPublicKeyFetchDates , getPublicKeyRing , getPublicKeysOf , getSecretKeyRing , getSecretKeysOf , importPublicKey , importSecretKey , setPublicKeyFetchDates
Method Details
setKeyRingProtector
void setKeyRingProtector (org.pgpainless.key.protection.SecretKeyRingProtector unlocker)
Set a SecretKeyRingProtector which is used to decrypt password protected secret keys.
Parameters:
unlocker - unlocker which unlocks encrypted secret keys.
getKeyRingProtector
org.pgpainless.key.protection.SecretKeyRingProtector getKeyRingProtector ()
Return the SecretKeyRingProtector which is used to decrypt password protected secret keys.
In case no SecretKeyRingProtector has been set, this method MUST return an UnprotectedKeysProtector.
Returns:
secret key unlocker.
setSecretKeyPassphraseCallback
Parameters:
callback - callback. MUST NOT be null.