Top Fields Constructors Methods
org.bouncycastle.pqc.crypto.ntruprime

public Class SNTRUPrimeKeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
Imports
org.bouncycastle.crypto.AsymmetricCipherKeyPair, .AsymmetricCipherKeyPairGenerator, .KeyGenerationParameters, org.bouncycastle.util.Arrays

Field Summary

Modifier and TypeField and Description
private SNTRUPrimeKeyGenerationParameters

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AsymmetricCipherKeyPair

Returns:

an AsymmetricCipherKeyPair containing the generated keys.
generateKeyPair
()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.

public SNTRUPrimeKeyGenerationParameters
public void
init(KeyGenerationParameters
the parameters the key pair is to be initialised with.
param
)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

Initialize the Key Pair Generator.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramsback to summary
private SNTRUPrimeKeyGenerationParameters params

Constructor Detail

SNTRUPrimeKeyPairGeneratorback to summary
public SNTRUPrimeKeyPairGenerator()

Method Detail

generateKeyPairback to summary
public AsymmetricCipherKeyPair generateKeyPair()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.

Returns:AsymmetricCipherKeyPair

an AsymmetricCipherKeyPair containing the generated keys.

getParamsback to summary
public SNTRUPrimeKeyGenerationParameters getParams()
initback to summary
public void init(KeyGenerationParameters param)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

Initialize the Key Pair Generator.

Parameters
param:KeyGenerationParameters

the parameters the key pair is to be initialised with.