RFR: 8292033: Move jdk.X509Certificate event logic to JCA layer [v2]
Weijun Wang
weijun at openjdk.org
Tue Oct 25 13:54:54 UTC 2022
On Tue, 25 Oct 2022 13:44:09 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> By moving the JFR event up to the java.security.cert.CertificateFactory class, we can record all generate cert events, including those from 3rd party providers. I've also altered the logic so that an event is genertate for every generate cert call (not just ones missing from the JDK provider implementation cache)
>>
>> test case also updated to capture new logic
>
> Sean Coffey has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
>
> - blessed modifiers
> - Merge branch 'master' into 8292033-x509Event
> - restore import style
> - Merge branch 'master' into 8292033-x509Event
> - Minor clean up
> - Merge branch 'master' into 8292033-x509Event
> - update commit method name
> - Record all X509 generate events
> - fix up merge
> - merge with master
> - ... and 1 more: https://git.openjdk.org/jdk/compare/f37a6055...c58e0fa6
test/lib/jdk/test/lib/security/TestCertificate.java line 45:
> 43: ONE("1000",
> 44: "CN=SSLCertificate,O=SomeCompany",
> 45: "CN=Intermediate CA Cert,O=SomeCompany",
Why remove the spaces? `X500Name::toString` always has them.
-------------
PR: https://git.openjdk.org/jdk/pull/10422
More information about the security-dev
mailing list