Bouncy Castle Cryptography Library 1.79

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

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

public final class QTESLAPublicKeyParameters
extends AsymmetricKeyParameter

qTESLA public key


Constructor Summary
QTESLAPublicKeyParameters(int securityCategory, byte[] publicKey)
          Base constructor.
 
Method Summary
 byte[] getPublicData()
          Return the key's public 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

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 Detail

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.

Bouncy Castle Cryptography Library 1.79