Example #1
0
 internal static extern bool CryptMsgControl(
     SafeCryptMsgHandle hCryptMsg,
     uint dwFlags,
     CMSG_CONTROL_TYPE dwCtrlType,
     IntPtr pvCtrlPara);
Example #2
0
 private NativeCms(SafeCryptMsgHandle handle, bool detached)
 {
     _handle   = handle;
     _detached = detached;
 }
Example #3
0
 internal static extern bool CryptMsgGetParam(
     SafeCryptMsgHandle hCryptMsg,
     CMSG_GETPARAM_TYPE dwParamType,
     uint dwIndex,
     IntPtr pvData,
     ref uint pcbData);
Example #4
0
 public static extern bool CryptMsgGetParam(
     SafeCryptMsgHandle hCryptMsg,
     CMSG_GETPARAM_TYPE dwParamType,
     uint dwIndex,
     byte[] pvData,
     ref uint pcbData);
Example #5
0
 public static extern bool CryptMsgUpdate(
     SafeCryptMsgHandle hCryptMsg,
     byte[] pbData,
     uint cbData,
     bool fFinal);
Example #6
0
 public static extern bool CryptMsgCountersign(
     SafeCryptMsgHandle hCryptMsg,
     uint dwIndex,
     int cCountersigners,
     CMSG_SIGNER_ENCODE_INFO rgCountersigners);
Example #7
0
 private NativeCms(SafeCryptMsgHandle handle)
 {
     _handle = handle;
 }