4 writes to Key
System.Security.Cryptography (4)
System\Security\Cryptography\RSACng.cs (2)
31Key = CngAlgorithmCore.Duplicate(key); 50Key = key;
System\Security\Cryptography\RSACng.ImportExport.cs (2)
26Key = newKey; 39Key = response.Key;
13 references to Key
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 (9)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSACng.ImportExport.cs (1)
183bool encryptedOnlyExport = CngPkcs8.AllowsOnlyEncryptedExport(Key);
System\Security\Cryptography\RSACng.ImportExport.cs (5)
50return Key.Export(includePrivateParameters ? s_rsaFullPrivateBlob : s_rsaPublicBlob); 55bool encryptedOnlyExport = CngPkcs8.AllowsOnlyEncryptedExport(Key); 69return Key.TryExportKeyBlob( 77return Key.ExportPkcs8KeyBlob(pkcs8Password, kdfCount); 86return Key.TryExportPkcs8KeyBlob(
System\Security\Cryptography\RSACng.Key.cs (1)
56return Key.Handle;
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (2)
214clone = CopyWithPersistedCngKey(rsaCng.Key); 246return CopyWithEphemeralKey(clonedKey.Key);