Class PluginMailEncryptionRetVal
java.lang.Object
de.xima.fc.plugin.models.retval.mail.PluginMailEncryptionRetVal
- All Implemented Interfaces:
IPluginReturnValue
,IPluginMailEncryptionRetVal
A POJO data class that for the return value of the mail encryption plugin. An instance of this class holds the
certificate provided by the plugin.
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis should return the certificate to be used for encrypting the email.
-
Constructor Details
-
PluginMailEncryptionRetVal
- Parameters:
certificate
- The certificate to be returned by the plugin.
-
-
Method Details
-
getCertificate
Description copied from interface:IPluginMailEncryptionRetVal
This should return the certificate to be used for encrypting the email. The email is sent to the email address as specified by theIPluginMailEncryptionParams
that were passed to the plugin.- Specified by:
getCertificate
in interfaceIPluginMailEncryptionRetVal
- 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.
-