|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.openpgp.operator.jcajce.JcaAEADSecretKeyEncryptorBuilder
| Constructor Summary | |
JcaAEADSecretKeyEncryptorBuilder(int aeadAlgorithm,
int symmetricAlgorithm,
S2K.Argon2Params argon2Params)
|
|
| Method Summary | |
PBESecretKeyEncryptor |
build(char[] passphrase,
PublicKeyPacket pubKey)
Build a new PBESecretKeyEncryptor using the given passphrase.
|
JcaAEADSecretKeyEncryptorBuilder |
setProvider(java.security.Provider provider)
|
JcaAEADSecretKeyEncryptorBuilder |
setProvider(java.lang.String providerName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JcaAEADSecretKeyEncryptorBuilder(int aeadAlgorithm,
int symmetricAlgorithm,
S2K.Argon2Params argon2Params)
| Method Detail |
public JcaAEADSecretKeyEncryptorBuilder setProvider(java.security.Provider provider)
public JcaAEADSecretKeyEncryptorBuilder setProvider(java.lang.String providerName)
public PBESecretKeyEncryptor build(char[] passphrase,
PublicKeyPacket pubKey)
AEADSecretKeyEncryptorBuilderPBESecretKeyEncryptor using the given passphrase.
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 PGPKeyPair.asSubkey(KeyFingerPrintCalculator).
build in interface AEADSecretKeyEncryptorBuilderpassphrase - passphrasepubKey - public primary or subkey packet
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||