1 write to SelfSignedValidWithNoEku
Microsoft.AspNetCore.HttpOverrides.Tests (1)
src\Shared\test\Certificates\Certificates.cs (1)
39
SelfSignedValidWithNoEku
= MakeCert(
8 references to SelfSignedValidWithNoEku
Microsoft.AspNetCore.HttpOverrides.Tests (8)
CertificateForwardingTest.cs (8)
59
Assert.Equal(context.Connection.ClientCertificate, Certificates.
SelfSignedValidWithNoEku
);
71
c.Request.Headers["X-Client-Cert"] = Convert.ToBase64String(Certificates.
SelfSignedValidWithNoEku
.RawData);
98
Assert.Equal(context.Connection.ClientCertificate, Certificates.
SelfSignedValidWithNoEku
);
110
c.Request.Headers["X-Client-Cert"] = Convert.ToBase64String(Certificates.
SelfSignedValidWithNoEku
.RawData);
136
Assert.Equal(context.Connection.ClientCertificate, Certificates.
SelfSignedValidWithNoEku
);
148
c.Request.Headers["X-ARR-ClientCert"] = Convert.ToBase64String(Certificates.
SelfSignedValidWithNoEku
.RawData);
186
c.Request.Headers["not-the-right-header"] = Convert.ToBase64String(Certificates.
SelfSignedValidWithNoEku
.RawData);
224
c.Request.Headers["X-Client-Cert"] = "OOPS" + Convert.ToBase64String(Certificates.
SelfSignedValidWithNoEku
.RawData);