/libcore/luni/src/main/java/java/security/cert/ |
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...] |
/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...] |
KeyAgreement.java | 25 import java.security.Provider; 49 // Store used provider 50 private Provider provider; field in class:KeyAgreement 52 // Provider that was requested during creation. 53 private final Provider specifiedProvider; 71 * @param provider 72 * the provider providing this KeyAgreement. 76 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, [all...] |
Mac.java | 26 import java.security.Provider; 46 // Store used provider 47 private Provider provider; field in class:Mac 49 // Provider that was requested during creation. 50 private final Provider specifiedProvider; 71 * @param provider 72 * the implementation provider. 76 protected Mac(MacSpi macSpi, Provider provider, String algorithm) [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
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...] |
SSLContext.java | 23 import java.security.Provider; 129 * if no installed provider can provide the requested protocol 139 return new SSLContext((SSLContextSpi) sap.spi, sap.provider, protocol); 144 * the specified provider. 151 * <th>Provider</th> 215 * defaults rather than explicitly specify a provider. 221 * @param provider 222 * the name of the provider that provides the requested protocol. 225 * if the specified provider cannot provider the requeste 276 private final Provider provider; field in class:SSLContext [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD2"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
MessageDigestBenchmark.java | 37 @Param private Provider provider; field in class:MessageDigestBenchmark 39 public enum Provider { AndroidOpenSSL, BC }; 44 provider.toString());
|
/libcore/luni/src/main/java/java/security/ |
Policy.java | 35 public static Policy getInstance(String type, Policy.Parameters params, String provider) throws NoSuchProviderException, NoSuchAlgorithmException { return null; } 37 public static Policy getInstance(String type, Policy.Parameters params, Provider provider) throws NoSuchAlgorithmException { return null; } 41 public Provider getProvider() { return null; }
|
AuthProvider.java | 27 public abstract class AuthProvider extends Provider {
|
AlgorithmParameters.java | 42 * The security provider. 44 private final Provider provider; field in class:AlgorithmParameters 67 * @param provider 68 * the security provider. 73 Provider provider, String algorithm) { 74 this.provider = provider; 98 return new AlgorithmParameters((AlgorithmParametersSpi) sap.spi, sap.provider, algorithm) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 32 import java.security.Provider; 35 import java.security.Provider.Service; 46 * Tests for <code>Provider</code> constructor and methods 54 * destroys the existing provider infrastructure. 57 Provider[] storedProviders; 59 Provider p; 78 for (Provider p: Security.getProviders()) { 82 for (Provider p: storedProviders) { 90 * Class under test for void Provider() 93 if (!p.getProperty("Provider.id name").equals [all...] |
Security2Test.java | 21 import java.security.Provider; 40 Provider[] allProviders = Security.getProviders(); 43 for (Provider provider : allProviders) { 44 for (Object k : provider.keySet()) { 46 // No aliases and no provider data 56 for (Provider provider : allProviders) { 57 for (Map.Entry entry : provider.entrySet()) { 67 // Add 1 to the provider count of the thing being aliase [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD5"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Security_ImplTest.java | 41 assertNull("Incorrect result (provider not added)", Security 44 Provider p = new MyProvider(); 47 assertEquals("Incorrect result (provider added)", 55 * Class under test for Provider[] getProviders() 58 Provider[] providers; 63 assertEquals("Incorrect provider number", i + 1, providers[i] 108 Provider p = new MyProvider(); 121 class MyProvider extends Provider { 123 super("MyProvider", 1.0, "Provider for testing");
|
/external/chromium_org/chrome/browser/extensions/ |
standard_management_policy_provider.h | 16 // The standard management policy provider, which takes into account the 18 class StandardManagementPolicyProvider : public ManagementPolicy::Provider { 25 // ManagementPolicy::Provider implementation.
|
default_apps.cc | 58 bool Provider::ShouldInstallInProfile() { 127 Provider::Provider(Profile* profile, 141 void Provider::VisitRegisteredExtension() { 151 void Provider::SetPrefs(base::DictionaryValue* prefs) {
|
/external/smack/src/org/jivesoftware/smackx/receipts/ |
DeliveryReceiptRequest.java | 17 import org.jivesoftware.smack.provider.PacketExtensionProvider;
46 * This Provider parses and returns DeliveryReceiptRequest packets.
48 public static class Provider implements PacketExtensionProvider {
|
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
javax.inject-1.jar | |
/prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/ |
javax.inject-1.jar | |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyAgreement_Impl1Test.java | 26 import java.security.Provider; 47 private static Provider defaultProvider = null; 51 private static final String NotSupportMsg = "There is no suitable provider for KeyAgreement"; 75 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); 81 assertNull("Provider must be null", keyA.getProvider()); 96 public myKeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, 98 super(keyAgreeSpi, provider, algorithm);
|
/libcore/luni/src/test/java/tests/targets/security/ |
MessageDigestTestMD2.java | 21 import java.security.Provider; 48 Provider provider = new MyProvider(); local 49 Security.addProvider(provider); 56 Security.removeProvider(provider.getName()); 60 public final class MyProvider extends Provider {
|
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 19 import java.security.Provider; 37 Provider[] providers = Security.getProviders(); 38 for (Provider provider : providers) { 39 Set<Provider.Service> services = provider.getServices(); 40 for (Provider.Service service : services) { 52 // SecureRandom.getInstance(String, Provider) 53 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider); 55 assertEquals(provider, sr2.getProvider()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
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/impl/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest_Impl2Test.java | 25 import java.security.Provider; 39 * Provider 41 Provider p; 93 * Class under test for MessageDigest getInstance(String, Provider) 96 Provider p = new MyProvider(); 102 * Class under test for MessageDigest getInstance(String, Provider) 105 Provider p = new MyProvider(); 118 private void checkMD1(MessageDigest md1, Provider p) throws Exception { 144 private void checkMD2(MessageDigest md2, Provider p) throws Exception { 169 private class MyProvider extends Provider { [all...] |