final class MuxedPQEngine extends Object
| Constructor and Description |
|---|
MuxedPQEngine(RouterContext ctx)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
CloveSet | decrypt(byte[] data,
PrivateKey ecKey,
PrivateKey pqKey,
MuxedPQSKM keyManager)Decrypt the message with the given private keys |
public MuxedPQEngine(RouterContext ctx)
public CloveSet decrypt(byte[] data, PrivateKey ecKey, PrivateKey pqKey, MuxedPQSKM keyManager) throws DataFormatException
ecKey - must be EC, non-nullpqKey - must be PQ, non-nulldata - the data to decryptkeyManager - the key managerDataFormatException - if the data is malformed