PBESecretKeyEncryptor instances which protect the secret key material by deriving
a key-encryption-key using org.bouncycastle.bcpg.S2K#SALTED_AND_ITERATED S2K and apply
that key using org.bouncycastle.bcpg.SecretKeyPacket#USAGE_SHA1 (CFB mode).
This particular factory derives a key-encryption-key via salted+iterated S2K derivation using SHA256 and uses AES256 for secret key protection.
| 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 |
| BcCFBSecretKeyEncryptorFactory | back to summary |
|---|---|
| public BcCFBSecretKeyEncryptorFactory() | |
| build | back to summary |
|---|---|
| public PBESecretKeyEncryptor build(char[] passphrase, PublicKeyPacket pubKeyPacket) Implements org. Doc from org. Build a new
| |