diff options
Diffstat (limited to 'java/security/KeyFactory.java')
-rw-r--r-- | java/security/KeyFactory.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/java/security/KeyFactory.java b/java/security/KeyFactory.java index d01ce161..a6b912c5 100644 --- a/java/security/KeyFactory.java +++ b/java/security/KeyFactory.java @@ -231,8 +231,6 @@ public class KeyFactory { */ public static KeyFactory getInstance(String algorithm, String provider) throws NoSuchAlgorithmException, NoSuchProviderException { - // Android-added: Check for Bouncy Castle deprecation - Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm); Instance instance = GetInstance.getInstance("KeyFactory", KeyFactorySpi.class, algorithm, provider); return new KeyFactory((KeyFactorySpi)instance.impl, @@ -270,8 +268,6 @@ public class KeyFactory { */ public static KeyFactory getInstance(String algorithm, Provider provider) throws NoSuchAlgorithmException { - // Android-added: Check for Bouncy Castle deprecation - Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm); Instance instance = GetInstance.getInstance("KeyFactory", KeyFactorySpi.class, algorithm, provider); return new KeyFactory((KeyFactorySpi)instance.impl, |