RFR: 8286422: Add OIDs for RC2 and Blowfish
Anthony Scarpino
ascarpino at openjdk.java.net
Thu May 12 01:58:03 UTC 2022
On Wed, 11 May 2022 22:35:32 GMT, Weijun Wang <weijun at 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 ascarpino (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8668
More information about the security-dev
mailing list