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

public final Class QTESLAPublicKeyParameters

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

qTESLA public key

Field Summary

Modifier and TypeField and Description
private byte[]
publicKey

Text of the qTESLA Public Key

private int
securityCategory

qTESLA Security Category

Constructor Summary

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

Base constructor.

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

key public data.
getPublicData
()

Return the key's public 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

publicKeyback to summary
private byte[] publicKey

Text of the qTESLA Public Key

securityCategoryback to summary
private int securityCategory

qTESLA Security Category

Constructor Detail

QTESLAPublicKeyParametersback to summary
public QTESLAPublicKeyParameters(int securityCategory, byte[] publicKey)

Base constructor.

Parameters
securityCategory:int

the security category for the passed in public key data.

publicKey:byte[]

the public key data.

Method Detail

getPublicDataback to summary
public byte[] getPublicData()

Return the key's public value.

Returns:byte[]

key public data.

getSecurityCategoryback to summary
public int getSecurityCategory()

Return the security category for this key.

Returns:int

the key's security category.