Wiki source code of E-Mail Verschlüsselung Plugin
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | {{content/}} | |
2 | |||
3 | == Interface IMailEncryptionPlugin == | ||
4 | |||
5 | === Use cases === | ||
6 | |||
7 | * Finding of a certificate to encrypt an email in the "E-Mail" action. | ||
8 | |||
9 | === Method signature === | ||
10 | |||
11 | {{panel title="{{code language='java'~}~}IPluginMailEncryptionRetVal findCertificateForMail(IPluginMailEncryptionParams params) throws FCPluginException{{/code~}~}" triggerable="true" fullwidth="true"}} | ||
12 | **Parameters:** | ||
13 | |||
14 | The type //IPluginMailEncryptionParams // contains following attributes: | ||
15 | |||
16 | * Access to email address as string to which the email should be send to (getMailAddress) | ||
17 | * Access to the current client (getClient) | ||
18 | |||
19 | **Return values:** | ||
20 | The return value has to be of the type //IPluginProcessingRetVal// and should contain following attributes: | ||
21 | |||
22 | * X509Certificate certificate, with which the email should be encrypted. May be //null// if no certificate could be found. | ||
23 | |||
24 | An exception of type //FCPluginException// is thrown when any errors have occurred in the plugin | ||
25 | {{/panel}} |