Integrated: 8286422: Add OIDs for RC2 and Blowfish
Weijun Wang
weijun at openjdk.java.net
Thu May 12 13:31:02 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.
This pull request has now been integrated.
Changeset: 752ad1c4
Author: Weijun Wang <weijun at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/752ad1c41093645506dd267f618bd46882d0c674
Stats: 118 lines in 4 files changed: 66 ins; 49 del; 3 mod
8286422: Add OIDs for RC2 and Blowfish
Reviewed-by: hchao, ascarpino
-------------
PR: https://git.openjdk.java.net/jdk/pull/8668
More information about the security-dev
mailing list