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) OpenSslKeyMaterial
chooseKeyMaterial
(ByteBufAllocator allocator, String alias) Returns theOpenSslKeyMaterial
ornull
(if none) that should be used during the handshake by OpenSSL.(package private) void
destroy()
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:OpenSslKeyMaterialProvider
Returns theOpenSslKeyMaterial
ornull
(if none) that should be used during the handshake by OpenSSL.- Overrides:
chooseKeyMaterial
in classOpenSslKeyMaterialProvider
- Throws:
Exception
-
destroy
void destroy()Description copied from class:OpenSslKeyMaterialProvider
Will be invoked once the provider should be destroyed.- Overrides:
destroy
in classOpenSslKeyMaterialProvider
-