PBESecretKeyEncryptors.
| Modifier and Type | Method and Description |
|---|---|
| public PBESecretKeyEncryptor | Returns: encryptor using AEADpassphrase passphrase, final PublicKeyPacket public primary or subkey packet pubKey)Build a new |
| build | back to summary |
|---|---|
| public PBESecretKeyEncryptor build(char[] passphrase, final PublicKeyPacket pubKey) Build a new Note As the AEAD protection mechanism includes the public key packet of the key into the calculation,
if the key you want to protect is supposed to be a subkey, you need to convert it to one before
calling this method. See
| |