Top Description Fields Constructors Methods
org.bouncycastle.pqc.legacy.crypto.qtesla

public Class QTESLAKeyGenerationParameters

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

qTESLA key-pair generation parameters.

Field Summary

Modifier and TypeField and Description
private final int

Constructor Summary

AccessConstructor and Description
public
QTESLAKeyGenerationParameters(int
the security category to generate the parameters for.
securityCategory
,
SecureRandom
the random byte source.
random
)

Base constructor - provide the qTESLA security category and a source of randomness.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the security category for keys generated using these parameters.
getSecurityCategory
()

Return the security category for these parameters.

Inherited from org.bouncycastle.crypto.KeyGenerationParameters:
getRandomgetStrength

Field Detail

securityCategoryback to summary
private final int securityCategory

Constructor Detail

QTESLAKeyGenerationParametersback to summary
public QTESLAKeyGenerationParameters(int securityCategory, SecureRandom random)

Base constructor - provide the qTESLA security category and a source of randomness.

Parameters
securityCategory:int

the security category to generate the parameters for.

random:SecureRandom

the random byte source.

Method Detail

getSecurityCategoryback to summary
public int getSecurityCategory()

Return the security category for these parameters.

Returns:int

the security category for keys generated using these parameters.