Package io.grpc.xds.internal.security
Class ClientSslContextProviderFactory
- java.lang.Object
-
- io.grpc.xds.internal.security.ClientSslContextProviderFactory
-
- All Implemented Interfaces:
ReferenceCountingMap.ValueFactory<EnvoyServerProtoData.UpstreamTlsContext,SslContextProvider>
final class ClientSslContextProviderFactory extends java.lang.Object implements ReferenceCountingMap.ValueFactory<EnvoyServerProtoData.UpstreamTlsContext,SslContextProvider>
Factory to create client-side SslContextProvider from UpstreamTlsContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Bootstrapper.BootstrapInfo
bootstrapInfo
private CertProviderClientSslContextProviderFactory
certProviderClientSslContextProviderFactory
-
Constructor Summary
Constructors Constructor Description ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo)
ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderClientSslContextProviderFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SslContextProvider
create(EnvoyServerProtoData.UpstreamTlsContext upstreamTlsContext)
Creates an SslContextProvider from the given UpstreamTlsContext.
-
-
-
Field Detail
-
bootstrapInfo
private Bootstrapper.BootstrapInfo bootstrapInfo
-
certProviderClientSslContextProviderFactory
private final CertProviderClientSslContextProviderFactory certProviderClientSslContextProviderFactory
-
-
Constructor Detail
-
ClientSslContextProviderFactory
ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo)
-
ClientSslContextProviderFactory
ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderClientSslContextProviderFactory factory)
-
-
Method Detail
-
create
public SslContextProvider create(EnvoyServerProtoData.UpstreamTlsContext upstreamTlsContext)
Creates an SslContextProvider from the given UpstreamTlsContext.- Specified by:
create
in interfaceReferenceCountingMap.ValueFactory<EnvoyServerProtoData.UpstreamTlsContext,SslContextProvider>
-
-