Novosec wouldn't work with latest bouncycastle, bcprov-jdk15on-1.49 and bcpkix-jdk15on-1.49, where org.bouncycastle.asn1.DEREncodable and org.bouncycastle.asn1.DERObject are not specified.
The test1 and test2 you given still complains. It is complaining org.bouncycastle.asn1.x509.Certificate cannot be cast to org.bouncycastle.asn1.x509.X509CertificateStructure. And there are a few of them inside the code.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
novosec cmp wouldn't work with latest bouncy castle
Hm, i thought i implemented the port for BC>=1.47 a few months ago. Maybe not all files made it to sourceforge. I'll look into this later today.
Yes, the files in the CVS repo were up-to-date, but the downloadable package was not. Fixed it, you can download novosec-bc-ext-110.tar.gz now.
Last edit: Dr. Ernst-Udo Wallenborn 2014-03-14
The test1 and test2 you given still complains. It is complaining org.bouncycastle.asn1.x509.Certificate cannot be cast to org.bouncycastle.asn1.x509.X509CertificateStructure. And there are a few of them inside the code.