-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.2
-
sparc
-
solaris_8
Name: rmT116609 Date: 06/17/2003
A DESCRIPTION OF THE REQUEST :
The engineGenerateSecret(String algorithm) method in the KeyAgreementSpi class should also include a parameter to allow specifying the key size.
JUSTIFICATION :
If, for instance, an AES key is requested during a Diffie-Hellman key agreement, it is impossible to specify whether a key of 16, 24 or 32 bytes is needed. This is also the case for other algorithms such as RC2, RC4 and RC5.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
engineGenerateSecret(String algorithm, int keysize)
ACTUAL -
engineGenerateSecret(String algorithm)
(Review ID: 187712)
======================================================================
- duplicates
-
JDK-6791936 javax.crypto.KeyAgreement needs additional generateSecret() methods.
-
- Closed
-