The CryptSignAndEncryptMessage function creates a hash of the specified content, signs the hash, encrypts the content, hashes the encrypted contents and the signed hash, and then encodes both the encrypted content and the signed hash. The result is the same as if the hash were first signed and then encrypted.
8/21/2013 10:15:59 PM - -76.238.238.248
.
static extern bool CryptSignAndEncryptMessage(
.
Declare Function CryptSignAndEncryptMessage Lib "crypt32.dll" (TODO) As TODO