Module openj9.criu

Class SecurityProviders

java.lang.Object
org.eclipse.openj9.criu.SecurityProviders

public final class SecurityProviders extends Object
Handles the security providers. The CRIUSECProvider is a security provider that is used as follows when CRIU is enabled. During the checkpoint phase, all security providers are removed from the system properties (which are read from security.java) and CRIUSEC is added to the system properties. The pre-checkpoint hook clears the digests, to ensure that no state is saved during checkpoint that would be restored during the restore phase. During the resore phase, CRIUSEC is removed from the provider list and the other security providers are added back to the system properties. A new provider list is created from the system properties.
  • Method Details

    • registerResetCRIUState

      public static void registerResetCRIUState()
      Resets all cryptographic state within the CRIUSEC provider that was accumulated during checkpoint.
    • registerRestoreSecurityProviders

      public static void registerRestoreSecurityProviders()
      Adds the security providers during restore.