public static partial bool CryptSignHash( SafeHashHandle hHash, KeySpec dwKeySpec, string?szDescription, CryptSignAndVerifyHashFlags dwFlags, byte[]?pbSignature, ref int pdwSigLen);
public static partial bool CryptVerifySignature( SafeHashHandle hHash, byte[] pbSignature, int dwSigLen, SafeCapiKeyHandle hPubKey, string?szDescription, CryptSignAndVerifyHashFlags dwFlags);
public static extern bool CryptSignHash( SafeHashHandle hHash, KeySpec dwKeySpec, string szDescription, CryptSignAndVerifyHashFlags dwFlags, [Out] byte[] pbSignature, [In, Out] ref int pdwSigLen);
public static extern bool CryptVerifySignature(SafeHashHandle hHash, byte[] pbSignature, int dwSigLen, SafeKeyHandle hPubKey, String sDescription, CryptSignAndVerifyHashFlags dwFlags);
public static extern bool CryptSignHash(SafeHashHandle hHash, KeySpec dwKeySpec, String sDescription, CryptSignAndVerifyHashFlags dwFlags, [Out] byte[] pbSignature, [In, Out] ref int pdwSigLen);