public final class OpenSslCachingX509KeyManagerFactory extends 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.Constructor and Description |
---|
OpenSslCachingX509KeyManagerFactory(KeyManagerFactory factory) |
OpenSslCachingX509KeyManagerFactory(KeyManagerFactory factory,
int maxCachedEntries) |
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getKeyManagers, getProvider, init, init
public OpenSslCachingX509KeyManagerFactory(KeyManagerFactory factory)
public OpenSslCachingX509KeyManagerFactory(KeyManagerFactory factory, int maxCachedEntries)
Copyright © 2008–2024 The Netty Project. All rights reserved.