Interface SecretKeyRingProtectorAdapter

    • Method Detail

      • getDecryptor

        default org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor getDecryptor​(org.bouncycastle.openpgp.PGPSecretKey key)
                                                                              throws org.bouncycastle.openpgp.PGPException
        Specified by:
        getDecryptor in interface SecretKeyRingProtector2
        Throws:
        org.bouncycastle.openpgp.PGPException
      • getEncryptor

        default org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor getEncryptor​(org.bouncycastle.openpgp.PGPSecretKey key)
                                                                              throws org.bouncycastle.openpgp.PGPException
        Specified by:
        getEncryptor in interface SecretKeyRingProtector2
        Throws:
        org.bouncycastle.openpgp.PGPException