6 writes to _key
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (4)
22_key = new ECOpenSsl(curve); 45_key = new ECOpenSsl(this); 55_key = null; 79_key = new ECOpenSsl(this);
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
41_key = new ECOpenSsl(key); 67_key = new ECOpenSsl(ecKeyHandle);
15 references to _key
System.Security.Cryptography (15)
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (9)
23KeySizeValue = _key.KeySize; 54_key?.Dispose(); 78_key.Dispose(); 86KeySizeValue = _key.GenerateKey(curve); 95using (SafeEvpPKeyHandle handle = _key.UpRefKeyHandle()) 105KeySizeValue = _key.ImportParameters(parameters); 132[MemberNotNull(nameof(_key))] 135ObjectDisposedException.ThrowIf(_key is null, this); 141return _key.Value;
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (4)
89Debug.Assert(_key is not null); // Callers should validate prior. 94bool thisIsNamed = Interop.Crypto.EcKeyHasCurveName(_key.Value); 126ourKey = _key.UpRefKeyHandle(); 131ourKey = _key.UpRefKeyHandle();
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
42KeySizeValue = _key.KeySize; 68KeySizeValue = _key.KeySize;