internal struct CRYPT_VERIFY_MESSAGE_PARA
{
public int cbSize;
public uint dwMsgEncodingType;
public int hCryptProv;
public IntPtr pfnUnfortunatellyUnsupported;
public IntPtr pvUnfortunatellyUnsupported;
}
Structure CRYPT_VERIFY_MESSAGE_PARA
Public cbSize As Integer
Public dwMsgEncodingType As UInt32
Public hCryptProv As Integer
Public pfnUnfortunatellyUnsupported As IntPtr
Public pvUnfortunatellyUnsupported As IntPtr
End Structure
None.
1. cbSize set to 20 bytes works well for me
2. The only supported dwMsgEncodingType is X509_ASN_ENCODING | PKCS_7_ASN_ENCODING (see constants section)