eu-emi / canl-java

Common authentication library (caNl), Java version
Other
14 stars 5 forks source link

DERBoolean → ASN1Boolean #76

Closed ellert closed 9 years ago

ellert commented 9 years ago

With bouncycastle 1.52 the code as written results in a ClassCastException:

java.lang.ClassCastException: org.bouncycastle.asn1.ASN1Boolean cannot be cast to org.bouncycastle.asn1.DERBoolean

This patch resolves this issue. The patched code still works with bouncycastle 1.50.

golbi commented 9 years ago

The update to 1.52 was performed already, so thank you again for this patch, but needs not to be applied.