IllegalArgumentException in chapter 6
Hi,
I can run all the examples in the book from chapter 1 to chapter 5 without any problem.
But, In chapter 5, the programs like X509V1CreateExample, X509V3CreateExample, and some others gives the following exception.
Can anybody help me?
Ibrahim
Regards
Exception in thread "main" java.lang.IllegalArgumentException: Unknown signature type requested
at org.bouncycastle.x509.X509V1CertificateGenerator.s etSignatureAlgorithm(Unknown Source)
at chapter6.X509V1CreateExample.generateV1Certificate (X509V1CreateExample.java:30)
at chapter6.X509V1CreateExample.main(X509V1CreateExam ple.java:43)
|