Package net.i2p.router.crypto.ratchet
Class MuxedEngine
java.lang.Object
net.i2p.router.crypto.ratchet.MuxedEngine
Handles the actual decryption using the
supplied keys and data.
- Since:
- 0.9.44
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecrypt
(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager) Decrypt the message with the given private keys
-
Constructor Details
-
MuxedEngine
-
-
Method Details
-
decrypt
public CloveSet decrypt(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager) throws DataFormatException Decrypt the message with the given private keys- Parameters:
elgKey
- must be ElG, non-nullecKey
- must be EC, non-null- Returns:
- decrypted data or null on failure
- Throws:
DataFormatException
-