mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8242151: Improve OID mapping and reuse among JDK security providers for aliases registration
Use sun.security.util.KnownOIDs enum instead of hardcoding oid strings everywhere Reviewed-by: weijun
This commit is contained in:
parent
a97932d8fc
commit
080b3b83eb
79 changed files with 2016 additions and 2080 deletions
|
@ -93,9 +93,9 @@ public final class KeychainStore extends KeyStoreSpi {
|
|||
* PKCS12 bag we get from the Keychain.
|
||||
*/
|
||||
private static ObjectIdentifier PKCS8ShroudedKeyBag_OID =
|
||||
ObjectIdentifier.of("1.2.840.113549.1.12.10.1.2");
|
||||
ObjectIdentifier.of(KnownOIDs.PKCS8ShroudedKeyBag);
|
||||
private static ObjectIdentifier pbeWithSHAAnd3KeyTripleDESCBC_OID =
|
||||
ObjectIdentifier.of("1.2.840.113549.1.12.1.3");
|
||||
ObjectIdentifier.of(KnownOIDs.PBEWithSHA1AndDESede);
|
||||
|
||||
/**
|
||||
* Constnats used in PBE decryption.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue