Class OpenSslCachingX509KeyManagerFactory


  • public final class OpenSslCachingX509KeyManagerFactory
    extends javax.net.ssl.KeyManagerFactory
    Wraps another KeyManagerFactory and caches its chains / certs for an alias for better performance when using SslProvider.OPENSSL or SslProvider.OPENSSL_REFCNT. Because of the caching its important that the wrapped KeyManagerFactorys X509KeyManagers always return the same X509Certificate chain and PrivateKey for the same alias.
    • Method Summary

      • Methods inherited from class javax.net.ssl.KeyManagerFactory

        getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getKeyManagers, getProvider, init, init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OpenSslCachingX509KeyManagerFactory

        public OpenSslCachingX509KeyManagerFactory​(javax.net.ssl.KeyManagerFactory factory)
      • OpenSslCachingX509KeyManagerFactory

        public OpenSslCachingX509KeyManagerFactory​(javax.net.ssl.KeyManagerFactory factory,
                                                   int maxCachedEntries)