Package tigase.io

Class TLSUtil


  • public abstract class TLSUtil
    extends Object
    Describe class TLSUtil here.
    Created: Mon Jan 23 14:21:31 2006
    Version:
    $Rev$
    Author:
    Artur Hefczyc
    • Constructor Detail

      • TLSUtil

        public TLSUtil()
    • Method Detail

      • configureSSLContext

        public static void configureSSLContext​(Map<String,​Object> params)
      • getCertificateContainer

        public static CertificateContainerIfc getCertificateContainer()
        Method returns singleton instance of class implementing CertificateContainterIfc responsible for caching SSL certificates in memory.
        Returns:
      • getRootSslContextContainer

        public static SSLContextContainerIfc 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!
        Returns:
      • getTrustStore

        public static KeyStore getTrustStore()