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