Package de.xima.fc.mail.impl.encrypt
Class MailEncryptorFactory
- java.lang.Object
-
- de.xima.fc.mail.impl.encrypt.MailEncryptorFactory
-
public class MailEncryptorFactory extends Object
Factory for creating an mail-encryptor by a given type- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description MailEncryptorFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMailEncryptor
createEncryptor(EMailEncrpytionType type, Mandant client)
Method to get en mail-encryptor bei the given typestatic void
registerCertProvider(IMailEncryptorCertProvider provider)
Registers an usable encryptor-certificate-provider.static void
unregisterCertProvider(IMailEncryptorCertProvider provider)
Removes an encryptor-certificate-provider.
-
-
-
Method Detail
-
createEncryptor
public static IMailEncryptor createEncryptor(EMailEncrpytionType type, Mandant client)
Method to get en mail-encryptor bei the given type- Parameters:
type
- theEMailEncrpytionType
- Returns:
- the
IMailEncryptor
, ornull
-
registerCertProvider
public static void registerCertProvider(IMailEncryptorCertProvider provider)
Registers an usable encryptor-certificate-provider. @seeIMailEncryptorCertProvider
- Parameters:
provider
- the certificate provider
-
unregisterCertProvider
public static void unregisterCertProvider(IMailEncryptorCertProvider provider)
Removes an encryptor-certificate-provider. @seeIMailEncryptorCertProvider
- Parameters:
provider
- the certificate provider
-
-