8007632: DES/3DES keys support in PKCS12 keystore

Reviewed-by: weijun
This commit is contained in:
Alexey Bakhtin 2020-10-27 18:41:44 +00:00 committed by Weijun Wang
parent a023b93712
commit 7a7ce021de
2 changed files with 15 additions and 11 deletions

View file

@ -354,7 +354,7 @@ public enum KnownOIDs {
ECDH("1.3.132.1.12"),
// OIW secsig 1.3.14.3.*
OIW_DES_CBC("1.3.14.3.2.7", "DES/CBC"),
OIW_DES_CBC("1.3.14.3.2.7", "DES/CBC", "DES"),
OIW_DSA("1.3.14.3.2.12", "DSA") {
@Override
@ -371,6 +371,8 @@ public enum KnownOIDs {
boolean registerNames() { return false; }
},
DESede("1.3.14.3.2.17", "DESede"),
SHA_1("1.3.14.3.2.26", "SHA-1", "SHA", "SHA1"),
OIW_SHA1withDSA("1.3.14.3.2.27", "SHA1withDSA") {