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)
23
KeySizeValue =
_key
.KeySize;
54
_key
?.Dispose();
78
_key
.Dispose();
86
KeySizeValue =
_key
.GenerateKey(curve);
95
using (SafeEvpPKeyHandle handle =
_key
.UpRefKeyHandle())
105
KeySizeValue =
_key
.ImportParameters(parameters);
132
[MemberNotNull(nameof(
_key
))]
135
ObjectDisposedException.ThrowIf(
_key
is null, this);
141
return
_key
.Value;
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.Derive.cs (4)
89
Debug.Assert(
_key
is not null); // Callers should validate prior.
94
bool thisIsNamed = Interop.Crypto.EcKeyHasCurveName(
_key
.Value);
126
ourKey =
_key
.UpRefKeyHandle();
131
ourKey =
_key
.UpRefKeyHandle();
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
42
KeySizeValue =
_key
.KeySize;
68
KeySizeValue =
_key
.KeySize;