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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a new XMSS private key / public key pair.voidinit(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
XMSSKeyPairGenerator
public XMSSKeyPairGenerator()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 XMSS private key / public key pair.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-