Interface CertificateCreationBean

All Superinterfaces:
Serializable
All Known Implementing Classes:
CertificateCreationBeanImpl

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

    • getInstance

      static CertificateCreationBean getInstance()
      Returns an instance of the CertificateCreationBean 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 CertificateCreationBean.
      Throws:
      javax.enterprise.context.ContextNotActiveException - if called outside a JSF context.
    • startCertificateCreation

      boolean startCertificateCreation(CertificateCreateStartParams params)
      Starts the certificate creation process with the given parameters. Opens the certificate creation dialog.

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

      Parameters:
      params - The parameters for starting the certificate creation process.
      Returns:
      true if the creation process was started successfully, false otherwise.