public class PluginMailEncryptionParams extends Object implements IPluginMailEncryptionParams
IPluginMailEncryptionParams
that are passed to the plugin method.Constructor and Description |
---|
PluginMailEncryptionParams(String mailAddress,
Mandant client)
Creates a new mail encryption parameter instance with the given email address and client.
|
Modifier and Type | Method and Description |
---|---|
Mandant |
getClient()
An email is usually sent in a certain context, such as during a workflow action.
|
String |
getMailAddress()
A mail address (string converted) to obtain a certificate for
|
public PluginMailEncryptionParams(String mailAddress, Mandant client)
mailAddress
- The mail address for which a certificate is required.client
- The current client, ie. the context in which the email is sent.public String getMailAddress()
IPluginMailEncryptionParams
getMailAddress
in interface IPluginMailEncryptionParams
public Mandant getClient()
IPluginMailEncryptionParams
getClient
in interface IPluginMailEncryptionParams
null
if no client exists, eg. when
sending a system email.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.