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

Support key generation for HMAC mechanisms

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • 16
    • None
    • security-libs
    • None

      SunPKCS11 provider "translates" the provided SecretKey for Hmac crypto service, i.e. takes a java SecretKey object, extracts its key bytes and convert it into a CKK_GENERIC_SECRET key.

      For HSM or scenarios where the key bytes need to be from the underlying PKCS11 library, it requires SunPKCS11 provider to support the CKM_GENERIC_SECRET_KEY_GEN mechanism and provide a KeyGenerator crypto service.

            valeriep Valerie Peng
            valeriep Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: