5 writes to Key
System.Security.Cryptography (5)
System\Security\Cryptography\ECDiffieHellmanCng.cs (5)
31
Key
= CngAlgorithmCore.Duplicate(key);
41
Key
= key;
161
Key
= newKey;
175
Key
= newKey;
198
Key
= response.Key;
13 references to Key
System.Security.Cryptography (13)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (2)
69
return ECCng.ExportExplicitParameters(
Key
, includePrivateParameters);
74
return ECCng.ExportParameters(
Key
, includePrivateParameters);
System\Security\Cryptography\ECDiffieHellmanCng.cs (7)
153
return
Key
.GetCurveName(out oidValue);
186
return ECCng.ExportKeyBlob(
Key
, includePrivateParameters);
191
return ECCng.ExportFullKeyBlob(
Key
, includePrivateParameters);
209
bool encryptedOnlyExport = CngPkcs8.AllowsOnlyEncryptedExport(
Key
);
223
return
Key
.TryExportKeyBlob(
231
return
Key
.ExportPkcs8KeyBlob(pkcs8Password, kdfCount);
240
return
Key
.TryExportPkcs8KeyBlob(
System\Security\Cryptography\ECDiffieHellmanCng.Derive.cs (1)
137
using (SafeNCryptKeyHandle localHandle =
Key
.Handle)
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
18
return ECDiffieHellmanCngPublicKey.FromKey(
Key
);
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (2)
176
ICertificatePal? clone = CopyWithPersistedCngKey(ecdhCng.
Key
);
191
return CopyWithEphemeralKey(clonedKey.
Key
);