23 references to Pfx
aspire (1)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
355var 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)
324return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx), password: null);
Aspire.Dashboard.Playwright.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
324return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx), password: null);
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
324return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx), password: null);
Aspire.Hosting (1)
DeveloperCertificateService.cs (1)
340var pfxBytes = needPfx ? certificate.Export(X509ContentType.Pfx, password) : null;
Aspire.Hosting.Azure.EntraId (1)
LocalDeveloperCertificateStore.cs (1)
92var pfx = generated.Export(X509ContentType.Pfx);
Aspire.Hosting.Azure.EntraId.Tests (1)
LocalDeveloperCertificateTests.cs (1)
139await File.WriteAllBytesAsync(path, certificate.Export(X509ContentType.Pfx), TestContext.Current.CancellationToken);
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpReadyTestHost.cs (1)
50var certificate = X509CertificateLoader.LoadPkcs12(keyedCertificate.Export(X509ContentType.Pfx), password: null);
Aspire.Hosting.Tests (3)
Dcp\DcpApiServerCertificateFixture.cs (1)
24return X509CertificateLoader.LoadPkcs12(certificate.Export(X509ContentType.Pfx), password: null);
Dcp\DcpHostNotificationTests.cs (1)
871return 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,