8 writes to ExportPolicy
System.Security.Cryptography (8)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (1)
405key.ExportPolicy = CngExportPolicies.AllowExport | CngExportPolicies.AllowPlaintextExport;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaImplementation.CreateCng.cs (1)
35key.ExportPolicy = CngExportPolicies.AllowExport | CngExportPolicies.AllowPlaintextExport;
System\Security\Cryptography\CngPkcs8.cs (2)
26key.ExportPolicy = CngExportPolicies.AllowExport | CngExportPolicies.AllowPlaintextExport; 39key.ExportPolicy = CngExportPolicies.AllowExport | CngExportPolicies.AllowPlaintextExport;
System\Security\Cryptography\DSACng.ImportExport.cs (1)
28newKey.ExportPolicy |= CngExportPolicies.AllowPlaintextExport;
System\Security\Cryptography\ECCng.ImportExport.cs (2)
15newKey.ExportPolicy |= CngExportPolicies.AllowPlaintextExport; 24newKey.ExportPolicy |= CngExportPolicies.AllowPlaintextExport;
System\Security\Cryptography\RSACng.ImportExport.cs (1)
25newKey.ExportPolicy |= CngExportPolicies.AllowPlaintextExport;
6 references to ExportPolicy
aspire (1)
Certificates\CertificateGeneration\WindowsCertificateManager.cs (1)
41cngPrivateKey.Key.ExportPolicy == CngExportPolicies.AllowExport);
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
45cngPrivateKey.Key.ExportPolicy == CngExportPolicies.AllowExport);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
45cngPrivateKey.Key.ExportPolicy == CngExportPolicies.AllowExport);
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
45cngPrivateKey.Key.ExportPolicy == CngExportPolicies.AllowExport);
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.Shared.cs (1)
11return (key.ExportPolicy & Exportable) == CngExportPolicies.AllowExport;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (1)
237if (kind != KeyBlobMagicNumber.BCRYPT_MLKEM_PUBLIC_MAGIC && _key.ExportPolicy == CngExportPolicies.None)