Top Fields Constructors Methods
org.bouncycastle.pqc.crypto.ntruprime

public Class SNTRUPrimeKeyGenerationParameters

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

Field Summary

Modifier and TypeField and Description
private final SNTRUPrimeParameters

Constructor Summary

AccessConstructor and Description
public
SNTRUPrimeKeyGenerationParameters(SecureRandom
the random byte source.
random
,
SNTRUPrimeParameters
Streamlined NTRU Prime parameters
sntrupParams
)

initialise the generator with a source of randomness and a strength (in bits).

Method Summary

Modifier and TypeMethod and Description
public SNTRUPrimeParameters
Inherited from org.bouncycastle.crypto.KeyGenerationParameters:
getRandomgetStrength

Field Detail

sntrupParamsback to summary
private final SNTRUPrimeParameters sntrupParams

Constructor Detail

SNTRUPrimeKeyGenerationParametersback to summary
public SNTRUPrimeKeyGenerationParameters(SecureRandom random, SNTRUPrimeParameters sntrupParams)

initialise the generator with a source of randomness and a strength (in bits).

Parameters
random:SecureRandom

the random byte source.

sntrupParams:SNTRUPrimeParameters

Streamlined NTRU Prime parameters

Method Detail

getSntrupParamsback to summary
public SNTRUPrimeParameters getSntrupParams()