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

Sean Coffey coffeys at openjdk.org
Tue Oct 25 13:44:09 UTC 2022


> 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

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

Changes: https://git.openjdk.org/jdk/pull/10422/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10422&range=01
  Stats: 124 lines in 6 files changed: 61 ins; 49 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/10422.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10422/head:pull/10422

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


More information about the security-dev mailing list