Bouncy Castle Cryptography Library 1.79

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

java.lang.Object
  |
  +--org.bouncycastle.pqc.legacy.crypto.qtesla.QTESLAKeyPairGenerator
All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator

public final class QTESLAKeyPairGenerator
extends java.lang.Object
implements AsymmetricCipherKeyPairGenerator

Key-pair generator for qTESLA keys.


Constructor Summary
QTESLAKeyPairGenerator()
           
 
Method Summary
 AsymmetricCipherKeyPair generateKeyPair()
          Generate a key-pair.
 void init(KeyGenerationParameters param)
          Initialize the generator with a security category and a source of randomness.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QTESLAKeyPairGenerator

public QTESLAKeyPairGenerator()
Method Detail

init

public void init(KeyGenerationParameters param)
Initialize the generator with a security category and a source of randomness.
Specified by:
init in interface AsymmetricCipherKeyPairGenerator
Parameters:
param - a QTESLAKeyGenerationParameters object.

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()
Generate a key-pair.
Specified by:
generateKeyPair in interface AsymmetricCipherKeyPairGenerator
Returns:
a matching key-pair consisting of (QTESLAPublicKeyParameters, QTESLAPrivateKeyParameters).

Bouncy Castle Cryptography Library 1.79