|
|||||||||
| 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.iqdsa.IQDSAKeyPairGenerator
This class is used to generate key pairs for the IQDSA signature algorithm
(implemented by IQDSASignature.
| Constructor Summary | |
IQDSAKeyPairGenerator()
|
|
| Method Summary | |
KeyPair |
genKeyPair()
Generate an IQDSA key pair, consisting of an IQDSAPublicKey and
an IQDSAPrivateKey. |
void |
initialize(AlgorithmParameterSpec params,
SecureRandom random)
Initialize the IQDSA key pair generator with the specified parameters (supposed to be an instance of IQDSAParameterSpec) and source of
randomness. |
void |
initialize(int keySize,
SecureRandom random)
Initialize the IQDSA 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 IQDSAKeyPairGenerator()
| Method Detail |
public void initialize(AlgorithmParameterSpec params,
SecureRandom random)
throws InvalidAlgorithmParameterException
IQDSAParameterSpec) and source of
randomness. If no parameters are specified, new parameters are generated
for the default size
using the IQDSAParameterGenerator.initialize in class KeyPairGeneratorparams - the parametersrandom - the source of randomnessInvalidAlgorithmParameterException - if the parameters are not an instance of
IQDSAParameterSpec.
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()
IQDSAPublicKey and
an IQDSAPrivateKey.genKeyPair in class KeyPairGenerator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||