RFR: 8292033: Move jdk.X509Certificate event logic to JCA layer [v2]

Sean Coffey coffeys at openjdk.org
Tue Oct 25 14:56:15 UTC 2022


On Tue, 25 Oct 2022 14:34:26 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Code was modified to use the X509Certificate API (rather than X509CertImpl) 
>> 
>> it's using the X500Principal#getName() call now. Would it be better to use X500Principal#toString() ?
>
> If you are only writing there and not parsing the string, then I assume either is OK. Still, less change is better.

fair point. I updated patch to use X500Principal#toString()

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

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


More information about the security-dev mailing list