public final class OpenSslCachingX509KeyManagerFactory
extends javax.net.ssl.KeyManagerFactory
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 KeyManagerFactory
s X509KeyManager
s always
return the same X509Certificate
chain and PrivateKey
for the same alias.构造器和说明 |
---|
OpenSslCachingX509KeyManagerFactory(javax.net.ssl.KeyManagerFactory factory) |
OpenSslCachingX509KeyManagerFactory(javax.net.ssl.KeyManagerFactory factory,
int maxCachedEntries) |