On Wed, 11 May 2022 22:35:32 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> 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. Marked as reviewed by hchao (Committer). ------------- PR: https://git.openjdk.java.net/jdk/pull/8668