AsymmetricCipherKeyPairGenerator
public class RainbowKeyPairGenerator extends java.lang.Object implements AsymmetricCipherKeyPairGenerator
Detailed information about the key generation is to be found in the paper of Jintai Ding, Dieter Schmidt: Rainbow, a New Multivariable Polynomial Signature Scheme. ACNS 2005: 164-175 (http://dx.doi.org/10.1007/11496137_12)
Constructor | Description |
---|---|
RainbowKeyPairGenerator() |
The standard constructor tries to generate the Rainbow algorithm identifier
with the corresponding OID.
|
Modifier and Type | Method | Description |
---|---|---|
AsymmetricCipherKeyPair |
generateKeyPair() |
return an AsymmetricCipherKeyPair containing the generated keys.
|
AsymmetricCipherKeyPair |
genKeyPair() |
This function generates a Rainbow key pair.
|
void |
init(KeyGenerationParameters param) |
intialise the key pair generator.
|
void |
initialize(KeyGenerationParameters param) |
public RainbowKeyPairGenerator()
public AsymmetricCipherKeyPair genKeyPair()
public void initialize(KeyGenerationParameters param)
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