|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.security.AlgorithmParameterGeneratorSpi
|
+--iaik.security.dsa.DSAParameterGenerator
This class implements an AlgorithmParameterGenerator that generates parameters for the DSA algorithm as specified in FIPS PUB 186.
Valid length for the modulus is any multiple of 64 in the range of 512 to 1024.
AlgorithmParameterGenerator,
DSAParameters,
DSAParams| Constructor Summary | |
DSAParameterGenerator()
The default constructor. |
|
| Method Summary | |
protected AlgorithmParameters |
engineGenerateParameters()
Actually generates the required DSA AlgorithmParameters. |
protected void |
engineInit(AlgorithmParameterSpec param,
SecureRandom random)
Initializes this generator with some random seed. |
protected void |
engineInit(int primeLength,
SecureRandom random)
Initializes the parameter generator with given prime modulus length and random seed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DSAParameterGenerator()
AlgorithmParameterGenerator.getInstance
factory methods for obtaining an AlgorithmParamterGenerator for generating paramters
for DSA signature algorithm.| Method Detail |
protected void engineInit(int primeLength,
SecureRandom random)
engineInit in class AlgorithmParameterGeneratorSpiprimeLength - the length of the prime modulus in bitsrandom - the random seed for this generator.
protected void engineInit(AlgorithmParameterSpec param,
SecureRandom random)
throws InvalidAlgorithmParameterException
null.
Applications shall call init(param_spec, random) for provider
independent access of this method.
engineInit in class AlgorithmParameterGeneratorSpiparam - must be nullrandom - the random seed to be used by this generator.InvalidAlgorithmParameterException - if param is
not null.protected AlgorithmParameters engineGenerateParameters()
Applications shall call generatePrameters()
for provider independently accessing this method.
engineGenerateParameters in class AlgorithmParameterGeneratorSpi
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK