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.BootstrapInfoprivate 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:
createin interfaceReferenceCountingMap.ValueFactory<EnvoyServerProtoData.DownstreamTlsContext, SslContextProvider>
-