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.voidinit(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
XMSSMTKeyPairGenerator
public XMSSMTKeyPairGenerator()Base constructor...
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGeneratorintialise the key pair generator.- Specified by:
initin 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:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-