Hi, can someone help me with:NoSuchAlgorithmException
843810Sep 5 2003 — edited Sep 8 2003Hi firneds, Sorry by my poor English.
I am trying to use a "cipher", and I get this error:
java.security.NoSuchAlgorithmException: Algorithm RSA_PKCS1_v2_1 not
available at javax.crypto.b.a([DashoPro-V1.2-120198]) at
javax.crypto.Cipher.getInstance ...
What's going wrong?
My code...
import javax.crypto.*;
public class Cifrado
{
Cipher cipher;
.....
public void Cifra(byte[] input, String Algor, PublicKey publickey,
PrintStream out)
{
...
try {
cipher = Cipher.getInstance Algor); ///"RSA_PKCS1_v2_1/CBC/PKCS5Padding"
}
catch(Exception e){
e.printStackTrace(out);
}
...
In another class I did set the provider with:
import de.flexiprovider.core.*;
...
Security.addProvider(new de.flexiprovider.core.FlexiCoreProvider());
------------------------------------------------------------------------
I'm trying to use FlexiPorvider with jdk 1.3.1_01 as development tool
by your time: thanks a lot.