aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/security/wycheproof/testcases/RsaSignatureTest.java
diff options
context:
space:
mode:
authorJack He <siyuanh@google.com>2020-05-05 00:32:14 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-05 00:32:14 +0000
commit3fc418dda8d2065ce06ffb02b380595bb76af255 (patch)
treec11bd2eaef548732be4c7b00794d8b9561bc3f7b /java/com/google/security/wycheproof/testcases/RsaSignatureTest.java
parent6da408c3517e10dec279a70ee91263bb8ca68c44 (diff)
parent4e6be05f469051f2f828fcfb2125b6e53702d010 (diff)
downloadwycheproof-3fc418dda8d2065ce06ffb02b380595bb76af255.tar.gz
Merge "Revert "Remove deprecated BouncyCastle algorithms"" am: 4e6be05f46
Change-Id: I243202e63487adc23c57bb4f7e5cd690f28adb16
Diffstat (limited to 'java/com/google/security/wycheproof/testcases/RsaSignatureTest.java')
-rw-r--r--java/com/google/security/wycheproof/testcases/RsaSignatureTest.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/java/com/google/security/wycheproof/testcases/RsaSignatureTest.java b/java/com/google/security/wycheproof/testcases/RsaSignatureTest.java
index f9e97ba..3d214fe 100644
--- a/java/com/google/security/wycheproof/testcases/RsaSignatureTest.java
+++ b/java/com/google/security/wycheproof/testcases/RsaSignatureTest.java
@@ -16,8 +16,6 @@
package com.google.security.wycheproof;
-import com.google.security.wycheproof.WycheproofRunner.ExcludedTest;
-import com.google.security.wycheproof.WycheproofRunner.ProviderType;
import java.math.BigInteger;
import java.security.KeyFactory;
import java.security.KeyPair;
@@ -1076,9 +1074,6 @@ public class RsaSignatureTest extends TestCase {
+ "0000",
};
- @ExcludedTest(
- providers = {ProviderType.BOUNCY_CASTLE},
- comment = "KeyPairGenerator.RSA is removed")
public void testBasic() throws Exception {
String algorithm = "SHA256WithRSA";
String hashAlgorithm = "SHA-256";
@@ -1160,9 +1155,6 @@ public class RsaSignatureTest extends TestCase {
}
/** SunJCE threw an OutOfMemoryError with one of the signatures. */
- @ExcludedTest(
- providers = {ProviderType.BOUNCY_CASTLE},
- comment = "KeyFactory.RSA is removed")
public void testVectorsAll() throws Exception {
testVectors(RSA_KEY1, ALGORITHM_KEY1, SIGNATURES_KEY1);
}
@@ -1195,9 +1187,6 @@ public class RsaSignatureTest extends TestCase {
* https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/Jo5S7HtEABI claims that
* 7% of the responses in the Online Certificate Status Protocol (OCSP) miss the NULL parameter
*/
- @ExcludedTest(
- providers = {ProviderType.BOUNCY_CASTLE},
- comment = "KeyFactory.RSA is removed")
public void testLegacySignatures() throws Exception {
RSAPublicKeySpec key = RSA_KEY1;
String algorithm = ALGORITHM_KEY1;