Interface IPluginMailEncryptionRetVal

All Superinterfaces:
IPluginReturnValue
All Known Implementing Classes:
PluginMailEncryptionRetVal

public interface IPluginMailEncryptionRetVal extends IPluginReturnValue
Interface for the return value of an email encryption plugin.
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    This should return the certificate to be used for encrypting the email.
  • Method Details

    • getCertificate

      X509Certificate getCertificate()
      This should return the certificate to be used for encrypting the email. The email is sent to the email address as specified by the IPluginMailEncryptionParams that were passed to the plugin.
      Returns:
      X509 Certificate The certificate to be used for sending an encrypted email. May return null if no certificate was found. In this case, other certificate providers are searched for a certificate.