/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderServiceTest.java | 27 import java.security.Provider.Service; 46 new Provider.Service(null, "type", "algorithm", "className", null, in testService() 52 new Provider.Service(p, null, "algorithm", "className", null, null); in testService() 57 new Provider.Service(p, "type", null, "className", null, null); in testService() 62 new Provider.Service(p, "type", "algorithm", null, null, null); in testService() 67 Provider.Service s = new Provider.Service(p, "type", "algorithm", in testService() 89 Provider.Service s = new Provider.Service(p, "type", "algorithm", in testGetAttribute() 106 s = new Provider.Service(p, "type", "algorithm", "className", null, hm); in testGetAttribute() 120 Provider.Service s = new Provider.Service(p, "SecureRandom", in testNewInstance() 131 Provider.Service s1 = new Provider.Service(p, "type", "algorithm", in testGetAlgorithm() [all …]
|
D | ProviderTest.java | 35 import java.security.Provider.Service; 269 Provider.Service s = (Provider.Service)it.next(); in testPutObjectObject() 302 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1() 343 public void putService(Provider.Service s) { in putService() 349 public void removeService(Provider.Service s) { in removeService() 370 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2() 385 Set<Provider.Service> services = myProvider.getServices(); in testGetServices() 388 Provider.Service s[] = new Provider.Service[3]; in testGetServices() 390 s[0] = new Provider.Service(p, "type1", "algorithm1", "className1", in testGetServices() 392 s[1] = new Provider.Service(p, "type2", "algorithm2", "className2", in testGetServices() [all …]
|
D | Provider2Test.java | 137 Provider.Service service = new Provider.Service(mockProvider, in test_getAlias() 162 public void putService(Provider.Service service) { in putService() 166 public void removeService(Provider.Service service) { in removeService()
|
D | Signature2Test.java | 502 private Set<Provider.Service> services = null; 512 services = new HashSet<Service>(); in MyProvider() 521 services = new HashSet<Service>(); in MyProvider() 525 public void putService(Provider.Service s) { in putService() 530 public void removeService(Provider.Service s) { in removeService()
|
D | SecureRandom2Test.java | 400 public void putService(Provider.Service s) { in putService() 404 public void removeService(Provider.Service s) { in removeService()
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
D | Services.java | 39 private static final HashMap<String, ArrayList<Provider.Service>> services 40 = new HashMap<String, ArrayList<Provider.Service>>(600); 46 private static Provider.Service cachedSecureRandomService; 134 for (Provider.Service service : p.getServices()) { in initServiceInfo() 151 private static void appendServiceLocked(String key, Provider.Service service) { in appendServiceLocked() 152 ArrayList<Provider.Service> serviceList = services.get(key); in appendServiceLocked() 154 serviceList = new ArrayList<Provider.Service>(1); in appendServiceLocked() 177 public static synchronized ArrayList<Provider.Service> getServices(String key) { in getServices() 184 public static synchronized Provider.Service getSecureRandomService() { in getSecureRandomService()
|
D | Engine.java | 98 private final ArrayList<Provider.Service> services; 102 ArrayList<Provider.Service> services) { in ServiceCacheEntry() 137 ArrayList<Provider.Service> services = getServices(algorithm); in getInstance() 149 public SpiAndProvider getInstance(Provider.Service service, String param) in getInstance() 157 public ArrayList<Provider.Service> getServices(String algorithm) { in getServices() 167 ArrayList<Provider.Service> services = Services.getServices(name); in getServices() 181 Provider.Service service = provider.getService(serviceName, algorithm); in getInstance()
|
D | SecurityAccess.java | 45 public List<String> getAliases(Provider.Service s); in getAliases() 53 public Provider.Service getService(Provider p, String type); in getService()
|
/libcore/luni/src/main/java/java/security/ |
D | Provider.java | 60 private transient LinkedHashMap<String, Service> serviceTable; 64 private transient LinkedHashMap<String, Service> aliasTable; 68 private transient LinkedHashMap<String, Service> propertyServiceTable; 71 private transient LinkedHashMap<String, Service> propertyAliasTable; 78 private transient Provider.Service returnedService; 85 private transient Set<Service> lastServicesSet; 90 private transient Provider.Service lastServicesByType; 374 synchronized Provider.Service getService(String type) { in getService() 379 Provider.Service service; in getService() 380 for (Iterator<Service> it = getServices().iterator(); it.hasNext();) { in getService() [all …]
|
D | Signature.java | 192 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm() 198 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() 202 for (Provider.Service service : services) { in tryAlgorithm() 211 … private static Engine.SpiAndProvider tryAlgorithmWithProvider(Key key, Provider.Service service) { in tryAlgorithmWithProvider()
|
D | Security.java | 374 for (Provider.Service service: provider.getServices()) { in getAlgorithms() 402 public List<String> getAliases(Provider.Service s) { in getAliases() 407 public Provider.Service getService(Provider p, String type) { in getService()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 77 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices() 81 for (Provider.Service service : services) { in test_Provider_getServices() 263 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices_supportsParameter() 267 for (Provider.Service service : services) { in test_Provider_getServices_supportsParameter() 313 Provider.Service service = provider.getService("Fake", "FOO"); in testProviderService_supportsParameter_UnknownService_Success() 333 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success() 358 Provider.Service service = provider.getService("KeyFactory", "FOO"); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure() 381 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success() 399 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NonKey_Failure() 422 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure() [all …]
|
D | KeyPairGeneratorTest.java | 30 import java.security.Provider.Service; 116 Set<Provider.Service> services = provider.getServices(); 117 for (Provider.Service service : services) { 309 Set<Provider.Service> services = p.getServices(); in test_KeyWithAllKeyFactories() 310 for (Provider.Service service : services) { in test_KeyWithAllKeyFactories() 420 Service s = p.getService("KeyPairGenerator", "DSA"); in testDSAGeneratorWithParams()
|
D | SecureRandomTest.java | 39 Set<Provider.Service> services = provider.getServices(); in test_getInstance() 40 for (Provider.Service service : services) { in test_getInstance()
|
D | MessageDigestTest.java | 52 Set<Provider.Service> services = provider.getServices(); in test_getInstance() 53 for (Provider.Service service : services) { in test_getInstance()
|
/libcore/support/src/test/java/tests/resources/ServiceLoader/ |
D | Service.java | 23 public interface Service { interface
|
D | hyts_services.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/.svn/
META ... |
/libcore/luni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 194 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm() 200 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() 204 for (Provider.Service service : services) { in tryAlgorithm() 213 … private static Engine.SpiAndProvider tryAlgorithmWithProvider(Key key, Provider.Service service) { in tryAlgorithmWithProvider()
|
D | Mac.java | 198 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm() 204 ArrayList<Provider.Service> services = ENGINE.getServices(algorithm); in tryAlgorithm() 208 for (Provider.Service service : services) { in tryAlgorithm() 217 … private static Engine.SpiAndProvider tryAlgorithmWithProvider(Key key, Provider.Service service) { in tryAlgorithmWithProvider()
|
D | Cipher.java | 29 import java.security.Provider.Service; 418 Provider.Service service = provider.getService(SERVICE, transform); in tryTransform() 424 ArrayList<Provider.Service> services = ENGINE.getServices(transform); in tryTransform() 428 for (Provider.Service service : services) { in tryTransform() 438 NeedToSet type, Provider.Service service) { in tryTransformWithProvider() 480 private static boolean matchAttribute(Service service, String attr, String value) { in matchAttribute()
|
/libcore/support/src/test/java/tests/resources/manifest/ |
D | hyts_MANIFEST.MF | 16 Import-Service: org.osgi.service.log.LogReaderService 23 Export-Service: com.ibm.ive.eccomm.service.authentication.AuthenticationService,
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 179 Set<Provider.Service> services = provider.getServices(); in test_TrustManagerFactory_getInstance() 180 for (Provider.Service service : services) { in test_TrustManagerFactory_getInstance() 225 Set<Provider.Service> services = provider.getServices(); in test_TrustManagerFactory_intermediate() 226 for (Provider.Service service : services) { in test_TrustManagerFactory_intermediate()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | KeyGeneratorTest.java | 41 Set<Provider.Service> services = provider.getServices(); in test_getInstance() 42 for (Provider.Service service : services) { in test_getInstance()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 586 private Provider.Service serv; 590 serv = new Provider.Service(this, "CertificateFactory", "X.509", in TestProvider() 594 public synchronized Set<Provider.Service> getServices() { in getServices() 595 HashSet<Provider.Service> s = new HashSet<Service>(); in getServices()
|
/libcore/luni/src/main/files/cacerts/ |
D | 6fcc125d.0 | 29 Issuer: C=US, O=VISA, OU=Visa International Service Association, CN=Visa eCommerce Root 33 Subject: C=US, O=VISA, OU=Visa International Service Association, CN=Visa eCommerce Root
|