Mail Encryption Plugin


Interface IMailEncryptionPlugin

Use cases

  • Finding of a certificate to encrypt an email in the "E-Mail" action.

Method signature

IPluginMailEncryptionRetVal findCertificateForMail(IPluginMailEncryptionParams params) throws FCPluginException

Parameters:The type IPluginMailEncryptionParams contains following attributes:
  • Access to email address as string to which the email should be send to (getMailAddress)
  • Access to the current client (getClient)
Return values: The return value has to be of the type IPluginProcessingRetVal and should contain following attributes:
  • X509Certificate certificate, with which the email should be encrypted. May be null if no certificate could be found.
An exception of type FCPluginException is thrown when any errors have occurred in the plugin