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