-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
6
-
None
-
Cause Known
-
generic
-
generic
As a result, Cipher.getInstance("RSA/ECB/OAEPPadding") will return a no-such algorithm exception.
import java.io.*;
import java.security.*;
import javax.crypto.*;
public class template1 {
public static void main(String args[]) throws Exception {
Cipher cipher =
Cipher.getInstance("RSA//OAEPPadding");
System.out.println(cipher.getProvider());
}
}
Andreas adds:
It appears "OAEPPadding" was added to RSACipher by 4923484 but this probably never worked correctly because the supported paddings in SunJCE were not updated.
import java.io.*;
import java.security.*;
import javax.crypto.*;
public class template1 {
public static void main(String args[]) throws Exception {
Cipher cipher =
Cipher.getInstance("RSA//OAEPPadding");
System.out.println(cipher.getProvider());
}
}
Andreas adds:
It appears "OAEPPadding" was added to RSACipher by 4923484 but this probably never worked correctly because the supported paddings in SunJCE were not updated.
- duplicates
-
JDK-8020081 Cipher with OAEPPadding and OAEPParameterSpec can't be created
-
- Closed
-