RFR: 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters [v3]
Weijun Wang
weijun at openjdk.org
Wed Nov 16 03:41:12 UTC 2022
On Tue, 15 Nov 2022 21:14:57 GMT, Sean Mullan <mullan at openjdk.org> wrote:
>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>>
>> expected
>
> src/java.base/share/classes/javax/crypto/EncryptedPrivateKeyInfo.java line 65:
>
>> 63: // In all other case, algid is non null and params is null.
>> 64: private final AlgorithmId algid;
>> 65: private final AlgorithmParameters params;
>
> Perhaps add a comment for this field since the others have comments.
These two fields share the same comment above them.
-------------
PR: https://git.openjdk.org/jdk/pull/11067
More information about the security-dev
mailing list