Home
last modified time | relevance | path

Searched refs:TestCredentials (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/src/csharp/Grpc.IntegrationTesting/
DMetadataCredentialsTest.cs50 … Ports = { { Host, ServerPort.PickUnused, TestCredentials.CreateSslServerCredentials() } } in Init()
56 … new ChannelOption(ChannelOptions.SslTargetNameOverride, TestCredentials.DefaultHostOverride) in Init()
83 … var channelCredentials = ChannelCredentials.Create(TestCredentials.CreateSslCredentials(), in MetadataCredentials_Channel()
107 …channel = new Channel(Host, server.Ports.Single().BoundPort, TestCredentials.CreateSslCredentials(… in MetadataCredentials_PerCall()
140 …var channelCredentials = ChannelCredentials.Create(TestCredentials.CreateSslCredentials(), channel… in MetadataCredentials_BothChannelAndPerCall()
174 … var channelCredentials = ChannelCredentials.Create(TestCredentials.CreateSslCredentials(), in MetadataCredentials_Composed()
195 …channel = new Channel(Host, server.Ports.Single().BoundPort, TestCredentials.CreateSslCredentials(… in MetadataCredentials_ComposedPerCall()
220 … var channelCredentials = ChannelCredentials.Create(TestCredentials.CreateSslCredentials(), in MetadataCredentials_InterceptorLeavesMetadataEmpty()
235 …var channelCredentials = ChannelCredentials.Create(TestCredentials.CreateSslCredentials(), callCre… in MetadataCredentials_InterceptorThrows()
DSslCredentialsTest.cs52 rootCert = File.ReadAllText(TestCredentials.ClientCertAuthorityPath); in InitClientAndServer()
54 File.ReadAllText(TestCredentials.ServerCertChainPath), in InitClientAndServer()
55 File.ReadAllText(TestCredentials.ServerPrivateKeyPath)); in InitClientAndServer()
70 … new ChannelOption(ChannelOptions.SslTargetNameOverride, TestCredentials.DefaultHostOverride) in InitClientAndServer()
207 Assert.AreEqual(TestCredentials.DefaultHostOverride, targetNameFromCallback); in VerifyPeerCallback_Accepted()
208 … var expectedServerPem = File.ReadAllText(TestCredentials.ServerCertChainPath).Replace("\r", ""); in VerifyPeerCallback_Accepted()
DInteropClientServerTest.cs48 … Ports = { { Host, ServerPort.PickUnused, TestCredentials.CreateSslServerCredentials() } } in Init()
54 … new ChannelOption(ChannelOptions.SslTargetNameOverride, TestCredentials.DefaultHostOverride) in Init()
57 channel = new Channel(Host, port, TestCredentials.CreateSslCredentials(), options); in Init()
DTestCredentials.cs35 public static class TestCredentials class
78 … var assemblyDir = Path.GetDirectoryName(typeof(TestCredentials).GetTypeInfo().Assembly.Location); in GetPath()
DInteropServer.cs78 server.Ports.Add(host, port, TestCredentials.CreateSslServerCredentials()); in Run()
DServerRunners.cs49 …var credentials = config.SecurityParams != null ? TestCredentials.CreateSslServerCredentials() : S… in CreateStarted()
DClientRunners.cs92 …var credentials = securityParams != null ? TestCredentials.CreateSslCredentials() : ChannelCredent… in CreateChannels()
DInteropClient.cs116 …credentials = options.UseTestCa.Value ? TestCredentials.CreateSslCredentials() : new SslCredential… in CreateCredentialsAsync()