/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator1Test.java | 58 private static Provider validProvider = null; 131 * Test for <code>getInstance(String algorithm, String provider)</code> 134 * throws IllegalArgumentException if provider is null or empty 142 String provider = null; local 145 AlgorithmParameterGenerator.getInstance(algs[i], provider); 146 fail("IllegalArgumentException must be thrown when provider is null"); 151 fail("IllegalArgumentException must be thrown when provider is empty"); 158 * Test for <code>getInstance(String algorithm, String provider)</code> 160 * Assertion: throws NoSuchProviderException if provider is not 174 fail("NoSuchProviderException must be thrown (provider: 244 Provider provider = null; local [all...] |
KeyFactory2Test.java | 27 import java.security.Provider; 124 fail("getInstance did not find provider " + providerName); 160 fail("getInstance did not find provider " + providerName); 182 fail("getInstance did not find provider " + providerName); 212 Provider[] providers = Security.getProviders("KeyFactory.DSA"); 223 fail("getInstance did not find the provider"); 226 // Test2: Test with null provider name 286 fail("getInstance did not find provider " + providerName); 297 // Test for method java.security.Provider 302 Provider p = fact.getProvider() 365 Provider provider = Security.getProvider(providerName); local [all...] |
KeyPairGenerator1Test.java | 60 public static Provider validProvider = null; 135 * Test for <code>getInstance(String algorithm, String provider)</code> 137 * Assertion: throws IllegalArgumentException when provider is null or empty 145 String provider = null; local 148 KeyPairGenerator.getInstance(algs[i], provider); 149 fail("IllegalArgumentException must be thrown when provider is null"); 154 fail("IllegalArgumentException must be thrown when provider is empty"); 161 * Test for <code>getInstance(String algorithm, String provider)</code> 178 .concat(algs[i]).concat(" provider: ").concat( 187 * Test for <code>getInstance(String algorithm, String provider)</code 247 Provider provider = null; local [all...] |
Security2Test.java | 21 import java.security.Provider; 41 Provider[] allProviders = Security.getProviders(); 45 Provider provider = allProviders[i]; local 46 Iterator it = provider.entrySet().iterator(); 50 // No aliases and no provider data 61 Provider provider = allProviders[i]; local 62 Iterator it = provider.entrySet().iterator(); 76 // Add 1 to the provider count of the thing bein 149 Provider provider = allProviders[i]; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathBuilder1Test.java | 27 import java.security.Provider; 67 private static Provider defaultProvider; 166 * Test for <code>getInstance(String algorithm, String provider)</code> method 167 * Assertion: throws IllegalArgumentException when provider is null or empty 169 * FIXME: verify what exception will be thrown if provider is empty 177 String provider = null; local 180 CertPathBuilder.getInstance(validValues[i], provider); 193 * Test for <code>getInstance(String algorithm, String provider)</code> method 195 * throws NoSuchProviderException when provider has invalid value 215 * Test for <code>getInstance(String algorithm, String provider)</code> metho [all...] |
CertPathValidator1Test.java | 27 import java.security.Provider; 67 private static Provider defaultProvider; 169 * Test for <code>getInstance(String algorithm, String provider)</code> method 170 * Assertion: throws IllegalArgumentException when provider is null or empty 172 * FIXME: verify what exception will be thrown if provider is empty 180 String provider = null; local 183 CertPathValidator.getInstance(validValues[i], provider); 196 * Test for <code>getInstance(String algorithm, String provider)</code> method 198 * throws NoSuchProviderException when provider has invalid value 218 * Test for <code>getInstance(String algorithm, String provider)</code> metho [all...] |
CertStore1Test.java | 27 import java.security.Provider; 72 private static Provider defaultProvider; 74 private static Provider defaultProviderCol; 98 private Provider dProv = null; 174 assertEquals("Incorrect provider", certS.getProvider(), dProv); 184 assertNull("Incorrect provider", certS.getProvider()); 237 * <code>getInstance(String type, CertStoreParameters params, String provider)</code> 238 * Assertion: throws IllegalArgumentException when provider is null or empty 240 * FIXME: verify IllegalArgumentException when provider is empty 248 String provider = null local 341 Provider provider = null; local [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
KeyManagerFactory1Test.java | 25 import java.security.Provider; 50 private static Provider defaultProvider = null; 54 private static final String NotSupportedMsg = "There is no suitable provider for KeyManagerFactory"; 166 * Test for <code>getInstance(String algorithm, String provider)</code> 168 * Assertion: throws IllegalArgumentException when provider is null or empty 176 String provider = null; local 179 KeyManagerFactory.getInstance(validValues[i], provider); 180 fail("Expected IllegalArgumentException was not thrown for null provider"); 185 fail("Expected IllegalArgumentException was not thrown for empty provider"); 192 * Test for <code>getInstance(String algorithm, String provider)</code 278 Provider provider = null; local [all...] |
TrustManagerFactory1Test.java | 25 import java.security.Provider; 49 private static Provider defaultProvider = null; 53 private static final String NotSupportedMsg = "There is no suitable provider for TrustManagerFactory"; 164 * Test for <code>getInstance(String algorithm, String provider)</code> 166 * Assertion: throws IllegalArgumentException when provider is null 175 String provider = null; local 178 TrustManagerFactory.getInstance(validValues[i], provider); 179 fail("IllegalArgumentException must be thrown when provider is null"); 184 fail("IllegalArgumentException must be thrown when provider is empty"); 191 * Test for <code>getInstance(String algorithm, String provider)</code 278 Provider provider = null; local [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLServerSocketImplTest.java | 18 package org.apache.harmony.xnet.provider.jsse;
|
SSLSessionImplTest.java | 18 package org.apache.harmony.xnet.provider.jsse;
|
SSLSocketFactoriesTest.java | 18 package org.apache.harmony.xnet.provider.jsse;
|
SSLSocketFunctionalTest.java | 18 package org.apache.harmony.xnet.provider.jsse;
|
ServerHandshakeImplTest.java | 18 package org.apache.harmony.xnet.provider.jsse;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPrivateKey.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dh; 26 import org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
DSASigner.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.dsa;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPrivateKey.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.ec; 29 import org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util; 30 import org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil; 31 import org.bouncycastle.jcajce.provider.asymmetric.util.PKCS12BagAttributeCarrierImpl; 32 import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; 35 import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
BCECPublicKey.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.ec; 29 import org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util; 30 import org.bouncycastle.jcajce.provider.asymmetric.util.ECUtil; 31 import org.bouncycastle.jcajce.provider.asymmetric.util.KeyUtil; 32 import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; 34 import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
KeyPairGeneratorSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.ec; 21 import org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util; 22 import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; 23 import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
CipherSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa; 36 import org.bouncycastle.jcajce.provider.asymmetric.util.BaseCipherSpi; 37 import org.bouncycastle.jcajce.provider.util.DigestFactory;
|
DigestSignatureSpi.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.rsa;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.x509;
|
X509CRLEntryObject.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.x509;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
AES.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 45 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 47 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator; 49 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters; 50 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 51 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 53 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 55 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 56 import org.bouncycastle.jcajce.provider.symmetric.util.BlockCipherProvider; 57 import org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters [all...] |
DES.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 37 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 38 import org.bouncycastle.jcajce.provider.symmetric.util.BCPBEKey; 39 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator; 40 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 41 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 42 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 43 import org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory; 44 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 45 import org.bouncycastle.jcajce.provider.symmetric.util.PBE [all...] |