Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-8134

Saving SCT data to persistent table

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: EJBCA 7.2.0
    • Fix Version/s: EJBCA 7.2.0
    • Component/s: None
    • Labels:

      Description

      This should be added alongside the existing in-memory cache in OcspCtSctListExtension.

      When storing data to the in-memory cache, also write to the persistent SCT table.

      This will require passing some object with callbacks, because OcspCtSctListExtension cannot call session beans (that do the database writes). Re-use the callback object in ECA-8135, if that issue is implemented first. See CTAuditLogCallback for an example callback object.
      Update: OcspCtSctListExtension can in fact call session beans, so there is no need for a callback class. Just call the session directly.
      Update 2: The OcspCtSctListExtension does in-memory caching on the whole "SCT List extension", so this is not the same as the individual SCTs. We should consider creating a new issue to restructure the existing code, so it caches individual SCTs also. This would require changes in CertificateTransparencyImpl.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              samuel Samuel Lidén Borell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 3 days
                  3d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified