net.i2p.router.crypto.ratchet

## Class MuxedPQEngine

- java.lang.Object
- - net.i2p.router.crypto.ratchet.MuxedPQEngine

-     final class MuxedPQEngine
      extends Object

  Post-quantum hybrid decryption engine supporting both ECIES and ML-KEM with adaptive ordering

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MuxedPQEngine(RouterContext ctx)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `CloveSet` | `decrypt(byte[] data, PrivateKey ecKey, PrivateKey pqKey, MuxedPQSKM keyManager)` Decrypt the message with the given private keys

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MuxedPQEngine

          public MuxedPQEngine(RouterContext ctx)

  - ### Method Detail

    - #### 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-null
        `pqKey` - must be PQ, non-null
      Returns:
        decrypted data or null on failure
      Throws:
        `DataFormatException`