hg: jdk8/tl/jdk: 7200306: SunPKCS11 provider delays the check of DSA key size for SHA1withDSA to sign() instead of init()

valerie.peng at oracle.com valerie.peng at oracle.com
Mon Nov 25 14:49:50 PST 2013


Changeset: 8d5a9245b9ca
Author:    valeriep
Date:      2013-11-25 11:56 -0800
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8d5a9245b9ca

7200306: SunPKCS11 provider delays the check of DSA key size for SHA1withDSA to sign() instead of init()
Summary: Add key length checks to P11Signature class
Reviewed-by: mullan

! src/share/classes/sun/security/pkcs11/P11Signature.java
! src/share/classes/sun/security/pkcs11/Token.java
+ test/sun/security/pkcs11/Signature/TestDSAKeyLength.java



More information about the security-dev mailing list