Package io.grpc.xds.internal.security
Class ServerSslContextProviderFactory
java.lang.Object
io.grpc.xds.internal.security.ServerSslContextProviderFactory
- All Implemented Interfaces:
ReferenceCountingMap.ValueFactory<EnvoyServerProtoData.DownstreamTlsContext,
SslContextProvider>
final class ServerSslContextProviderFactory
extends Object
implements ReferenceCountingMap.ValueFactory<EnvoyServerProtoData.DownstreamTlsContext,SslContextProvider>
Factory to create server-side SslContextProvider from DownstreamTlsContext.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Bootstrapper.BootstrapInfo
private final CertProviderServerSslContextProviderFactory
-
Constructor Summary
ConstructorsConstructorDescriptionServerSslContextProviderFactory
(Bootstrapper.BootstrapInfo bootstrapInfo) ServerSslContextProviderFactory
(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderServerSslContextProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EnvoyServerProtoData.DownstreamTlsContext downstreamTlsContext) Creates a SslContextProvider from the given DownstreamTlsContext.
-
Field Details
-
bootstrapInfo
-
certProviderServerSslContextProviderFactory
private final CertProviderServerSslContextProviderFactory certProviderServerSslContextProviderFactory
-
-
Constructor Details
-
ServerSslContextProviderFactory
ServerSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo) -
ServerSslContextProviderFactory
ServerSslContextProviderFactory(Bootstrapper.BootstrapInfo bootstrapInfo, CertProviderServerSslContextProviderFactory factory)
-
-
Method Details
-
create
Creates a SslContextProvider from the given DownstreamTlsContext.- Specified by:
create
in interfaceReferenceCountingMap.ValueFactory<EnvoyServerProtoData.DownstreamTlsContext,
SslContextProvider>
-