Ask about Bouncy Castle provider
I have problem but can not solve it.
My java is jdk1.6.
I finished examples in chapter 1. That mean now, I have bcprov-jdk16-145.jar in the C:\jdk1.6.0_20\jre\lib\ext, I also download Unlimited Strength Jurisdiction Policy Files and put it into C:\jdk1.6.0_20\jre\lib\ext.
I also modify java.security to add : security.provider.N=org.bouncycastle.jce.provider. BouncyCastleProvider
But when I put the code of chapter 5, eclipse has error :" Access restriction: The type ASN1InputStream is not accessible due to restriction on required library C:\jdk1.6.0_20\jre\lib\ext\bcprov-jdk16-145.jar"
For every class of Bouncy Castle have the same error.
Could you help me?
Thanks and Regards,