/cts/tests/tests/keystore/src/android/keystore/cts/ |
ECDSASignatureTest.java | 20 import android.security.keystore.KeyProtection; 25 import java.security.KeyPair; 26 import java.security.Security; 27 import java.security.Signature; 53 assertSame(Security.getProvider(SignatureTest.EXPECTED_PROVIDER_NAME), 95 assertSame(Security.getProvider(SignatureTest.EXPECTED_PROVIDER_NAME),
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest_Impl2Test.java | 22 package org.apache.harmony.security.tests.java.security; 24 import java.security.MessageDigest; 25 import java.security.Provider; 26 import java.security.Security; 28 import org.apache.harmony.security.tests.support.MyMessageDigest1; 29 import org.apache.harmony.security.tests.support.MyMessageDigest2; 49 Security.insertProviderAt(p, 1); 57 Security.removeProvider(p.getName()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
X509SignatureUtil.java | 4 import java.security.AlgorithmParameters; 5 import java.security.GeneralSecurityException; 6 import java.security.InvalidKeyException; 7 import java.security.NoSuchAlgorithmException; 8 import java.security.Provider; 9 import java.security.Security; 10 import java.security.Signature; 11 import java.security.SignatureException; 12 import java.security.spec.PSSParameterSpec [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
SSLSocketFactory.java | 33 import java.security.*; 36 import sun.security.action.GetPropertyAction; 54 String s = java.security.AccessController.doPrivileged( 75 * <p>The first time this method is called, the security property 89 // Android-changed: Use security version instead of propertyChecked. 90 if (defaultSocketFactory != null && lastVersion == Security.getVersion()) { 94 lastVersion = Security.getVersion(); 102 // often (for instance, every time a security provider is added). Which leads 156 String s = java.security.Security.getProperty(name) [all...] |
SSLServerSocketFactory.java | 35 import java.security.*; 66 * <p>The first time this method is called, the security property 80 // Android-changed: Use security version instead of propertyChecked. 84 if (defaultServerSocketFactory != null && lastVersion == Security.getVersion()) { 88 lastVersion = Security.getVersion(); 96 // often (for instance, every time a security provider is added). Which leads
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 22 package org.apache.harmony.security.tests.java.security; 25 import java.security.KeyStore; 26 import java.security.KeyStoreException; 27 import java.security.Provider; 28 import java.security.Security; 29 import java.security.SignatureException; 30 import java.security.Principal; 31 import java.security.PublicKey [all...] |
AlgorithmParameterGenerator3Test.java | 18 package org.apache.harmony.security.tests.java.security; 21 import java.security.AlgorithmParameterGenerator; 22 import java.security.AlgorithmParameters; 23 import java.security.InvalidAlgorithmParameterException; 24 import java.security.NoSuchProviderException; 25 import java.security.Provider; 26 import java.security.SecureRandom; 27 import java.security.Security; [all...] |
KeyPairGenerator4Test.java | 18 package org.apache.harmony.security.tests.java.security; 21 import java.security.KeyPair; 22 import java.security.KeyPairGenerator; 23 import java.security.Provider; 24 import java.security.SecureRandom; 25 import java.security.Security; 26 import java.security.spec.DSAParameterSpec; 27 import java.security.interfaces.DSAPublicKey [all...] |
SecureRandom2Test.java | 18 package org.apache.harmony.security.tests.java.security; 20 import java.security.NoSuchAlgorithmException; 21 import java.security.NoSuchProviderException; 22 import java.security.Provider; 23 import java.security.SecureRandom; 24 import java.security.SecureRandomSpi; 25 import java.security.Security; 37 * @tests java.security.SecureRandom#SecureRandom( [all...] |
IdentityScopeTest.java | 22 package org.apache.harmony.security.tests.java.security; 24 import java.security.*; 25 import org.apache.harmony.security.tests.support.IdentityScopeStub; 85 String name = Security.getProperty("system.scope");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 23 package org.apache.harmony.security.tests.java.security; 26 import java.security.KeyStore; 27 import java.security.KeyStoreException; 28 import java.security.Provider; 29 import java.security.Security; 30 import java.security.SignatureException; 31 import java.security.Principal; 32 import java.security.PublicKey [all...] |
KeyPairGenerator4Test.java | 18 package org.apache.harmony.security.tests.java.security; 20 import java.security.KeyPairGenerator; 21 import java.security.Provider; 22 import java.security.SecureRandom; 23 import java.security.Security; 24 import java.security.spec.DSAParameterSpec; 25 import java.security.interfaces.DSAPublicKey; 26 import java.security.interfaces.DSAParams [all...] |
Signature2Test.java | 18 package org.apache.harmony.security.tests.java.security; 22 import java.security.AlgorithmParameters; 23 import java.security.InvalidKeyException; 24 import java.security.InvalidParameterException; 25 import java.security.KeyPair; 26 import java.security.KeyPairGenerator; 27 import java.security.NoSuchAlgorithmException; 28 import java.security.NoSuchProviderException; 29 import java.security.PrivateKey [all...] |
KeyFactory2Test.java | 18 package org.apache.harmony.security.tests.java.security; 20 import java.security.InvalidKeyException; 21 import java.security.Key; 22 import java.security.KeyFactory; 23 import java.security.KeyFactorySpi; 24 import java.security.KeyPair; 25 import java.security.KeyPairGenerator; 26 import java.security.NoSuchAlgorithmException; 27 import java.security.NoSuchProviderException [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
SecureRandomTest.java | 22 package java.security; 24 import org.apache.harmony.security.tests.support.RandomImpl; 44 Security.insertProviderAt(p, 1); 52 Security.removeProvider(p.getName()); 175 "org.apache.harmony.security.tests.support.RandomImpl");
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertStore.java | 26 package java.security.cert; 28 import java.security.AccessController; 29 import java.security.InvalidAlgorithmParameterException; 30 import java.security.NoSuchAlgorithmException; 31 import java.security.NoSuchProviderException; 32 import java.security.PrivilegedAction; 33 import java.security.Provider; 34 import java.security.Security; 37 import sun.security.jca.* [all...] |
/libcore/ojluni/src/main/java/javax/security/cert/ |
X509Certificate.java | 28 package javax.security.cert; 30 import com.sun.security.cert.internal.x509.X509V1CertImpl; 36 import java.security.Security; 39 import java.security.AccessController; 40 import java.security.Principal; 41 import java.security.PrivilegedAction; 42 import java.security.PublicKey; 63 * other functionality in Internet security systems. Common applications 64 * include Privacy Enhanced Mail (PEM), Transport Layer Security (SSL) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathBuilder1Test.java | 22 package org.apache.harmony.security.tests.java.security.cert; 24 import java.security.InvalidAlgorithmParameterException; 25 import java.security.NoSuchAlgorithmException; 26 import java.security.NoSuchProviderException; 27 import java.security.Provider; 28 import java.security.Security; 29 import java.security.cert.CertPathBuilder; 30 import java.security.cert.CertPathBuilderException [all...] |
CertStore1Test.java | 22 package org.apache.harmony.security.tests.java.security.cert; 24 import java.security.InvalidAlgorithmParameterException; 25 import java.security.NoSuchAlgorithmException; 26 import java.security.NoSuchProviderException; 27 import java.security.Provider; 28 import java.security.Security; 29 import java.security.cert.CertStore; 30 import java.security.cert.CertStoreException [all...] |
/frameworks/base/core/java/android/security/net/config/ |
RootTrustManagerFactorySpi.java | 17 package android.security.net.config; 20 import java.security.InvalidAlgorithmParameterException; 21 import java.security.InvalidParameterException; 22 import java.security.KeyStore; 23 import java.security.KeyStoreException; 24 import java.security.NoSuchAlgorithmException; 25 import java.security.Provider; 26 import java.security.Security;
|
/libcore/ojluni/src/main/java/java/security/ |
IdentityScope.java | 27 package java.security; 61 * replaced by <code>java.security.KeyStore</code>, the 62 * <code>java.security.cert</code> package, and 63 * <code>java.security.Principal</code>. 80 return Security.getProperty("system.scope"); 92 //Security.error("unable to establish a system scope from " + 149 * <p>First, if there is a security manager, its 156 * @exception SecurityException if a security manager exists and its 252 SecurityManager security = System.getSecurityManager(); local 253 if (security != null) [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreProvider.java | 17 package android.security.keystore; 20 import android.security.KeyStore; 21 import android.security.keymaster.ExportResult; 22 import android.security.keymaster.KeyCharacteristics; 23 import android.security.keymaster.KeymasterDefs; 26 import java.security.KeyFactory; 27 import java.security.KeyPair; 28 import java.security.KeyStoreException; 29 import java.security.NoSuchAlgorithmException; 30 import java.security.NoSuchProviderException [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyAgreementTest.java | 25 import org.apache.harmony.security.tests.support.SpiEngUtils; 26 import org.apache.harmony.security.tests.support.TestKeyPair; 28 import java.security.InvalidAlgorithmParameterException; 29 import java.security.InvalidKeyException; 30 import java.security.NoSuchAlgorithmException; 31 import java.security.NoSuchProviderException; 32 import java.security.PrivateKey; 33 import java.security.Provider; 34 import java.security.PublicKey; 35 import java.security.SecureRandom [all...] |
MacTest.java | 26 import java.security.InvalidAlgorithmParameterException; 27 import java.security.InvalidKeyException; 28 import java.security.NoSuchAlgorithmException; 29 import java.security.NoSuchProviderException; 30 import java.security.PrivateKey; 31 import java.security.Provider; 32 import java.security.Security; 33 import java.security.spec.PSSParameterSpec; 43 import org.apache.harmony.security.tests.support.SpiEngUtils [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
X509CertificateTest.java | 23 package org.apache.harmony.tests.javax.security.cert; 29 import tests.targets.security.cert.CertificateFactoryTestX509; 35 import java.security.InvalidKeyException; 36 import java.security.NoSuchAlgorithmException; 37 import java.security.NoSuchProviderException; 38 import java.security.Principal; 39 import java.security.Provider; 40 import java.security.PublicKey; 41 import java.security.Security; [all...] |