You must have at least iText 5.0.1 for that to work correctly. If that's the 
case, are you sure you have CRLs in the PDF?

Paulo

-----Original Message-----
From: jfsa [mailto:[email protected]] 
Sent: Monday, September 20, 2010 10:46 AM
To: [email protected]
Subject: [iText-questions] How to get a CRL added to signature while verifying


Hi,

I am including a CRL to my PDF signature using the method setCrypto : I pass
my CRLs array to this method.
Now I want to get these CRLs while verifying the signature to verify if the
certificate is revoked or not.
Could someone help me to get these CRLs? I tried to use pk.getCRLs() : pk is
a PdfPKCS7, but I am having a null collection of CRLs as result!

Thanks.
JFSA


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to