Paulo Soares-4 wrote
> Post your code, please.

Here it is:
public boolean addVerification(String signatureName, OcspClient ocsp, List
crls, CertificateOption certOption, Level level, CertificateInclusion
certInclude) throws IOException, GeneralSecurityException {    ...    if
(crls != null && !crls.isEmpty() && (level == Level.CRL || level ==
Level.OCSP_CRL || (level == Level.OCSP_OPTIONAL_CRL && ocspEnc == null)))       
 
for (CrlClient crl : crls) {            Collection<byte[]> cims =
crl.getEncoded(cert, null);            if (cims != null) {               
for (byte[] cim : cims) {                   boolean dup = false;                
   
for (byte[] b : vd.crls) {                      if (Arrays.equals(b, cim)) {    
                           
dup = true;                            break;                           }       
            
}                    if (!dup) {                        vd.crls.add(cim);       
                
LOGGER.info("CRL added");                    }                }            }    
   
}    ...




--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/LTV-signature-in-a-single-revision-tp4657550p4657608.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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