Interface ICertificateImportModel

All Superinterfaces:
ICryptoImportElement
All Known Implementing Classes:
CertificateImportModel

public interface ICertificateImportModel extends ICryptoImportElement
Interface for a model representing a certificate that can be imported into a formcycle keystore.
Since:
8.5.0
Author:
Norman Lorenz
  • Method Details

    • getInputStream

      InputStream getInputStream()
      Returns an InputStream that provides the data of the certificate to be imported. This stream should be closed by the caller after use to free resources.
      Returns:
      an InputStream containing the certificate data
    • isMarkedForImport

      boolean isMarkedForImport()
      Returns whether the certificate is marked for import.
      Returns:
      true if the certificate is marked for import, false otherwise (will be skipped during import)
    • setMarkedForImport

      void setMarkedForImport(boolean markedForImport)
      Sets whether the certificate is marked for import.
      Parameters:
      markedForImport - true to mark the certificate for import, false to skip it during import