public interface PBESecretKeyEncryptorFactory
| Modifier and Type | Method and Description |
|---|---|
PBESecretKeyEncryptor |
build(char[] passphrase,
PublicKeyPacket pubKeyPacket)
Build a new
PBESecretKeyEncryptor instance from the given passphrase and public key packet. |
PBESecretKeyEncryptor build(char[] passphrase, PublicKeyPacket pubKeyPacket)
PBESecretKeyEncryptor instance from the given passphrase and public key packet.passphrase - passphrasepubKeyPacket - public-key packet of the key to protect (needed for AEAD)