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

PKCS11 provider C_sign() impl should handle CKR_BUFFER_TOO_SMALL error

XMLWordPrintable

        The Java_sun_security_pkcs11_wrapper_PKCS11_C_1Sign function in src/jdk.crypto.cryptoki/share/native/libj2pkcs11/p11_sign.c should check for and handle CKR_BUFFER_TOO_SMALL, much like Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignFinal already does.

              valeriep Valerie Peng
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: