|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.security.KeyPairGeneratorSpi
|
+--de.flexiprovider.api.keys.KeyPairGenerator
|
+--de.flexiprovider.nf.iq.iqgq.IQGQKeyPairGenerator
This class is used to generate key pairs for the IQGQ signature algorithm
(implemented by IQGQSignature.
| Constructor Summary | |
IQGQKeyPairGenerator()
|
|
| Method Summary | |
KeyPair |
genKeyPair()
Generate an IQGQ key pair, consisting of an IQGQPublicKey and an
IQGQPrivateKey. |
void |
initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initialize the IQGQ key pair generator with the specified parameters (supposed to be an instance of IQGQParameterSpec) and source of
randomness. |
void |
initialize(int keySize,
SecureRandom random)
Initialize the IQGQ key pair generator for given key size and source of randomness. |
| Methods inherited from class de.flexiprovider.api.keys.KeyPairGenerator |
generateKeyPair, initialize, initialize |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public IQGQKeyPairGenerator()
| Method Detail |
public void initialize(AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidAlgorithmParameterException
IQGQParameterSpec) and source of
randomness. If no parameters are specified, new parameters are generated
for the default size using
the IQGQParameterGenerator.initialize in class KeyPairGeneratorparams - the parametersrandom - the source of randomnessInvalidAlgorithmParameterException - if the parameters are not an instance of
IQGQParameterSpec.
public void initialize(int keySize,
SecureRandom random)
initialize in class KeyPairGeneratorkeySize - the bit length of the discriminant of the class grouprandom - the source of randomnesspublic KeyPair genKeyPair()
IQGQPublicKey and an
IQGQPrivateKey.genKeyPair in class KeyPairGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||