Class QTESLAPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAPublicKeyParameters
- All Implemented Interfaces:
CipherParameters
qTESLA public key
-
Constructor Summary
ConstructorDescriptionQTESLAPublicKeyParameters
(int securityCategory, byte[] publicKey) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Return the key's public value.int
Return the security category for this key.Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
QTESLAPublicKeyParameters
public QTESLAPublicKeyParameters(int securityCategory, byte[] publicKey) Base constructor.- Parameters:
securityCategory
- the security category for the passed in public key data.publicKey
- the public key data.
-
-
Method Details
-
getSecurityCategory
public int getSecurityCategory()Return the security category for this key.- Returns:
- the key's security category.
-
getPublicData
public byte[] getPublicData()Return the key's public value.- Returns:
- key public data.
-