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