Top Description Fields Constructors Methods
org.bouncycastle.pqc.crypto.xmss

public final Class XMSSMTKeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
Imports
java.security.SecureRandom, org.bouncycastle.crypto.AsymmetricCipherKeyPair, .AsymmetricCipherKeyPairGenerator, .KeyGenerationParameters

Key pair generator for XMSS^MT keys.

Field Summary

Modifier and TypeField and Description
private XMSSMTParameters
private SecureRandom
private XMSSParameters

Constructor Summary

AccessConstructor and Description
public
XMSSMTKeyPairGenerator()

Base constructor...

Method Summary

Modifier and TypeMethod and Description
public AsymmetricCipherKeyPair
generateKeyPair()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

Generate a new XMSSMT private key / public key pair.
private XMSSMTPrivateKeyParameters
generatePrivateKey(BDSStateMap bdsState)

Deprecated as a consequence of XMSSMTPrivateKeyParameters being deprecated.
public void
init(KeyGenerationParameters
the parameters the key pair is to be initialised with.
param
)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramsback to summary
private XMSSMTParameters params
prngback to summary
private SecureRandom prng
xmssParamsback to summary
private XMSSParameters xmssParams

Constructor Detail

XMSSMTKeyPairGeneratorback to summary
public XMSSMTKeyPairGenerator()

Base constructor...

Method Detail

generateKeyPairback to summary
public AsymmetricCipherKeyPair generateKeyPair()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

Generate a new XMSSMT private key / public key pair.

Returns:AsymmetricCipherKeyPair

Doc from org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

an AsymmetricCipherKeyPair containing the generated keys.

generatePrivateKeyback to summary
private XMSSMTPrivateKeyParameters generatePrivateKey(BDSStateMap bdsState)

Deprecated

as a consequence of XMSSMTPrivateKeyParameters being deprecated. See corresponding docs for further information.

initback to summary
public void init(KeyGenerationParameters param)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

Doc from org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.

Parameters
param:KeyGenerationParameters

the parameters the key pair is to be initialised with.