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