Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.crypto.hqc
Class HQCKeyPairGenerator

java.lang.Object
  extended byorg.bouncycastle.pqc.crypto.hqc.HQCKeyPairGenerator
All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator

public class HQCKeyPairGenerator
extends java.lang.Object
implements AsymmetricCipherKeyPairGenerator


Constructor Summary
HQCKeyPairGenerator()
           
 
Method Summary
 AsymmetricCipherKeyPair generateKeyPair()
          return an AsymmetricCipherKeyPair containing the generated keys.
 AsymmetricCipherKeyPair generateKeyPairWithSeed(byte[] seed)
           
 void init(KeyGenerationParameters params)
          intialise the key pair generator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HQCKeyPairGenerator

public HQCKeyPairGenerator()
Method Detail

init

public void init(KeyGenerationParameters params)
Description copied from interface: AsymmetricCipherKeyPairGenerator
intialise the key pair generator.

Specified by:
init in interface AsymmetricCipherKeyPairGenerator
Parameters:
params - the parameters the key pair is to be initialised with.

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()
Description copied from interface: AsymmetricCipherKeyPairGenerator
return an AsymmetricCipherKeyPair containing the generated keys.

Specified by:
generateKeyPair in interface AsymmetricCipherKeyPairGenerator
Returns:
an AsymmetricCipherKeyPair containing the generated keys.

generateKeyPairWithSeed

public AsymmetricCipherKeyPair generateKeyPairWithSeed(byte[] seed)

Bouncy Castle Cryptography Library 1.81