Class MailSecurityFactory
java.lang.Object
de.xima.fc.mail.impl.security.MailSecurityFactory
Factory for creating email security instances to be used for email encryption and/or signature by a given type
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IMailSecuritynewInstance(EMailSecurityType type) Method to get en mail-encryptor bei the given typestatic voidRegisters an usable encryptor-certificate-provider.static voidRemoves an encryptor-certificate-provider.
-
Constructor Details
-
MailSecurityFactory
public MailSecurityFactory()
-
-
Method Details
-
newInstance
Method to get en mail-encryptor bei the given type- Parameters:
type- theEMailSecurityType- Returns:
- the
IMailSecurity, ornull
-
registerCertProvider
Registers an usable encryptor-certificate-provider. @seeIMailSecurityCertProvider- Parameters:
provider- the certificate provider
-
unregisterCertProvider
Removes an encryptor-certificate-provider. @seeIMailSecurityCertProvider- Parameters:
provider- the certificate provider
-