6 references to GetCertPath
Interop.FunctionalTests (6)
Http3\Http3TlsTests.cs (1)
433
var expectedCertificate = new X509Certificate2(TestResources.
GetCertPath
("aspnetdevcert.pfx"), "testPassword", X509KeyStorageFlags.Exportable);
src\Shared\TestResources.cs (5)
31
return new X509Certificate2(
GetCertPath
(certName), "testPassword");
41
return new X509Certificate2(
GetCertPath
(certName), password);
46
var cert = X509Certificate2.CreateFromPemFile(
GetCertPath
(certName),
GetCertPath
(keyName));
69
fullChain.ImportFromPemFile(
GetCertPath
("leaf.com.crt"));