diff options
Diffstat (limited to 'javax/crypto/KeyGenerator.java')
-rw-r--r-- | javax/crypto/KeyGenerator.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/javax/crypto/KeyGenerator.java b/javax/crypto/KeyGenerator.java index b0977f0a..5dfde971 100644 --- a/javax/crypto/KeyGenerator.java +++ b/javax/crypto/KeyGenerator.java @@ -326,8 +326,6 @@ public class KeyGenerator { public static final KeyGenerator getInstance(String algorithm, String provider) throws NoSuchAlgorithmException, NoSuchProviderException { - // Android-added: Check for Bouncy Castle deprecation - Providers.checkBouncyCastleDeprecation(provider, "KeyGenerator", algorithm); Instance instance = JceSecurity.getInstance("KeyGenerator", KeyGeneratorSpi.class, algorithm, provider); return new KeyGenerator((KeyGeneratorSpi)instance.impl, @@ -366,8 +364,6 @@ public class KeyGenerator { */ public static final KeyGenerator getInstance(String algorithm, Provider provider) throws NoSuchAlgorithmException { - // Android-added: Check for Bouncy Castle deprecation - Providers.checkBouncyCastleDeprecation(provider, "KeyGenerator", algorithm); Instance instance = JceSecurity.getInstance("KeyGenerator", KeyGeneratorSpi.class, algorithm, provider); return new KeyGenerator((KeyGeneratorSpi)instance.impl, |