OpenSslKeyMaterialProvider that will cache the OpenSslKeyMaterial to reduce the overhead
of parsing the chain and the key for generation of the material.
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap | |
| private volatile boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv OpenSslKeyMaterial | chooseKeyMaterial(BufferAllocator allocator, String alias)
Overrides io. OpenSslKeyMaterial or null (if none) that should be used during the handshake by
OpenSSL.
|
| pack-priv void | destroy()
Overrides io. |
| cache | back to summary |
|---|---|
| private final ConcurrentMap<String, OpenSslKeyMaterial> cache | |
| full | back to summary |
|---|---|
| private volatile boolean full | |
| maxCachedEntries | back to summary |
|---|---|
| private final int maxCachedEntries | |
| OpenSslCachingKeyMaterialProvider | back to summary |
|---|---|
| pack-priv OpenSslCachingKeyMaterialProvider(X509KeyManager keyManager, String password, int maxCachedEntries) | |
| chooseKeyMaterial | back to summary |
|---|---|
| pack-priv OpenSslKeyMaterial chooseKeyMaterial(BufferAllocator allocator, String alias) throws Exception Overrides io. Doc from io. Returns the
| |
| destroy | back to summary |
|---|---|
| pack-priv void destroy() Overrides io. Doc from io. Will be invoked once the provider should be destroyed.
| |