Errors in execute RSA prog. using BC.
hi frens,
im getting errors in execute RSA programe and this involved bouncy castle and JCE packages.
for the kind information, im using jsdk1.4.1_01, XP pro,
i hv installed Java Cryptography Extension (JCE) package and download the Bouncy Castle provider.
I placed all the .jar files into c:\j2sdk1.4.1_01\jre\lib\ext.
and also add the line below to C:\j2sdk1.4.1_01\jre\lib\security\java security file
" security.provider.4=com.sun.crypto.provider.SunJCE
"security.provider.6=org.bouncycastle.jce.provider.BouncyCastleProvider
The errors that im getting are...
C:\Documents and Settings\Kasturi Ramalu\Desktop\coding>javac RSAJEncrypt.java
RSAJEncrypt.java:7: package org.bouncycastle.jce.provider does not exist
import org.bouncycastle.jce.provider.BouncyCastleProvider;
^
RSAJEncrypt.java:17: cannot resolve symbol
symbol : class BouncyCastleProvider
location: class RSAJEncrypt
Security.addProvider(new BouncyCastleProvider());
^
2 errors
Please help me, frens.
I need ur helps.
thanking in advance.
camili.
camili_kas24@yahoo.com

