Filipe Pina
Filipe Pina

Reputation: 2239

Create PKCS#7 detached signature

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

Answers (1)

szhem
szhem

Reputation: 4712

Try to use Bouncy Castle. Here is the sample of creating PKCS7 signatures with it.

Upvotes: 3

Related Questions