/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ |
DH.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 8 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".dh."; 17 public void configure(ConfigurableProvider provider) 19 provider.addAlgorithm("KeyPairGenerator.DH", PREFIX + "KeyPairGeneratorSpi"); 20 provider.addAlgorithm("Alg.Alias.KeyPairGenerator.DIFFIEHELLMAN", "DH"); 22 provider.addAlgorithm("KeyAgreement.DH", PREFIX + "KeyAgreementSpi"); 23 provider.addAlgorithm("Alg.Alias.KeyAgreement.DIFFIEHELLMAN", "DH"); 25 provider.addAlgorithm("KeyFactory.DH", PREFIX + "KeyFactorySpi") [all...] |
RSA.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 10 import org.bouncycastle.jcajce.provider.asymmetric.rsa.KeyFactorySpi; 11 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 12 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 13 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 17 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".rsa."; 26 public void configure(ConfigurableProvider provider) 28 provider.addAlgorithm("AlgorithmParameters.OAEP", PREFIX + "AlgorithmParametersSpi$OAEP"); 30 // provider.addAlgorithm("AlgorithmParameters.PSS", PREFIX + "AlgorithmParametersSpi$PSS"); 32 // provider.addAlgorithm("Alg.Alias.AlgorithmParameters.RSAPSS", "PSS") [all...] |
X509.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 19 public void configure(ConfigurableProvider provider) 22 // provider.addAlgorithm("KeyFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory"); 23 // provider.addAlgorithm("Alg.Alias.KeyFactory.X509", "X.509"); 29 provider.addAlgorithm("CertificateFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory"); 30 provider.addAlgorithm("Alg.Alias.CertificateFactory.X509", "X.509") [all...] |
EC.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 8 import org.bouncycastle.jcajce.provider.asymmetric.ec.KeyFactorySpi; 9 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 10 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 14 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".ec."; 23 public void configure(ConfigurableProvider provider) 25 provider.addAlgorithm("KeyAgreement.ECDH", PREFIX + "KeyAgreementSpi$DH"); 27 // provider.addAlgorithm("KeyAgreement.ECDHC", PREFIX + "KeyAgreementSpi$DHC"); 28 // provider.addAlgorithm("KeyAgreement.ECMQV", PREFIX + "KeyAgreementSpi$MQV"); 29 // provider.addAlgorithm("KeyAgreement." + X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme, PREFIX + "Ke (…) [all...] |
DSA.java | 1 package org.bouncycastle.jcajce.provider.asymmetric; 4 import org.bouncycastle.jcajce.provider.asymmetric.dsa.DSAUtil; 5 import org.bouncycastle.jcajce.provider.asymmetric.dsa.KeyFactorySpi; 6 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 8 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 12 private static final String PREFIX = "org.bouncycastle.jcajce.provider.asymmetric" + ".dsa."; 21 public void configure(ConfigurableProvider provider) 23 provider.addAlgorithm("AlgorithmParameters.DSA", PREFIX + "AlgorithmParametersSpi"); 25 provider.addAlgorithm("AlgorithmParameterGenerator.DSA", PREFIX + "AlgorithmParameterGeneratorSpi") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
AlgorithmProvider.java | 1 package org.bouncycastle.jcajce.provider.util; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 public abstract void configure(ConfigurableProvider provider);
|
AsymmetricAlgorithmProvider.java | 1 package org.bouncycastle.jcajce.provider.util; 4 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 10 ConfigurableProvider provider, 21 provider.addAlgorithm("Signature." + mainName, className); 22 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation1, mainName); 23 provider.addAlgorithm("Alg.Alias.Signature." + jdk11Variation2, mainName); 24 provider.addAlgorithm("Alg.Alias.Signature." + alias, mainName); 25 provider.addAlgorithm("Alg.Alias.Signature." + oid, mainName); 26 provider.addAlgorithm("Alg.Alias.Signature.OID." + oid, mainName); 29 protected void registerOid(ConfigurableProvider provider, ASN1ObjectIdentifier oid, String name, AsymmetricKeyInfoConverter keyFactory [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyProvider.java | 3 import java.security.Provider; 5 public class MyProvider extends Provider { 8 super("MyProvider", 1.0, "Test Provider 1.0");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/ |
BC.java | 1 package org.bouncycastle.jcajce.provider.keystore; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 8 private static final String PREFIX = "org.bouncycastle.jcajce.provider.keystore" + ".bc."; 17 public void configure(ConfigurableProvider provider) 19 provider.addAlgorithm("KeyStore.BKS", PREFIX + "BcKeyStoreSpi$Std"); 21 // provider.addAlgorithm("KeyStore.BKS-V1", PREFIX + "BcKeyStoreSpi$Version1"); 23 provider.addAlgorithm("KeyStore.BouncyCastle", PREFIX + "BcKeyStoreSpi$BouncyCastleStore"); 24 provider.addAlgorithm("Alg.Alias.KeyStore.UBER", "BouncyCastle"); 25 provider.addAlgorithm("Alg.Alias.KeyStore.BOUNCYCASTLE", "BouncyCastle") [all...] |
PKCS12.java | 1 package org.bouncycastle.jcajce.provider.keystore; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AsymmetricAlgorithmProvider; 8 private static final String PREFIX = "org.bouncycastle.jcajce.provider.keystore" + ".pkcs12."; 17 public void configure(ConfigurableProvider provider) 19 provider.addAlgorithm("KeyStore.PKCS12", PREFIX + "PKCS12KeyStoreSpi$BCPKCS12KeyStore"); 21 // provider.addAlgorithm("KeyStore.BCPKCS12", PREFIX + "PKCS12KeyStoreSpi$BCPKCS12KeyStore"); 22 // provider.addAlgorithm("KeyStore.PKCS12-DEF", PREFIX + "PKCS12KeyStoreSpi$DefPKCS12KeyStore"); 24 // provider.addAlgorithm("KeyStore.PKCS12-3DES-40RC2", PREFIX + "PKCS12KeyStoreSpi$BCPKCS12KeyStore"); 25 // provider.addAlgorithm("KeyStore.PKCS12-3DES-3DES", PREFIX + "PKCS12KeyStoreSpi$BCPKCS12KeyStore3DES") [all...] |
/external/chromium/base/win/ |
event_trace_provider_unittest.cc | 5 // Unit tests for event trace provider. 27 // Because the trace provider is used in logging, it's important that 28 // it be possible to use static provider instances without regard to 32 EtwTraceProvider& provider = reinterpret_cast<EtwTraceProvider&>(buf); local 34 EXPECT_EQ(NULL, provider.registration_handle()); 35 EXPECT_EQ(NULL, provider.session_handle()); 36 EXPECT_EQ(0, provider.enable_flags()); 37 EXPECT_EQ(0, provider.enable_level()); 39 EXPECT_FALSE(provider.ShouldLog(TRACE_LEVEL_FATAL, 0xfffffff)); 42 provider.Log(kTestEventClass, 0, TRACE_LEVEL_FATAL, "foo") 92 EtwTraceProvider provider; local [all...] |
/external/chromium_org/base/win/ |
event_trace_provider_unittest.cc | 5 // Unit tests for event trace provider. 27 // Because the trace provider is used in logging, it's important that 28 // it be possible to use static provider instances without regard to 32 EtwTraceProvider& provider = reinterpret_cast<EtwTraceProvider&>(buf); local 34 EXPECT_EQ(NULL, provider.registration_handle()); 35 EXPECT_EQ(NULL, provider.session_handle()); 36 EXPECT_EQ(0, provider.enable_flags()); 37 EXPECT_EQ(0, provider.enable_level()); 39 EXPECT_FALSE(provider.ShouldLog(TRACE_LEVEL_FATAL, 0xfffffff)); 42 provider.Log(kTestEventClass, 0, TRACE_LEVEL_FATAL, "foo") 92 EtwTraceProvider provider; local [all...] |
/external/apache-harmony/security/src/test/resources/java/security/ |
Provider.prop.dat | 5 Provider.id\ name = NEW NAME 6 Provider.id\ version = 333 7 Provider.id\ info=newInfo 8 Provider.id\ className=aaa.bbb.ccc
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/ |
ProviderJcaJceHelper.java | 9 import java.security.Provider; 24 protected final Provider provider; field in class:ProviderJcaJceHelper 26 public ProviderJcaJceHelper(Provider provider) 28 this.provider = provider; 35 return Cipher.getInstance(algorithm, provider); 41 return Mac.getInstance(algorithm, provider); 47 return KeyAgreement.getInstance(algorithm, provider); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
DigestAlgorithmProvider.java | 1 package org.bouncycastle.jcajce.provider.digest; 4 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 5 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 11 ConfigurableProvider provider, 18 provider.addAlgorithm("Mac." + mainName, algorithmClassName); 19 provider.addAlgorithm("Alg.Alias.Mac.HMAC-" + algorithm, mainName); 20 provider.addAlgorithm("Alg.Alias.Mac.HMAC/" + algorithm, mainName); 21 provider.addAlgorithm("KeyGenerator." + mainName, keyGeneratorClassName); 22 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC-" + algorithm, mainName); 23 provider.addAlgorithm("Alg.Alias.KeyGenerator.HMAC/" + algorithm, mainName) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 26 import java.security.Provider; 27 import java.security.Provider.Service; 38 * Tests for <code>Provider.Service</code> constructor and methods 44 Provider p = new MyProvider(); 46 new Provider.Service(null, "type", "algorithm", "className", null, 48 fail("provider is null: No expected NullPointerException"); 52 new Provider.Service(p, null, "algorithm", "className", null, null); 57 new Provider.Service(p, "type", null, "className", null, null); 62 new Provider.Service(p, "type", "algorithm", null, null, null); 67 Provider.Service s = new Provider.Service(p, "type", "algorithm" [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
SymmetricAlgorithmProvider.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 3 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 4 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 11 // ConfigurableProvider provider, 16 // provider.addAlgorithm("Mac." + algorithm + "-GMAC", algorithmClassName); 17 // provider.addAlgorithm("Alg.Alias.Mac." + algorithm + "GMAC", algorithm + "-GMAC"); 19 // provider.addAlgorithm("KeyGenerator." + algorithm + "-GMAC", keyGeneratorClassName); 20 // provider.addAlgorithm("Alg.Alias.KeyGenerator." + algorithm + "GMAC", algorithm + "-GMAC");
|
ARC4.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 6 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 7 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 8 import org.bouncycastle.jcajce.provider.symmetric.util.BaseStreamCipher; 9 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 10 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 96 public void configure(ConfigurableProvider provider) 98 provider.addAlgorithm("Cipher.ARC4", PREFIX + "$Base"); 99 provider.addAlgorithm("Alg.Alias.Cipher." + PKCSObjectIdentifiers.rc4, "ARC4"); 100 provider.addAlgorithm("Alg.Alias.Cipher.ARCFOUR", "ARC4") [all...] |
/external/chromium_org/chromeos/test/data/network/ |
shill_l2tpipsec_clientcert.json | 6 "Provider.Host": "some.host.org", 7 "Provider.Type": "l2tpipsec",
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidatorException.java | 1 package org.bouncycastle.jce.provider;
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
LocalProvider.java | 3 public class LocalProvider extends Provider {
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
ECDHKeyAgreementTest.java | 32 import java.security.Provider; 86 throw new RuntimeException("Failed to decode KAT key pairs using default provider", e); 96 for (Provider keyFactoryProvider1 : getKeyFactoryProviders()) { 99 for (Provider keyFactoryProvider2 : getKeyFactoryProviders()) { 104 for (Provider keyAgreementProvider : getKeyAgreementProviders()) { 123 Provider keyAgreementProvider) throws Exception { 134 void testGetAlgorithm(Provider provider) throws Exception { 135 assertEquals("ECDH", getKeyAgreement(provider).getAlgorithm()); 142 void testGetProvider(Provider provider) throws Exception [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
SecretKeyFactory.java | 23 import java.security.Provider; 36 * <li>translate {@link SecretKey} objects from one provider implementation to 40 * {@link #getKeySpec} is provider dependent. 47 // Store used provider 48 private final Provider provider; field in class:SecretKeyFactory 61 * @param provider 62 * the provider providing this key factory. 67 Provider provider, String algorithm) [all...] |
/frameworks/base/docs/html/guide/topics/providers/ |
content-providers.jd | 11 <a href="{@docRoot}guide/topics/providers/content-provider-basics.html"> 12 Content Provider Basics</a> 15 <a href="{@docRoot}guide/topics/providers/content-provider-creating.html"> 16 Creating a Content Provider</a> 19 <a href="{@docRoot}guide/topics/providers/calendar-provider.html">Calendar Provider</a> 22 <a href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts Provider</a> 57 When you want to access data in a content provider, you use the 59 application's {@link android.content.Context} to communicate with the provider as a client [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509Store.java | 8 import java.security.Provider; 29 public static X509Store getInstance(String type, X509StoreParameters parameters, String provider) 32 return getInstance(type, parameters, X509Util.getProvider(provider)); 35 public static X509Store getInstance(String type, X509StoreParameters parameters, Provider provider) 40 X509Util.Implementation impl = X509Util.getImplementation("X509Store", type, provider); 59 private Provider _provider; 63 Provider provider, 66 _provider = provider; [all...] |