Package tigase.io
Class TLSUtil
java.lang.Object
tigase.io.TLSUtil
Describe class TLSUtil here.
Created: Mon Jan 23 14:21:31 2006
Created: Mon Jan 23 14:21:31 2006
- Author:
- Artur Hefczyc
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCertificate
(Map<String, String> params) static void
configureSSLContext
(Map<String, Object> params) static CertificateContainerIfc
Method returns singleton instance of class implementing CertificateContainterIfc responsible for caching SSL certificates in memory.static SSLContextContainerIfc
Method returns singleton instance of class implementing SSLContextContainerIfc responsible for caching SSLContext instances.static KeyStore
-
Constructor Details
-
TLSUtil
public TLSUtil()
-
-
Method Details
-
addCertificate
- Throws:
CertificateParsingException
-
configureSSLContext
-
getCertificateContainer
Method returns singleton instance of class implementing CertificateContainterIfc responsible for caching SSL certificates in memory. -
getRootSslContextContainer
Method returns singleton instance of class implementing SSLContextContainerIfc responsible for caching SSLContext instances.
This instance should be wrapped by new instance of SSLContextContainer if method getSSLContext will be used with TrustManager array passed! -
getTrustStore
-