B4J Question Create a CMS/PKCS#7 digital signature using Bouncy Castle


Active Member
Licensed User
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 encryption rather than signatures.
In addition having some samples code to calculate the signature would help a lot.

Does anyone have something about it?