Package com.oracle.coherence.grpc
Class RefreshableSslContext
java.lang.Object
io.netty.handler.ssl.SslContext
com.oracle.coherence.grpc.RefreshableSslContext
- All Implemented Interfaces:
- com.tangosol.internal.net.ssl.SSLContextDependencies.Listener
public class RefreshableSslContext
extends io.netty.handler.ssl.SslContext
implements com.tangosol.internal.net.ssl.SSLContextDependencies.Listener
A refreshable 
SslContext.- Since:
- 22.06.2
- Author:
- Jonathan Knight 2022.08.25
- 
Constructor SummaryConstructorsConstructorDescriptionRefreshableSslContext(com.tangosol.internal.net.ssl.SSLContextDependencies dependencies, boolean fServer) 
- 
Method SummaryModifier and TypeMethodDescriptionio.netty.handler.ssl.ApplicationProtocolNegotiatorbooleanisClient()newEngine(io.netty.buffer.ByteBufAllocator alloc) voidCalled when an error occurred updating the SSL context.voidonUpdate(com.tangosol.internal.net.ssl.SSLContextDependencies dependencies) Called when the SSL context has been updated.Methods inherited from class io.netty.handler.ssl.SslContextattributes, buildKeyManagerFactory, buildKeyStore, buildTrustManagerFactory, buildTrustManagerFactory, buildTrustManagerFactory, defaultClientProvider, defaultServerProvider, generateKeySpec, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols, sessionCacheSize, sessionTimeout, toPrivateKey, toPrivateKey, toX509Certificates, toX509Certificates
- 
Constructor Details- 
RefreshableSslContextpublic RefreshableSslContext(com.tangosol.internal.net.ssl.SSLContextDependencies dependencies, boolean fServer) 
 
- 
- 
Method Details- 
onUpdatepublic void onUpdate(com.tangosol.internal.net.ssl.SSLContextDependencies dependencies) throws GeneralSecurityException Description copied from interface:com.tangosol.internal.net.ssl.SSLContextDependencies.ListenerCalled when the SSL context has been updated.- Specified by:
- onUpdatein interface- com.tangosol.internal.net.ssl.SSLContextDependencies.Listener
- Parameters:
- dependencies- the updated dependencies
- Throws:
- GeneralSecurityException- if an error occurs
 
- 
onErrorpublic void onError(com.tangosol.internal.net.ssl.SSLContextDependencies dependencies, Throwable t) throws KeyManagementException Description copied from interface:com.tangosol.internal.net.ssl.SSLContextDependencies.ListenerCalled when an error occurred updating the SSL context.- Specified by:
- onErrorin interface- com.tangosol.internal.net.ssl.SSLContextDependencies.Listener
- Parameters:
- dependencies- the updated dependencies
- Throws:
- KeyManagementException- if an error occurs
 
- 
isClientpublic boolean isClient()- Specified by:
- isClientin class- io.netty.handler.ssl.SslContext
 
- 
cipherSuites- Specified by:
- cipherSuitesin class- io.netty.handler.ssl.SslContext
 
- 
applicationProtocolNegotiatorpublic io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator()- Specified by:
- applicationProtocolNegotiatorin class- io.netty.handler.ssl.SslContext
 
- 
newEngine- Specified by:
- newEnginein class- io.netty.handler.ssl.SslContext
 
- 
newEngine- Specified by:
- newEnginein class- io.netty.handler.ssl.SslContext
 
- 
sessionContext- Specified by:
- sessionContextin class- io.netty.handler.ssl.SslContext
 
 
-