Example #1
0
 public static extern SafeCryptMsgHandle CryptMsgOpenToDecode(
     CMSG_ENCODING dwMsgEncodingType,
     CMSG_OPENTODECODE_FLAGS dwFlags,
     uint dwMsgType,
     IntPtr hCryptProv,
     IntPtr pRecipientInfo,
     IntPtr pStreamInfo);
Example #2
0
 internal static extern bool CryptEncodeObjectEx(
     CMSG_ENCODING dwCertEncodingType,
     IntPtr lpszStructType,
     IntPtr pvStructInfo,
     uint dwFlags,
     IntPtr pEncodePara,
     IntPtr pvEncoded,
     ref uint pcbEncoded);
Example #3
0
 internal static extern bool CryptDecodeObject(
     CMSG_ENCODING dwCertEncodingType,
     IntPtr lpszStructType,
     IntPtr pbEncoded,
     uint cbEncoded,
     uint dwFlags,
     IntPtr pvStructInfo,
     IntPtr pcbStructInfo);
Example #4
0
 public static extern SafeCryptMsgHandle CryptMsgOpenToEncode(
     CMSG_ENCODING dwMsgEncodingType,
     uint dwFlags,
     uint dwMsgType,
     ref CMSG_SIGNED_ENCODE_INFO pvMsgEncodeInfo,
     string pszInnerContentObjID,
     IntPtr pStreamInfo
     );
Example #5
0
 public static extern SafeCryptMsgHandle CryptMsgOpenToDecode(
     CMSG_ENCODING dwMsgEncodingType,
     CMSG_OPENTODECODE_FLAGS dwFlags,
     uint dwMsgType,
     IntPtr hCryptProv,
     IntPtr pRecipientInfo,
     IntPtr pStreamInfo);