Package org.pgpainless.key.protection
Interface SecretKeyRingProtectorAdapter
-
- All Superinterfaces:
SecretKeyRingProtector
,SecretKeyRingProtector2
public interface SecretKeyRingProtectorAdapter extends SecretKeyRingProtector, SecretKeyRingProtector2
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor
getDecryptor(org.bouncycastle.openpgp.PGPSecretKey key)
default org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor
getEncryptor(org.bouncycastle.openpgp.PGPSecretKey key)
-
Methods inherited from interface org.pgpainless.key.protection.SecretKeyRingProtector
getDecryptor, getEncryptor
-
-
-
-
Method Detail
-
getDecryptor
default org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor getDecryptor(org.bouncycastle.openpgp.PGPSecretKey key) throws org.bouncycastle.openpgp.PGPException
- Specified by:
getDecryptor
in interfaceSecretKeyRingProtector2
- 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 interfaceSecretKeyRingProtector2
- Throws:
org.bouncycastle.openpgp.PGPException
-
-