Add missing OIDs for 2 secret key algorithms. These will be used when storing secret keys in a PKCS12 keystore. Like DES and DESede, the OIDs were originally defined for CBC mode cipher algorithms, they are reused here for key algorithms.
OpenSSL uses the same OIDs for cipher algorithms. 1 3 6 1 4 1 3029 1 2 : BF-CBC : bf-cbc rsadsi 3 2 : RC2-CBC : rc2-cbc Similar to DES, RC2 is only added as an alias so it needs to be specially treated when getting a secret key entry from a PKCS12 keystore. No attempt is made to define these OIDs as aliases to existing cipher algorithms. ------------- Commit messages: - add OIDs Changes: https://git.openjdk.java.net/jdk/pull/8668/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8668&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8286422 Stats: 118 lines in 4 files changed: 66 ins; 49 del; 3 mod Patch: https://git.openjdk.java.net/jdk/pull/8668.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8668/head:pull/8668 PR: https://git.openjdk.java.net/jdk/pull/8668