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

public Class BIKEKeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator
Imports
java.security.SecureRandom, org.bouncycastle.crypto.AsymmetricCipherKeyPair, .AsymmetricCipherKeyPairGenerator, .KeyGenerationParameters

Field Summary

Modifier and TypeField and Description
private BIKEKeyGenerationParameters
private int
l

private int
private int
r

private int
private SecureRandom

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AsymmetricCipherKeyPair
generateKeyPair()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.

private AsymmetricCipherKeyPair
public void
init(KeyGenerationParameters
the parameters the key pair is to be initialised with.
params
)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bikeKeyGenerationParametersback to summary
private BIKEKeyGenerationParameters bikeKeyGenerationParameters
lback to summary
private int l
L_BYTEback to summary
private int L_BYTE
rback to summary
private int r
R_BYTEback to summary
private int R_BYTE
randomback to summary
private SecureRandom random

Constructor Detail

BIKEKeyPairGeneratorback to summary
public BIKEKeyPairGenerator()

Method Detail

generateKeyPairback to summary
public AsymmetricCipherKeyPair generateKeyPair()

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

Doc from org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.

Returns:AsymmetricCipherKeyPair

an AsymmetricCipherKeyPair containing the generated keys.

Annotations
@Override
genKeyPairback to summary
private AsymmetricCipherKeyPair genKeyPair()
initback to summary
public void init(KeyGenerationParameters params)

Implements org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

Doc from org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.

Parameters
params:KeyGenerationParameters

the parameters the key pair is to be initialised with.

Annotations
@Override