public class McElieceCCA2KeyPairGenerator extends Object implements AsymmetricCipherKeyPairGenerator
Modifier and Type | Field and Description |
---|---|
static String |
OID
The OID of the algorithm.
|
Constructor and Description |
---|
McElieceCCA2KeyPairGenerator() |
Modifier and Type | Method and Description |
---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
|
void |
init(KeyGenerationParameters param)
intialise the key pair generator.
|
public static final String OID
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGenerator
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
AsymmetricCipherKeyPairGenerator
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
Copyright © 2016 BouncyCastle.org. All rights reserved.