|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.openpgp.operator.bc.BcUtil
Constructor Summary | |
BcUtil()
|
Method Summary | |
static PGPDataDecryptor |
createDataDecryptor(boolean withIntegrityPacket,
org.bouncycastle.crypto.BlockCipher engine,
byte[] key)
Create a new OpenPGP v4 data decryptor. |
static org.bouncycastle.crypto.BufferedBlockCipher |
createSymmetricKeyWrapper(boolean forEncryption,
org.bouncycastle.crypto.BlockCipher engine,
byte[] key,
byte[] iv)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BcUtil()
Method Detail |
public static PGPDataDecryptor createDataDecryptor(boolean withIntegrityPacket, org.bouncycastle.crypto.BlockCipher engine, byte[] key)
BcAEADUtil#createOpenPgpV5DataDecryptor(AEADEncDataPacket, PGPSessionKey)
and
BcAEADUtil#createOpenPgpV6DataDecryptor(SymmetricEncIntegrityPacket, PGPSessionKey)
.withIntegrityPacket
- if true, the data is contained in a SEIPD v1 packet, if false it is contained in a
SED packet.engine
- decryption enginekey
- decryption keypublic static org.bouncycastle.crypto.BufferedBlockCipher createSymmetricKeyWrapper(boolean forEncryption, org.bouncycastle.crypto.BlockCipher engine, byte[] key, byte[] iv)
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |