Zitat von Open eSignForms <[email protected]>:
Has anybody done this using the newer BC methods? I have the keys and X.509
certificate (but without using a BC/Java keystore) and it works as is, but
not sure how to change it to support non-deprecated APIs.
Hi,
I have done this for the new BC API and it work a bit easier.
You can take a look here:
http://www.bouncycastle.org/wiki/display/JA1/BC+Version+2+APIs
Also you can check the javadoc for the CMSSignedDataGenerator, it
contian an example
http://deic-dc0.uab.es/sc/bouncyCastleAPICerts/org/bouncycastle/cms/CMSSignedDataGenerator.html
If you google for this classes you will hopefully find some more examples.
Best regards
Thomas