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

public final Class QTESLAPrivateKeyParameters

extends AsymmetricKeyParameter
Class Inheritance
Imports
org.bouncycastle.crypto.params.AsymmetricKeyParameter, org.bouncycastle.util.Arrays

qTESLA private key

Field Summary

Modifier and TypeField and Description
private byte[]
private int
securityCategory

qTESLA Security Category (From 4 To 8)

Constructor Summary

AccessConstructor and Description
public
QTESLAPrivateKeyParameters(int
the security category for the passed in public key data.
securityCategory
,
byte[]
the private key data.
privateKey
)

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

key private data.
getSecret
()

Return the key's secret value.

public int

Returns:

the key's security category.
getSecurityCategory
()

Return the security category for this key.

Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
isPrivate

Field Detail

privateKeyback to summary
private byte[] privateKey

Hides org.bouncycastle.crypto.params.AsymmetricKeyParameter.privateKey.

Text of the qTESLA Private Key

securityCategoryback to summary
private int securityCategory

qTESLA Security Category (From 4 To 8)

Constructor Detail

QTESLAPrivateKeyParametersback to summary
public QTESLAPrivateKeyParameters(int securityCategory, byte[] privateKey)

Base constructor.

Parameters
securityCategory:int

the security category for the passed in public key data.

privateKey:byte[]

the private key data.

Method Detail

getSecretback to summary
public byte[] getSecret()

Return the key's secret value.

Returns:byte[]

key private data.

getSecurityCategoryback to summary
public int getSecurityCategory()

Return the security category for this key.

Returns:int

the key's security category.