35 writes to ServerCertificate
Certificate.Optional.Sample (2)
Http3SampleApp (3)
InMemory.FunctionalTests (10)
Interop.FunctionalTests (2)
Kestrel.SampleApp (1)
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (5)
System.Net.Security (4)
46 references to ServerCertificate
InMemory.FunctionalTests (4)
Microsoft.AspNetCore.Server.Kestrel.Core (6)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (26)
SniOptionsSelectorTests.cs (26)
73Assert.Equal("Exact", pathDictionary[wwwSubdomainOptions.ServerCertificate]);
76Assert.Equal("WildcardPrefix", pathDictionary[baSubdomainOptions.ServerCertificate]);
79Assert.Equal("WildcardPrefix", pathDictionary[aSubdomainOptions.ServerCertificate]);
85Assert.Equal("WildcardOnly", pathDictionary[noSubdomainOptions.ServerCertificate]);
88Assert.Equal("WildcardOnly", pathDictionary[anotherTldOptions.ServerCertificate]);
130Assert.Equal("Long", pathDictionary[baSubdomainOptions.ServerCertificate]);
134Assert.Equal("Short", pathDictionary[aSubdomainOptions.ServerCertificate]);
176Assert.Equal("Exact", pathDictionary[wwwSubdomainOptions.ServerCertificate]);
179Assert.Equal("WildcardPrefix", pathDictionary[baSubdomainOptions.ServerCertificate]);
182Assert.Equal("WildcardPrefix", pathDictionary[aSubdomainOptions.ServerCertificate]);
225Assert.Equal("Exact", pathDictionary[wwwSubdomainOptions.ServerCertificate]);
228Assert.Equal("WildcardPrefix", pathDictionary[baSubdomainOptions.ServerCertificate]);
231Assert.Equal("WildcardPrefix", pathDictionary[aSubdomainOptions.ServerCertificate]);
240var fullChain = fullChainDictionary[aSubdomainOptions.ServerCertificate];
288Assert.Equal("a", pathDictionary[aSubdomainOptions.ServerCertificate]);
291Assert.Equal("b", pathDictionary[bSubdomainOptions.ServerCertificate]);
381Assert.Equal("WildcardOnly", pathDictionary[options.ServerCertificate]);
487Assert.Same(selectorCertificate, selectorOptions1.ServerCertificate);
490Assert.Same(selectorCertificate, selectorOptions2.ServerCertificate);
496Assert.NotSame(selectorCertificate, configOptions1.ServerCertificate);
499Assert.NotSame(selectorCertificate, configOptions2.ServerCertificate);
546Assert.Same(fallbackOptions.ServerCertificate, options.ServerCertificate);
574Assert.Same(selectorCertificate, options.ServerCertificate);
894Assert.Same(options.ServerCertificate, clonedOptions.ServerCertificate);
895Assert.True(propertyNames.Remove(nameof(options.ServerCertificate)));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
System.Net.Quic (3)
System.Net.Security (5)