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