Пример #1
0
 public static extern Int32 NCryptVerifySignature(
     [In] SafeNCryptKeyHandle hKey,
     [In, Optional] IntPtr pPaddingInfo,
     [In, MarshalAs(UnmanagedType.LPArray)] Byte[] pbHashValue,
     [In] Int32 cbHashValue,
     [Out, MarshalAs(UnmanagedType.LPArray)] Byte[] pbSignature,
     [In] Int32 cbSignature,
     [In] SignaturePadding dwFlags
     );
Пример #2
0
 public static extern Int32 NCryptVerifySignature(
     [In] SafeNCryptKeyHandle hKey,
     [In] ref nCrypt2.BCRYPT_PSS_PADDING_INFO pPaddingInfo,
     [In, MarshalAs(UnmanagedType.LPArray)] Byte[] pbHashValue,
     [In] Int32 cbHashValue,
     [Out, MarshalAs(UnmanagedType.LPArray)]
     Byte[] pbSignature,
     [In] Int32 cbSignature,
     [In] SignaturePadding dwFlags
     );