RFR: 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters [v3]

Sean Mullan mullan at openjdk.org
Wed Nov 16 14:25:59 UTC 2022


On Tue, 15 Nov 2022 22:02:11 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> 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.

Ah, I see. Ok.

-------------

PR: https://git.openjdk.org/jdk/pull/11067



More information about the security-dev mailing list