Node:Algorithm-Specific Attributes, Next:The IKeyPairGenerator Interface, Previous:Keypairs, Up:Keypairs
Each of these constants are defined in the
gnu.crypto.key.dh.GnuDHKeyPairGenerator class.
gnu.crypto.prng.IRandom which must have been previously
initialized. If undefined, then a default PRNG is used.
javax.crypto.spec.DHGenParameterSpec
instance to use for this generator.
java.lang.Integer)
of the public prime p.
java.lang.Integer)
of the private exponent x.
Each of these constants are defined in the
gnu.crypto.key.dss.DSSKeyPairGenerator class.
gnu.crypto.prng.IRandom which must have been previously
initialized. If undefined, then a default PRNG is used.
java.security.spec.DSAParameterSpec
instance to use for this generator's p, q, and g
values. The default is to generate these values or use pre-computed ones,
depending on the value of the USE_DEFAULTS attribute.
java.lang.Integer.
java.lang.Boolean indicating
wether or not to use pre-computed default values for the algorithm
parameters. Three sets of such parameters are also provided covering
512-bit (KEY_PARAMS_512, 768-bit (KEY_PARAMS_768) and
1024-bit (KEY_PARAMS_512) keylength.
Each of these constants are defined in the
gnu.crypto.key.rsa.RSAPSSKeyPairGenerator class.
gnu.crypto.prng.IRandom, which must
have been previously initialized. If undefined, then a default PRNG is
used.
java.lang.Integer.
java.security.spec.RSAKeyGenParameterSpec Random or default
values will be used instead if this parameter is not specified.
Each of these constants are defined in the
gnu.crypto.key.srp6.SRPKeyPairGenerator class.
gnu.crypto.prng.IRandom, which must
have been previously initialized. If undefined, then a default PRNG is
used.
java.lang.Integer)
of the modulus N of an SRP key.
java.math.BigInteger. It is an optional parameter. If
undefined, then a new value is generated, unless USE_DEFAULTS
is set to TRUE.
java.math.BigInteger. It is an optional parameter. If
undefined, then a new value is generated, unless USE_DEFAULTS
is set to TRUE.
java.lang.Boolean indicating
wether or not to use pre-computed default values for the algorithm
parameters. Seven sets of such parameters are also provided covering
512-bit (N_512, 640-bit (N_640), 768-bit (N_768),
1024-bit (N_1024), 1280-bit (N_1280), 1536-bit (N_1536)
and 2048-bit (N_2048) shared modulus length.