Class AppServerAwareFactory
java.lang.Object
com.aquima.interactions.foundation.security.util.AppServerAwareFactory
Application server aware factory.
Depending on the application server, different factories are returned, or the way factories are instantiated differs.
- Since:
- 5.1
- Author:
- m.hesselink
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyFactory
Get the DSA key factory.static Signature
Get the DSA signature factory.static Cipher
This method returns the triple-DES cipher.
-
Method Details
-
getKeyFactory
Get the DSA key factory.- Returns:
- The factory
- Throws:
CryptoGraphicException
- This exception is thrown when no key factory could be located.
-
getSignatureFactory
Get the DSA signature factory.- Returns:
- the DSA signature factory.
- Throws:
CryptoGraphicException
- This exception is thrown when no signature could be located.
-
getTripleDesProvider
This method returns the triple-DES cipher.- Returns:
- the triple-DES cipher.
- Throws:
CryptoGraphicException
- This exception is thrown when the triple-DES algorithm is not available.
-