Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4879812

KeyAgreementSpi method engineGenerateSecret(String algorithm) needs enhancement

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • security-libs



      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)
      ======================================================================

            Unassigned Unassigned
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: