Interface OpenPgpStore

    • Method Detail

      • 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.