| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static PGPDataDecryptor | Returns: decryptorif true, the data is contained in a SEIPD v1 packet, if false it is contained in a
SED packet. withIntegrityPacket, BlockCipher decryption engine engine, byte[] decryption key key)Create a new OpenPGP v4 data decryptor. |
| pack-priv static BufferedBlockCipher | createStreamCipher(boolean forEncryption, BlockCipher engine, boolean withIntegrityPacket, byte[] key)
|
| public static BufferedBlockCipher | |
| pack-priv static ECPoint | |
| pack-priv static byte[] | |
| pack-priv static X9ECParameters | |
| pack-priv static boolean | |
| pack-priv static byte[] | processBufferedBlockCipher(boolean forEncryption, BlockCipher engine, byte[] key, byte[] iv, byte[] msg, int msgOff, int msgLen)
|
| BcUtil | back to summary |
|---|---|
| public BcUtil() | |
| createDataDecryptor | back to summary |
|---|---|
| public static PGPDataDecryptor createDataDecryptor(boolean withIntegrityPacket, BlockCipher engine, byte[] key) Create a new OpenPGP v4 data decryptor.
This decryptor can handle Symmetrically Encrypted Data (SED) and v1 Symmetrically Encrypted Integrity-Protected
Data (SEIPD) packets.
For AEAD packets, see
| |
| createStreamCipher | back to summary |
|---|---|
| pack-priv static BufferedBlockCipher createStreamCipher(boolean forEncryption, BlockCipher engine, boolean withIntegrityPacket, byte[] key) | |
| createSymmetricKeyWrapper | back to summary |
|---|---|
| public static BufferedBlockCipher createSymmetricKeyWrapper(boolean forEncryption, BlockCipher engine, byte[] key, byte[] iv) | |
| decodePoint | back to summary |
|---|---|
| pack-priv static ECPoint decodePoint(BigInteger encodedPoint, ECCurve curve) | |
| getSecret | back to summary |
|---|---|
| pack-priv static byte[] getSecret(RawAgreement agreement, AsymmetricKeyParameter privKey, AsymmetricKeyParameter ephPub) | |
| getX9Parameters | back to summary |
|---|---|
| pack-priv static X9ECParameters getX9Parameters(ASN1ObjectIdentifier curveOID) | |
| isX25519 | back to summary |
|---|---|
| pack-priv static boolean isX25519(ASN1ObjectIdentifier curveID) | |
| processBufferedBlockCipher | back to summary |
|---|---|
| pack-priv static byte[] processBufferedBlockCipher(boolean forEncryption, BlockCipher engine, byte[] key, byte[] iv, byte[] msg, int msgOff, int msgLen) throws InvalidCipherTextException | |