RFR: 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters [v4]
Sean Mullan
mullan at openjdk.org
Wed Nov 16 19:44:03 UTC 2022
On Wed, 16 Nov 2022 18:12:21 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> test/jdk/sun/security/x509/AlgorithmId/Uninitialized.java line 35:
>>
>>> 33: import java.security.AlgorithmParameters;
>>> 34:
>>> 35: public class Uninitialized {
>>
>> Is this test necessary? It seems to be duplicating the additional test you added to GetAlgName.java
>
> It is necessary, `GetAlgName.java` is about `EncryptedPrivateKeyInfo` accepting uninitialized AP, but this test is about `AlgorithmId` NOT accepting one.
Right. Ok.
-------------
PR: https://git.openjdk.org/jdk/pull/11067
More information about the security-dev
mailing list