24 references to Pfx
dotnet-dev-certs (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
HttpStress (1)
Program.cs (1)
405cert = new X509Certificate2(cert.Export(X509ContentType.Pfx));
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
165endEntity = new X509Certificate2(endEntity.Export(X509ContentType.Pfx), (string?)null, X509KeyStorageFlags.Exportable);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
314File.WriteAllBytes(CertificateName, wrongSubjectCertificate.Export(X509ContentType.Pfx, certificatePassword));
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\CertHelper.cs (1)
165endEntity = new X509Certificate2(endEntity.Export(X509ContentType.Pfx), (string?)null, X509KeyStorageFlags.Exportable);
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (1)
54case X509ContentType.Pfx:
System\Security\Cryptography\X509Certificates\X509ContentType.cs (1)
15Pkcs12 = Pfx,
Templates.Blazor.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Templates.Blazor.WebAssembly.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Templates.Mvc.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
Templates.Tests (2)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
313var certBytes = certificate.Export(X509ContentType.Pfx); 341var certBytes = certificate.Export(X509ContentType.Pfx, password);
WebTransportInteractiveSampleApp (1)
Program.cs (1)
195cert = new(crt.Export(X509ContentType.Pfx));
WebTransportSampleApp (1)
Program.cs (1)
81cert = new(crt.Export(X509ContentType.Pfx));