Package org.bouncycastle.pqc.crypto.xmss
Class XMSSMTKeyPairGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.xmss.XMSSMTKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
public final class XMSSMTKeyPairGenerator
extends Object
implements AsymmetricCipherKeyPairGenerator
Key pair generator for XMSS^MT keys.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a new XMSSMT private key / public key pair.void
init
(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
XMSSMTKeyPairGenerator
public XMSSMTKeyPairGenerator()Base constructor...
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGenerator
intialise the key pair generator.- Specified by:
init
in interfaceAsymmetricCipherKeyPairGenerator
- Parameters:
param
- the parameters the key pair is to be initialised with.
-
generateKeyPair
Generate a new XMSSMT private key / public key pair.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-