| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private S2K. | |
| private SecureRandom | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | BcAEADSecretKeyEncryptorBuilder(int aeadAlgorithm, int symmetricAlgorithm, S2K.
|
| Modifier and Type | Method and Description |
|---|---|
| public PBESecretKeyEncryptor | build(char[]
passphrase passphrase, final PublicKeyPacket public primary or subkey packet pubKey)Implements org. Build a new |
| public BcAEADSecretKeyEncryptorBuilder |
| aeadAlgorithm | back to summary |
|---|---|
| private int aeadAlgorithm | |
| argon2Params | back to summary |
|---|---|
| private S2K. | |
| random | back to summary |
|---|---|
| private SecureRandom random | |
| symmetricAlgorithm | back to summary |
|---|---|
| private int symmetricAlgorithm | |
| BcAEADSecretKeyEncryptorBuilder | back to summary |
|---|---|
| public BcAEADSecretKeyEncryptorBuilder(int aeadAlgorithm, int symmetricAlgorithm, S2K. | |
| build | back to summary |
|---|---|
| public PBESecretKeyEncryptor build(char[] passphrase, final PublicKeyPacket pubKey) Implements org. Doc from org. 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
| |
| setSecureRandom | back to summary |
|---|---|
| public BcAEADSecretKeyEncryptorBuilder setSecureRandom(SecureRandom random) | |