16 references to Handle
NuGet.Packaging (1)
Signing\Cms\NativeUtility.cs (1)
119
signerInfo.hCryptProvOrhNCryptKey = privateKey.
Handle
.DangerousGetHandle();
System.Security.Cryptography (15)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (4)
259
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
279
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
312
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
347
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemCng.Windows.cs (3)
109
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
123
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
245
using (SafeNCryptKeyHandle duplicatedHandle = _key.
Handle
)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\CertificateHelpers.Windows.cs (1)
307
using (SafeNCryptKeyHandle handle = cngKey.
Handle
)
System\Security\Cryptography\BasicSymmetricCipherLiteNCrypt.cs (2)
98
using (SafeNCryptKeyHandle keyHandle = _key.
Handle
)
124
using (SafeNCryptKeyHandle keyHandle = _key.
Handle
)
System\Security\Cryptography\DSACng.Key.cs (1)
51
return Key.
Handle
;
System\Security\Cryptography\ECDiffieHellmanCng.Derive.cs (2)
137
using (SafeNCryptKeyHandle localHandle = Key.
Handle
)
138
using (SafeNCryptKeyHandle otherPartyHandle = otherPartyPublicKey.
Handle
)
System\Security\Cryptography\ECDsaCng.Key.cs (1)
119
return Key.
Handle
;
System\Security\Cryptography\RSACng.Key.cs (1)
56
return Key.
Handle
;