57 references to Pkcs12
dotnet-dev-certs (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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, "");
HttpClientApp (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.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, "");
InMemory.FunctionalTests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Interop.FunctionalTests (2)
Http3\Http3TlsTests.cs (1)
434var bytes = expectedCertificate.Export(X509ContentType.Pkcs12, "1234");
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Microsoft.AspNetCore.DeveloperCertificates.XPlat (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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.HttpSys.FunctionalTests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Microsoft.AspNetCore.Server.Kestrel.Core (4)
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\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.Core.Tests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Microsoft.AspNetCore.Server.Kestrel.Tests (11)
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);
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Sockets.BindTests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
Sockets.FunctionalTests (1)
src\Shared\TestResources.cs (1)
51return new X509Certificate2(cert.Export(X509ContentType.Pkcs12));
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
264certificateData = collection.Export(X509ContentType.Pkcs12)!; 268certificateData = certificate.Export(X509ContentType.Pkcs12);
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\OpenSslDirectoryBasedStoreProvider.cs (1)
215byte[] pkcs12 = copy.Export(X509ContentType.Pkcs12)!;
System\Security\Cryptography\X509Certificates\OpenSslX509Encoder.cs (2)
85return X509ContentType.Pkcs12; 147return X509ContentType.Pkcs12;
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
686if (!(contentType == X509ContentType.Cert || contentType == X509ContentType.SerializedCert || contentType == X509ContentType.Pkcs12))
Templates.Blazor.Tests (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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 (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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 (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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 (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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 (3)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
533bytes = certificate.Export(X509ContentType.Pkcs12, 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, "");