final class MuxedEngine extends Object
Constructor and Description |
---|
MuxedEngine(RouterContext ctx) |
Modifier and Type | Method and Description |
---|---|
CloveSet |
decrypt(byte[] data,
PrivateKey elgKey,
PrivateKey ecKey,
MuxedSKM keyManager)
Decrypt the message with the given private keys
|
public MuxedEngine(RouterContext ctx)
public CloveSet decrypt(byte[] data, PrivateKey elgKey, PrivateKey ecKey, MuxedSKM keyManager) throws DataFormatException
elgKey
- must be ElG, non-nullecKey
- must be EC, non-nullDataFormatException