Package org.bouncycastle.pqc.crypto.xmss
Class XMSSKeyPairGenerator
java.lang.Object
org.bouncycastle.pqc.crypto.xmss.XMSSKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
Key pair generator for XMSS keys.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerate a new XMSS private key / public key pair.void
init
(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
XMSSKeyPairGenerator
public XMSSKeyPairGenerator()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 XMSS private key / public key pair.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-