I need to create a server application that generates CMS or PKCS#7 digital signatures.
Using the Bouncy Castle library would help as it has all the required functions.
However I have no idea on how to write a wrapper to use it and all the libraries I've seen here using BC were focused on...