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