mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8242897: KeyFactory.generatePublic( x509Spec ) failed with java.security.InvalidKeyException
Changed SunRsaSign provider to accept RSA signature oid in RSA key encoding for backward compatibility Reviewed-by: weijun
This commit is contained in:
parent
563ce12127
commit
56b7960496
9 changed files with 283 additions and 168 deletions
|
@ -355,6 +355,11 @@ public enum KnownOIDs {
|
|||
boolean registerNames() { return false; }
|
||||
},
|
||||
|
||||
OIW_SHA1withRSA_Odd("1.3.14.3.2.15", "SHA1withRSA") {
|
||||
@Override
|
||||
boolean registerNames() { return false; }
|
||||
},
|
||||
|
||||
SHA_1("1.3.14.3.2.26", "SHA-1", "SHA", "SHA1"),
|
||||
|
||||
OIW_SHA1withDSA("1.3.14.3.2.27", "SHA1withDSA") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue