public class McElieceCCA2KeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.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 java.lang.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