Chapter 7 NoSuchFieldError: AuthorityKeyIdentifier
Hello, I have been trying to dig into the book for some weeks now and the going in the later stages of this book are showing a definite pattern when running the examples.
Case-in-point: attempts to run the chapter 7 class: X509CRLExample would not run without using a much older jar: bcprov-jdk16-140.jar. Reason is the class: NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable does not exist in the newer jar: bcprov-jdk15on-148.jar.
Once I got the example to run I am now confronted with the following exception:
at chapter7.X509CRLExample.createCRL(Unknown Source)
at chapter7.X509CRLExample.main(Unknown Source)
I really don't have the expertise to understand how to resolve this issue (the reason why I bought the book).
The examples in the book must be very much out-of-date with respect to the new BC jar API that is provided.
The examples are working fairly well thru ch. 4 or 5 or so but starting with ch. 6 and 7 nothing will run and therefore my progress on learning Java Crytography is waining.
And, I definitely need the use of Certs, paths, and keystores but with the examples I have now there is no way of making this stuff work without rewriting some of the code to work with the newer jar API.
An exhaustive search for an alternative on the net turns up not much.
Any suggestions welcomed.