On Tue, 17 Nov 2026 19:11:27 GMT, Sean Mullan <[email protected]> wrote:

>> The last line at https://www.rfc-editor.org/info/rfc9882/#section-3.3-2.2.3 
>> says
>>> implementations MUST ignore the content of the digestAlgorithm field.
>> 
>> My understanding is that the rules for the writer and the reader are 
>> different: writer MUST write SHA-512, and reader MUST ignore it. The field 
>> has no usage when there is no signed attributes.
>
> Oh, but I was thinking in the test you could check that we put SHA-512 in 
> there for our own implementation to comply with the RFC. Not to enforce it in 
> the runtime or anything like that.

I see. Added.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33254#discussion_r4608745680

Reply via email to