Great!

While we are into this, I might just offer two other small additions I had
to make to PdfPKCS7

These are not bug fixes, but added functionality.
I needed to be able to extract the actual hash and signature algorithm
OIDs from PdfPKCS7, but no such function was available.

Hence I added two simple getters:

public String getDigestEncryptionAlgorithmOid() {
    return digestEncryptionAlgorithm;
    }

public String getDigestAlgorithmOid() {
    return digestAlgorithm;
    }



If would be appreciated if you could add these getters to the code as well.

Thanks.

/Stefan Santesson





On 11-08-09 4:30 PM, "1T3XT BVBA" <i...@1t3xt.info> wrote:

>On 9/08/2011 15:01, Stefan Santesson wrote:
>> Hi,
>>
>> I have discovered a serious bug in the iText 5.1.1 signature
>> validation process and I have provided a patch that I would suggest
>> you implement in your next release.
>(...)
>> These changes are tested and works like a charm.
>Thanks! See the changelog:
>http://itext.svn.sourceforge.net/viewvc/itext?view=revision&revision=4933
>
>--------------------------------------------------------------------------
>----
>uberSVN's rich system and user administration capabilities and model
>configuration take the hassle out of deploying and managing Subversion
>and 
>the tools developers use with it. Learn more about uberSVN and get a free
>download at:  http://p.sf.net/sfu/wandisco-dev2dev
>_______________________________________________
>iText-questions mailing list
>iText-questions@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>iText(R) is a registered trademark of 1T3XT BVBA.
>Many questions posted to this list can (and will) be answered with a
>reference to the iText book: http://www.itextpdf.com/book/
>Please check the keywords list before you ask for examples:
>http://itextpdf.com/themes/keywords.php



------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to