/libcore/luni/src/main/java/java/security/cert/ |
CertPathBuilder.java | 23 import java.security.Provider; 45 // Store used provider 46 private final Provider provider; field in class:CertPathBuilder 59 * @param provider 60 * the provider. 62 * the desired algorithm available at the provider. 64 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, 66 this.provider = provider [all...] |
CertPathValidator.java | 23 import java.security.Provider; 46 // Store used provider 47 private final Provider provider; field in class:CertPathValidator 60 * @param provider 61 * the security provider. 66 Provider provider, String algorithm) { 67 this.provider = provider; [all...] |
CertificateFactory.java | 23 import java.security.Provider; 46 // Store used provider 47 private final Provider provider; field in class:CertificateFactory 60 * @param provider 61 * the associated provider. 66 Provider provider, String type) { 67 this.provider = provider; [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLocationManager.java | 36 public boolean isProviderEnabled(String provider) { 37 LocationProviderEntry map = providersEnabled.get(provider); 56 * Sets the value to return from {@link #isProviderEnabled(String)} for the given {@code provider} 58 * @param provider 59 * name of the provider whose status to set 61 * whether that provider should appear enabled 63 public void setProviderEnabled(String provider, boolean isEnabled) { 64 setProviderEnabled(provider, isEnabled, null); 67 public void setProviderEnabled(String provider, boolean isEnabled, List<Criteria> criteria) { 68 LocationProviderEntry providerEntry = providersEnabled.get(provider); [all...] |
/libcore/luni/src/main/java/java/security/ |
KeyFactory.java | 37 // The provider 38 private final Provider provider; field in class:KeyFactory 52 * @param provider 53 * the provider. 58 Provider provider, 60 this.provider = provider; 74 * if no provider provides the requested algorithm [all...] |
AlgorithmParameterGenerator.java | 38 // Store used provider 39 private final Provider provider; field in class:AlgorithmParameterGenerator 53 * @param provider 54 * the provider. 59 AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, 61 this.provider = provider; 95 sap.provider, algorithm) [all...] |
security.properties | 19 # See also: J2SE doc. "How to Implement a Provider for the JavaTM Cryptography Architecture" 21 # Android's provider of OpenSSL backed implementations 22 security.provider.1=com.android.org.conscrypt.OpenSSLProvider 24 security.provider.2=org.apache.harmony.security.provider.cert.DRLCertFactory 25 # Android's stripped down BouncyCastle provider 26 security.provider.3=com.android.org.bouncycastle.jce.provider.BouncyCastleProvider 28 security.provider.4=org.apache.harmony.security.provider.crypto.CryptoProvide [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
TrustManagerFactory.java | 25 import java.security.Provider; 30 * The factory for {@code TrustManager}s based on {@code KeyStore} or provider 66 * if no installed provider can provide the requested algorithm. 77 return new TrustManagerFactory((TrustManagerFactorySpi) sap.spi, sap.provider, algorithm); 82 * trust management algorithm from the specified provider. 86 * @param provider 87 * the name of the provider that provides the requested 91 * if the specified provider cannot provide the requested 94 * if the specified provider does not exist. 99 public static final TrustManagerFactory getInstance(String algorithm, String provider) 140 private final Provider provider; field in class:TrustManagerFactory [all...] |
KeyManagerFactory.java | 25 import java.security.Provider; 67 * if no installed provider can provide the requested algorithm. 78 return new KeyManagerFactory((KeyManagerFactorySpi) sap.spi, sap.provider, algorithm); 83 * management algorithm from the specified provider. 87 * @param provider 88 * the name of the provider that provides the requested 92 * if the specified provider cannot provide the requested 95 * if the specified provider does not exist. 100 public static final KeyManagerFactory getInstance(String algorithm, String provider) 102 if ((provider == null) || (provider.length() == 0)) 141 private final Provider provider; field in class:KeyManagerFactory [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
KeyGenerator.java | 23 import java.security.Provider; 42 // Store used provider 43 private final Provider provider; field in class:KeyGenerator 56 * @param provider 57 * the implementation provider. 61 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, 63 this.provider = provider; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
Blowfish.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 6 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 8 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 9 import org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters; 10 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 63 public void configure(ConfigurableProvider provider) 66 provider.addAlgorithm("Cipher.BLOWFISH", PREFIX + "$ECB"); 68 // provider.addAlgorithm("Cipher.1.3.6.1.4.1.3029.1.2", PREFIX + "$CBC"); 70 provider.addAlgorithm("KeyGenerator.BLOWFISH", PREFIX + "$KeyGen") [all...] |
Twofish.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 15 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 16 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 18 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 19 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 20 // import org.bouncycastle.jcajce.provider.symmetric.util.BlockCipherProvider; 21 // import org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters; 23 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 110 public void configure(ConfigurableProvider provider) 113 // provider.addAlgorithm("Cipher.Twofish", PREFIX + "$ECB") [all...] |
AES.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 30 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 32 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator; 34 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 35 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 37 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 39 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 40 import org.bouncycastle.jcajce.provider.symmetric.util.BlockCipherProvider; 41 import org.bouncycastle.jcajce.provider.symmetric.util.IvAlgorithmParameters; 42 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory [all...] |
/external/chromium_org/extensions/browser/ |
management_policy.cc | 27 bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension, 32 bool ManagementPolicy::Provider::UserMayModifySettings( 37 bool ManagementPolicy::Provider::MustRemainEnabled(const Extension* extension, 42 bool ManagementPolicy::Provider::MustRemainDisabled( 49 void ManagementPolicy::RegisterProvider(Provider* provider) { 50 providers_.insert(provider); 53 void ManagementPolicy::UnregisterProvider(Provider* provider) { 54 providers_.erase(provider); 101 const Provider* provider = *it; local [all...] |
/frameworks/base/docs/html/training/sync-adapters/ |
creating-stub-provider.jd | 1 page.title=Creating a Stub Content Provider 13 <a href="#CreateProvider">Add a Stub Content Provider</a> 16 <a href="#DeclareProvider">Declare the Provider in the Manifest</a> 23 <a href="{@docRoot}guide/topics/providers/content-provider-basics.html" 24 >Content Provider Basics</a> 39 highly secure content provider framework. For this reason, the sync adapter framework expects 40 that an app that uses the framework has already defined a content provider for its local data. 42 content provider, your sync adapter crashes. 46 strongly consider storing the local data in a content provider. Besides their importance for 49 provider, see <a href="{@docRoot}guide/topics/providers/content-provider-creating.html [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
Provider2Test.java | 22 import java.security.Provider; 27 class TestProvider extends Provider { 52 * @tests java.security.Provider#entrySet() 55 // test method of java.security.provider.entrySet 67 * @tests java.security.Provider#getInfo() 70 // test method of java.security.provider.getInfo 71 assertEquals("the information of the provider is not stored properly", 77 * @tests java.security.Provider#getName() 80 // test method of java.security.provider.getName 81 assertEquals("the name of the provider is not stored properly" [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Provider2Test.java | 22 import java.security.Provider; 27 class TestProvider extends Provider { 52 * java.security.Provider#entrySet() 55 // test method of java.security.provider.entrySet 67 * java.security.Provider#getInfo() 70 // test method of java.security.provider.getInfo 71 assertEquals("the information of the provider is not stored properly", 77 * java.security.Provider#getName() 80 // test method of java.security.provider.getName 81 assertEquals("the name of the provider is not stored properly" [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_ProviderRSA.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_ProviderRSA extends Provider { 30 // Provider name 40 * Constructs a new instance of the dummy provider. 55 "made.up.provider.name.MessageDigestSHA"); 57 "made.up.provider.name.MessageDigestMD5"); 61 "made.up.provider.name.SecureRandomImpl"); 65 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 69 "made.up.provider.name.AlgorithmParametersDSA") [all...] |
Support_ProviderJCE.java | 22 import java.security.Provider; 25 * This class implements a dummy security provider 27 public class Support_ProviderJCE extends Provider { 30 // Provider name 40 * Constructs a new instance of the dummy provider. 55 "made.up.provider.name.MessageDigestSHA"); 57 "made.up.provider.name.MessageDigestMD5"); 61 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 65 "made.up.provider.name.AlgorithmParametersDSA"); 69 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
Support_ProviderTrust.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 28 public class Support_ProviderTrust extends Provider { 31 // Provider name 41 * Constructs a new instance of the dummy provider. 57 "made.up.provider.name.MessageDigestSHA"); 59 "made.up.provider.name.MessageDigestMD5"); 63 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 67 "made.up.provider.name.AlgorithmParametersDSA"); 71 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
MD5.java | 1 package org.bouncycastle.jcajce.provider.digest; 8 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 9 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 10 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 68 public void configure(ConfigurableProvider provider) 70 provider.addAlgorithm("MessageDigest.MD5", PREFIX + "$Digest"); 71 provider.addAlgorithm("Alg.Alias.MessageDigest." + PKCSObjectIdentifiers.md5, "MD5"); 73 addHMACAlgorithm(provider, "MD5", PREFIX + "$HashMac", PREFIX + "$KeyGenerator"); 74 addHMACAlias(provider, "MD5", IANAObjectIdentifiers.hmacMD5);
|
SHA256.java | 1 package org.bouncycastle.jcajce.provider.digest; 8 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 9 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 10 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 11 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 83 public void configure(ConfigurableProvider provider) 85 provider.addAlgorithm("MessageDigest.SHA-256", PREFIX + "$Digest"); 86 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA256", "SHA-256"); 87 provider.addAlgorithm("Alg.Alias.MessageDigest." + NISTObjectIdentifiers.id_sha256, "SHA-256"); 90 // provider.addAlgorithm("SecretKeyFactory.PBEWITHHMACSHA256", PREFIX + "$PBEWithMacKeyFactory") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BlockCipherProvider.java | 1 package org.bouncycastle.jcajce.provider.symmetric.util;
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
Services.java | 20 import java.security.Provider; 41 private static final Map<String, Provider.Service> services 42 = new HashMap<String, Provider.Service>(600); 46 * Avoids similar provider/services iteration in SecureRandom constructor. 48 private static Provider.Service cachedSecureRandomService; 65 private static final List<Provider> providers = new ArrayList<Provider>(20); 68 * Hash for quick provider access by name. 70 private static final Map<String, Provider> providersNames = new HashMap<String, Provider>(20) 124 providersNames.put(provider.getName(), provider); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
BouncyCastleProvider.java | 1 package org.bouncycastle.jce.provider; 7 import java.security.Provider; 15 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 16 import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; 17 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 18 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 21 * To add the provider at runtime use: 24 * import org.bouncycastle.jce.provider.BouncyCastleProvider; 28 * The provider can also be configured as part of your environment via 36 * security.provider.<n>=org.bouncycastle.jce.provider.BouncyCastleProvide [all...] |