2 references to CreateSafeNCryptKeyHandle
System.Security.Cryptography (2)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X509Certificates\CertificateHelpers.Windows.cs (2)
148
return
CreateSafeNCryptKeyHandle
(privateKeyPtr, certificateContext);
181
SafeNCryptKeyHandle newKeyHandle =
CreateSafeNCryptKeyHandle
(privateKey.DangerousGetHandle(), certificateContext);