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