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

public Class NTRUKeyGenerationParameters

extends KeyGenerationParameters
Class Inheritance
Imports
java.security.SecureRandom, org.bouncycastle.crypto.KeyGenerationParameters

Key generation parameters for NTRU.

Field Summary

Modifier and TypeField and Description
private final NTRUParameters

Constructor Summary

AccessConstructor and Description
public
NTRUKeyGenerationParameters(SecureRandom
a secure random number generator
random
,
NTRUParameters
an NTRU parameter set
params
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public NTRUParameters

Returns:

the NTRU parameter set used for this key generation
getParameters
()

Inherited from org.bouncycastle.crypto.KeyGenerationParameters:
getRandomgetStrength

Field Detail

ntruParametersback to summary
private final NTRUParameters ntruParameters

Constructor Detail

NTRUKeyGenerationParametersback to summary
public NTRUKeyGenerationParameters(SecureRandom random, NTRUParameters params)

Constructor.

Parameters
random:SecureRandom

a secure random number generator

params:NTRUParameters

an NTRU parameter set

Method Detail

getParametersback to summary
public NTRUParameters getParameters()
Returns:NTRUParameters

the NTRU parameter set used for this key generation