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