Dear users, a new Joinup release will be deployed on Monday 24/01/2022 between 16.00 and 17:30 CET and will require a downtime of 20 minutes. Please adjust your use of the platform accordingly during this time-frame.

EDO-25 Verification of OCD payload fails with java.lang.ClassCastException:

Published on: 04/12/2012

Verification of OCD payload fails with java.lang.ClassCastException: org.bouncycastle.asn1.DERPrintableString cannot be cast to org.bouncycastle.asn1.x500.DirectoryString

We are trying to verify documents signed using Lithuanian ID card and getting internal error:
1. OCD we are verifying:
2. exception printed to system.out: error.txt
3. full log4j log: log.txt
NOTE: exception is not printed to log4j log
4. libraries used: libs.txt


Nemunas Karalius added a comment - 26/Sep/12 9:57 AM

Same problem when we trying to validate pdf ocd:
1. PDF OCD we are verifying: 2-ocd3.pdf
2. log with exception: 2-log.txt
3. test java source:
4. libs used: 2-libs.txt

  Daniele Mongiello added a comment - 02/Oct/12 1:28 PM

Released a fix in jdesign-eu-1.1.1.jar, available on