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 Object
implements ReferenceCountingMap.ValueFactory<EnvoyServerProtoData.UpstreamTlsContext,SslContextProvider>
Factory to create client-side SslContextProvider from UpstreamTlsContext.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Bootstrapper.BootstrapInfo
private final CertProviderClientSslContextProviderFactory
-
Constructor Summary
ConstructorsConstructorDescriptionClientSslContextProviderFactory
(Bootstrapper.BootstrapInfo bootstrapInfo) ClientSslContextProviderFactory
(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderClientSslContextProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EnvoyServerProtoData.UpstreamTlsContext upstreamTlsContext) Creates an SslContextProvider from the given UpstreamTlsContext.
-
Field Details
-
bootstrapInfo
-
certProviderClientSslContextProviderFactory
private final CertProviderClientSslContextProviderFactory certProviderClientSslContextProviderFactory
-
-
Constructor Details
-
ClientSslContextProviderFactory
ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo) -
ClientSslContextProviderFactory
ClientSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderClientSslContextProviderFactory factory)
-
-
Method Details
-
create
Creates an SslContextProvider from the given UpstreamTlsContext.- Specified by:
create
in interfaceReferenceCountingMap.ValueFactory<EnvoyServerProtoData.UpstreamTlsContext,
SslContextProvider>
-