Bouncy Castle Cryptography Library 1.79

org.bouncycastle.pqc.legacy.crypto.qtesla
Class QTESLAPrivateKeyParameters

java.lang.Object
  |
  +--org.bouncycastle.crypto.params.AsymmetricKeyParameter
        |
        +--org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAPrivateKeyParameters
All Implemented Interfaces:
CipherParameters

public final class QTESLAPrivateKeyParameters
extends AsymmetricKeyParameter

qTESLA private key


Constructor Summary
QTESLAPrivateKeyParameters(int securityCategory, byte[] privateKey)
          Base constructor.
 
Method Summary
 byte[] getSecret()
          Return the key's secret value.
 int getSecurityCategory()
          Return the security category for this key.
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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.

Bouncy Castle Cryptography Library 1.79