18 references to Pfx
aspire (1)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
349var certBytes = certificate.Export(X509ContentType.Pfx, password);
Aspire.Cli.Tests (2)
Certificates\DeveloperCertificateCacheWriteTests.cs (1)
37File.WriteAllBytes(onDiskPfxPath, certificate.Export(X509ContentType.Pfx));
Certificates\NativeCertificateToolRunnerTests.cs (1)
70certificateManager.Certificates.Add(certificate.Export(X509ContentType.Pfx));
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
369return new X509Certificate2(certificate.Export(X509ContentType.Pfx));
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
369return new X509Certificate2(certificate.Export(X509ContentType.Pfx));
Aspire.Hosting (1)
DeveloperCertificateService.cs (1)
342var pfxBytes = needPfx ? certificate.Export(X509ContentType.Pfx, password) : null;
Aspire.Hosting.Tests (2)
Dcp\DcpHostNotificationTests.cs (1)
730return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx), password: null, X509KeyStorageFlags.Exportable);
DeveloperCertificateServiceTests.cs (1)
95var pfxBytes = selfSigned.Export(X509ContentType.Pfx);
dotnet-dev-certs (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
309var certBytes = certificate.Export(X509ContentType.Pfx); 337var certBytes = certificate.Export(X509ContentType.Pfx, password);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
309var certBytes = certificate.Export(X509ContentType.Pfx); 337var certBytes = certificate.Export(X509ContentType.Pfx, password);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
309var certBytes = certificate.Export(X509ContentType.Pfx); 337var certBytes = certificate.Export(X509ContentType.Pfx, password);
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\Helpers\CertGenerator.cs (1)
41return X509CertificateLoader.LoadPkcs12(cert.Export(X509ContentType.Pfx), password: null, X509KeyStorageFlags.UserKeySet);
RepoTasks (2)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
309var certBytes = certificate.Export(X509ContentType.Pfx); 337var certBytes = certificate.Export(X509ContentType.Pfx, password);
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509ContentType.cs (1)
15Pkcs12 = Pfx,