Package io.netty.handler.ssl
Class OpenSslX509KeyManagerFactory.OpenSslKeyManagerFactorySpi.ProviderFactory.OpenSslPopulatedKeyMaterialProvider
java.lang.Object
io.netty.handler.ssl.OpenSslKeyMaterialProvider
io.netty.handler.ssl.OpenSslX509KeyManagerFactory.OpenSslKeyManagerFactorySpi.ProviderFactory.OpenSslPopulatedKeyMaterialProvider
private static final class OpenSslX509KeyManagerFactory.OpenSslKeyManagerFactorySpi.ProviderFactory.OpenSslPopulatedKeyMaterialProvider
extends OpenSslKeyMaterialProvider
OpenSslKeyMaterialProvider implementation that pre-compute the OpenSslKeyMaterial for
all aliases.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenSslPopulatedKeyMaterialProvider(X509KeyManager keyManager, String password, Iterable<String> aliases) -
Method Summary
Modifier and TypeMethodDescription(package private) OpenSslKeyMaterialchooseKeyMaterial(ByteBufAllocator allocator, String alias) Returns theOpenSslKeyMaterialornull(if none) that should be used during the handshake by OpenSSL.(package private) voiddestroy()Will be invoked once the provider should be destroyed.Methods inherited from class io.netty.handler.ssl.OpenSslKeyMaterialProvider
keyManager, validateKeyMaterialSupported
-
Field Details
-
materialMap
-
-
Constructor Details
-
OpenSslPopulatedKeyMaterialProvider
OpenSslPopulatedKeyMaterialProvider(X509KeyManager keyManager, String password, Iterable<String> aliases)
-
-
Method Details
-
chooseKeyMaterial
Description copied from class:OpenSslKeyMaterialProviderReturns theOpenSslKeyMaterialornull(if none) that should be used during the handshake by OpenSSL.- Overrides:
chooseKeyMaterialin classOpenSslKeyMaterialProvider- Throws:
Exception
-
destroy
void destroy()Description copied from class:OpenSslKeyMaterialProviderWill be invoked once the provider should be destroyed.- Overrides:
destroyin classOpenSslKeyMaterialProvider
-