10 references to UnsafeNativeMethods
mscorlib (10)
system\security\cryptography\capinative.cs (10)
289if (!UnsafeNativeMethods.CryptAcquireContext(out cspHandle, 309if (!UnsafeNativeMethods.CryptCreateHash(cspHandle, algorithm, IntPtr.Zero, 0, out hashHandle)) { 324if (!UnsafeNativeMethods.CryptGenRandom(cspHandle, buffer.Length, buffer)) { 342if (!UnsafeNativeMethods.CryptGenRandom(cspHandle, count, pBuffer)) 370if (!UnsafeNativeMethods.CryptGetHashParam(hashHandle, property, buffer, ref bufferSize, 0)) { 379if (!UnsafeNativeMethods.CryptGetHashParam(hashHandle, property, buffer, ref bufferSize, 0)) { 407if (!UnsafeNativeMethods.CryptGetKeyParam(keyHandle, property, buffer, ref bufferSize, 0)) { 416if (!UnsafeNativeMethods.CryptGetKeyParam(keyHandle, property, buffer, ref bufferSize, 0)) { 432if (!UnsafeNativeMethods.CryptSetHashParam(hashHandle, property, value, 0)) { 470if (UnsafeNativeMethods.CryptVerifySignature(hashHandle,