java.lang.Object
net.i2p.router.crypto.pqc.MLKEM.MLKEMFactory
- All Implemented Interfaces:
KeyFactory
- Enclosing class:
MLKEM
Makes the key factories for one ML-KEM variant.
Field Summary
Constructor Summary
ConstructorsMethod Summary
Field Details
t
The ML-KEM variant this factory handles.
Constructor Details
MLKEMFactory
Names the variant the factory handles.- Parameters:
type- the ML-KEM variant
Method Details
getKeys
Description copied from interface:KeyFactoryThe keys for this destination.- Specified by:
getKeysin interfaceKeyFactory- Returns:
- the key pair for the destination being built, a matching public and private key, recycled from the factory's prebuilt queue when one is available