52 references to Export
dotnet-dev-certs (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
55var export = parentCert.Export(X509ContentType.Pkcs12, "");
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
434var bytes = expectedCertificate.Export(X509ContentType.Pkcs12, "1234");
Microsoft.AspNetCore.DeveloperCertificates.XPlat (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
314File.WriteAllBytes(CertificateName, wrongSubjectCertificate.Export(X509ContentType.Pfx, certificatePassword));
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Certificates\CertificateConfigLoader.cs (1)
88var certificateBytes = fullCertificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Microsoft.AspNetCore.Server.Kestrel.Tests (10)
KestrelConfigurationLoaderTests.cs (10)
250var bytes = certificate.Export(X509ContentType.Pkcs12, "1234"); 291var devCertBytes = devCert.Export(X509ContentType.Pkcs12, "1234"); 417var bytes = certificate.Export(X509ContentType.Pkcs12, "1234"); 464var bytes = certificate.Export(X509ContentType.Pkcs12, "1234"); 513var bytes = certificate.Export(X509ContentType.Pkcs12, "1234"); 707var bytes = certificate.Export(X509ContentType.Pkcs12, "1234"); 860var oldCertificateBytes = oldCertificate.Export(X509ContentType.Pkcs12, certificatePassword); 863var newCertificateBytes = newCertificate.Export(X509ContentType.Pkcs12, certificatePassword); 958var oldCertificateBytes = oldCertificate.Export(X509ContentType.Pkcs12, certificatePassword); 963var newCertificateBytes = newCertificate.Export(X509ContentType.Pkcs12, certificatePassword);
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
318return Export(contentType, (string?)null);
Templates.Blazor.Tests (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Templates.Blazor.WebAssembly.Auth.Tests (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Templates.Blazor.WebAssembly.Tests (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Templates.Mvc.Tests (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");
Templates.Tests (4)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, password);
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
341var certBytes = certificate.Export(X509ContentType.Pfx, password);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
154var export = certificate.Export(X509ContentType.Pkcs12, "");
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
58var export = certificate.Export(X509ContentType.Pkcs12, "");