pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Chojecki <i...@rayman2200.de>
Subject Re: Signing.java example uses now deprecated BouncyCastle APIs
Date Mon, 27 Aug 2012 20:15:33 GMT

Zitat von Open eSignForms <yozons@gmail.com>:

> 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


Mime
View raw message