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
OpenSslKeyMaterialProviderimplementation that pre-compute theOpenSslKeyMaterialfor all aliases.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>materialMap
-
Constructor Summary
Constructors Constructor Description OpenSslPopulatedKeyMaterialProvider(javax.net.ssl.X509KeyManager keyManager, java.lang.String password, java.lang.Iterable<java.lang.String> aliases)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) OpenSslKeyMaterialchooseKeyMaterial(ByteBufAllocator allocator, java.lang.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
-
-
-
-
Method Detail
-
chooseKeyMaterial
OpenSslKeyMaterial chooseKeyMaterial(ByteBufAllocator allocator, java.lang.String alias) throws java.lang.Exception
Description copied from class:OpenSslKeyMaterialProviderReturns theOpenSslKeyMaterialornull(if none) that should be used during the handshake by OpenSSL.- Overrides:
chooseKeyMaterialin classOpenSslKeyMaterialProvider- Throws:
java.lang.Exception
-
destroy
void destroy()
Description copied from class:OpenSslKeyMaterialProviderWill be invoked once the provider should be destroyed.- Overrides:
destroyin classOpenSslKeyMaterialProvider
-
-