KeyPairGenerators

[TODO: ECDH, ECDSA, RW]


DH KeyPairGenerator
Description:
[[need more detail]]
References:
PublicKey parameters:
PrivateKey parameters:
Comment:
If the order parameter is present in the public key, then encryption or key agreement will be done in the subgroup of the given order generated by g. I.e. the random value k used to calculate gk will be a "short exponent" in the range [1, order]. Implementations MAY exclude 1 and order from this range, if the definition of the encryption or key agreement algorithm allows it (since they occur with negligable probability, this will not affect security).

order MAY be present in the private key, but is not needed for private key operations (since the private exponent x determines its own length).

Security comments:


DSA KeyPairGenerator
Description:
The key pair generation algorithm described in NIST FIPS PUB 186 for DSA.
Alias:
"1.2.840.10040.4.3"
Length:
The length, in bits, of the modulus p. This can be any integer that is a multiple of 8, greater than or equal to 512.
References:
PublicKey parameters:
PrivateKey parameters:
Parameter defaults:
[see parameter defaults for the DSA AlgorithmParameterGenerator]


ECDH KeyPairGenerator
Description:
[[need more detail]]
References:
PublicKey parameters:
PrivateKey parameters:
Patent status:


ECDSA KeyPairGenerator
Description:
The format of a BER or DER-encoded ECParameters object, as defined in X9.62. The ASN.1 syntax of ECParameters is given in the description of ECDH/ASN.1.

Output MUST be encoded as DER.

Aliases:
"1.2.840.10045.2.1"
References:
Patent status:
[see general elliptic curve patents]


ElgamalSig KeyPairGenerator
Description:
[[need more detail]]
References:
PublicKey parameters:
PrivateKey parameters:
Comment:
Use of "short exponents" is not supported.
Security comments:


RSA KeyPairGenerator
Aliases:
"1.2.840.113549.1.1.1", "2.5.8.1.1"
References:
PublicKey parameters:
PrivateKey parameters:
Either, or both, of the following two sets of parameters: and

It does not matter which of p and q is larger.


Valid HTML 4.0 Valid CSS Author: David Hopwood <david.hopwood@zetnet.co.uk>
Current maintainer: David Hopwood <david.hopwood@zetnet.co.uk>

Copyright © 1995-2001 The Cryptix Foundation Limited
and David Hopwood. All rights reserved.
Cryptix is a trademark of The Cryptix Foundation Limited.