Reputation: 2239
I've been googling how to do this (in Java) with very little success.
Creating the Signature object is pretty straightforward and so is getting the certificate chain, but how do I create a detached PKCS#7 object with that data?
Upvotes: 5
Views: 5291
Reputation: 4712
Try to use Bouncy Castle. Here is the sample of creating PKCS7 signatures with it.
Upvotes: 3