PBESecretKeyEncryptor instances which protect the secret key material by deriving
a key-encryption-key using org.bouncycastle.bcpg.S2K#ARGON_2 S2K and apply
that key using org.bouncycastle.bcpg.SecretKeyPacket#USAGE_AEAD .
This particular factory uses OCB + AES256 for secret key protection and requires 64MiB of RAM
for the Argon2 key derivation (see S2K.).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PBESecretKeyEncryptor | build(char[]
passphrase passphrase, PublicKeyPacket public-key packet of the key to protect (needed for AEAD) pubKeyPacket)Implements org. Build a new |
| BcAEADSecretKeyEncryptorFactory | back to summary |
|---|---|
| public BcAEADSecretKeyEncryptorFactory() | |
| build | back to summary |
|---|---|
| public PBESecretKeyEncryptor build(char[] passphrase, PublicKeyPacket pubKeyPacket) Implements org. Doc from org. Build a new
| |