Interface CertificateExportBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
CertificateExportBeanImpl

public interface CertificateExportBean extends Serializable
Common interface for interacting with the certificate export process via the certificate export wizard (dialog).
Since:
8.5.0
Author:
Norman Lorenz
  • Method Details

    • getInstance

      static CertificateExportBean getInstance()
      Returns an instance of the CertificateExportBean using CDI.

      This method should be used with caution, as it relies on CDI and works only during JSF lifecycle phases, where there is a FacesContext available.

      Returns:
      An instance of CertificateExportBean.
      Throws:
      javax.enterprise.context.ContextNotActiveException - if called outside a JSF context.
    • startCertificateExport

      boolean startCertificateExport(CertificateExportStartParams params)
      Starts the certificate export process with the given parameters. Opens the certificate export dialog.

      If there are errors during the export process, they will be shown in the UI.

      Parameters:
      params - The parameters for starting the certificate export process, including the certificate ID and a callback for the export result.
      Returns:
      true if the export process was started successfully, false otherwise.