CryptMsgSignCTL

[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptMsgSignCTL(
   uint dwMsgEncodingType,
   IntPtr pbCtlContent,
   uint cbCtlContent,
   IntPtr pSignerCertInfo,
   uint dwSignerIndex,
   IntPtr rgSignerCert,
   IntPtr rgCrl,
   IntPtr pbEncoded,
   ref uint pcbEncoded
);

Microsoft documentation: Link

Last updated