/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderServiceTest.java | 28 import java.security.Provider.Service; 47 new Provider.Service(null, "type", "algorithm", "className", null, in testService() 53 new Provider.Service(p, null, "algorithm", "className", null, null); in testService() 58 new Provider.Service(p, "type", null, "className", null, null); in testService() 63 new Provider.Service(p, "type", "algorithm", null, null, null); in testService() 68 Provider.Service s = new Provider.Service(p, "type", "algorithm", in testService() 90 Provider.Service s = new Provider.Service(p, "type", "algorithm", in testGetAttribute() 107 s = new Provider.Service(p, "type", "algorithm", "className", null, hm); in testGetAttribute() 123 Provider.Service s = new Provider.Service(p, type, in testNewInstance() 140 Provider.Service s = new Provider.Service(p, type, in testNewlyCreatedServiceDoesntGetsRegistered() [all …]
|
D | ProviderTest.java | 35 import java.security.Provider.Service; 302 Provider.Service s = (Provider.Service)it.next(); in testPutObjectObject() 335 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1() 376 public void putService(Provider.Service s) { in putService() 382 public void removeService(Provider.Service s) { in removeService() 403 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2() 418 Set<Provider.Service> services = myProvider.getServices(); in testGetServices() 421 Provider.Service s[] = new Provider.Service[3]; in testGetServices() 423 s[0] = new Provider.Service(myProvider, "type1", "algorithm1", "className1", in testGetServices() 425 s[1] = new Provider.Service(myProvider, "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 | 500 private Set<Provider.Service> services = null; 510 services = new HashSet<Service>(); in MyProvider() 519 services = new HashSet<Service>(); in MyProvider() 523 public void putService(Provider.Service s) { in putService() 528 public void removeService(Provider.Service s) { in removeService()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | GetInstance.java | 31 import java.security.Provider.Service; 64 public static Service getService(String type, String algorithm) in getService() 67 Service s = list.getService(type, algorithm); in getService() 75 public static Service getService(String type, String algorithm, in getService() 85 Service s = p.getService(type, algorithm); in getService() 93 public static Service getService(String type, String algorithm, in getService() 98 Service s = provider.getService(type, algorithm); in getService() 112 public static List<Service> getServices(String type, String algorithm) { in getServices() 123 public static List<Service> getServices(String type, in getServices() 133 public static List<Service> getServices(List<ServiceId> ids) { in getServices() [all …]
|
D | ProviderList.java | 31 import java.security.Provider.Service; 74 public Service getService(String type, String algorithm) { 329 public Service getService(String type, String name) { 332 Service s = p.getService(type, name); 349 public List<Service> getServices(String type, String algorithm) { 359 public List<Service> getServices(String type, List<String> algorithms) { 367 public List<Service> getServices(List<ServiceId> ids) { 376 private final class ServiceList extends AbstractList<Service> { 391 private Service firstService; 394 private List<Service> services; [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
D | ProviderList.java | 110 public java.security.Provider.Service getService(java.lang.String type, java.lang.String name) { in getService() 114 public java.util.List<java.security.Provider.Service> getServices( in getServices() 120 public java.util.List<java.security.Provider.Service> getServices( in getServices() 125 public java.util.List<java.security.Provider.Service> getServices( in getServices() 175 private final class ServiceList extends java.util.AbstractList<java.security.Provider.Service> { 185 private void addService(java.security.Provider.Service s) { in addService() 189 private java.security.Provider.Service tryGet(int index) { in tryGet() 193 public java.security.Provider.Service get(int index) { in get() 205 public java.util.Iterator<java.security.Provider.Service> iterator() { in iterator() 215 private java.security.Provider.Service firstService; [all …]
|
D | GetInstance.java | 38 public static java.security.Provider.Service getService( in getService() 44 public static java.security.Provider.Service getService( in getService() 50 public static java.security.Provider.Service getService( in getService() 56 public static java.util.List<java.security.Provider.Service> getServices( in getServices() 62 public static java.util.List<java.security.Provider.Service> getServices( in getServices() 67 public static java.util.List<java.security.Provider.Service> getServices( in getServices() 129 java.security.Provider.Service s, java.lang.Class<?> clazz) in getInstance() 135 java.security.Provider.Service s, java.lang.Class<?> clazz, java.lang.Object param) in getInstance() 141 java.security.Provider.Service s, in checkSuperClass()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 107 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices() 111 Set<Provider.Service> originalServices = services; in test_Provider_getServices() 112 services = new TreeSet<Provider.Service>( in test_Provider_getServices() 113 new Comparator<Provider.Service>() { in test_Provider_getServices() 114 public int compare(Provider.Service a, Provider.Service b) { in test_Provider_getServices() 125 for (Provider.Service service : services) { in test_Provider_getServices() 329 private static Provider.Service getService(Provider p, String id) { in getService() 390 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle() 410 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle() 457 Set<Provider.Service> services = provider.getServices(); in test_Provider_getServices_supportsParameter() [all …]
|
D | SecureRandomTest.java | 38 Set<Provider.Service> services = provider.getServices(); in test_getInstance() 39 for (Provider.Service service : services) { in test_getInstance()
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 94 Set<Provider.Service> services = new TreeSet<Provider.Service>( in main() 95 new Comparator<Provider.Service>() { in main() 96 public int compare(Provider.Service a, Provider.Service b) { in main() 105 for (Provider.Service s : services) { in main()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyPairGenerator.java | 32 import java.security.Provider.Service; 237 List<Service> list = in getInstance() 239 Iterator<Service> t = list.iterator(); in getInstance() 247 Service s = t.next(); in getInstance() 575 private Iterator<Service> serviceIterator; 592 Delegate(Instance instance, Iterator<Service> serviceIterator, in Delegate() 627 Service s = serviceIterator.next(); in nextSpi()
|
D | Provider.java | 683 private transient Map<ServiceKey,Service> serviceMap; 687 private transient Map<ServiceKey,Service> legacyMap; 691 private transient Set<Service> serviceSet; 936 legacyMap = new LinkedHashMap<ServiceKey,Service>(); in ensureLegacyParsed() 951 private void removeInvalidServices(Map<ServiceKey,Service> map) { in removeInvalidServices() 952 for (Iterator<Map.Entry<ServiceKey, Service>> t = in removeInvalidServices() 954 Service s = t.next().getValue(); in removeInvalidServices() 992 Service s = legacyMap.get(key); in parseLegacyPut() 994 s = new Service(this); in parseLegacyPut() 1013 Service s = legacyMap.get(key); in parseLegacyPut() [all …]
|
D | Signature.java | 38 import java.security.Provider.Service; 355 List<Service> list; in getInstance() 361 Iterator<Service> t = list.iterator(); in getInstance() 369 Service s = t.next(); in getInstance() 419 private static boolean isSpi(Service s) { in isSpi() 558 Service s = p.getService("Signature", RSA_SIGNATURE); in getInstanceRSA() 1191 private static SignatureSpi newInstance(Service s) in newInstance() 1245 List<Service> list; in chooseFirstProvider() 1252 for (Service s : list) { in chooseFirstProvider() 1291 List<Service> list; in chooseProvider() [all …]
|
D | KeyFactory.java | 29 import java.security.Provider.Service; 138 private Iterator<Service> serviceIterator; 157 List<Service> list = GetInstance.getServices("KeyFactory", algorithm); in KeyFactory() 322 Service s = serviceIterator.next(); in nextSpi()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 32 import java.security.Provider.Service; 197 List<Service> services = in getInstance() 200 Iterator<Service> t = services.iterator(); in getInstance() 202 Service s = t.next(); in getInstance() 338 for (Service s : GetInstance.getServices("KeyAgreement", algorithm)) { in chooseFirstProvider() 394 for (Service s : GetInstance.getServices("KeyAgreement", algorithm)) { in chooseProvider()
|
D | Mac.java | 32 import java.security.Provider.Service; 260 List<Service> services = GetInstance.getServices("Mac", algorithm); in getInstance() 262 Iterator<Service> t = services.iterator(); in getInstance() 264 Service s = t.next(); in getInstance() 391 for (Service s : GetInstance.getServices("Mac", algorithm)) { in chooseFirstProvider() 433 for (Service s : GetInstance.getServices("Mac", algorithm)) { in chooseProvider()
|
D | JceSecurity.java | 34 import java.security.Provider.Service; 107 Service s = GetInstance.getService(type, algorithm, provider); in getInstance() 119 Service s = GetInstance.getService(type, algorithm, provider); in getInstance() 131 List<Service> services = GetInstance.getServices(type, algorithm); in getInstance() 133 for (Service s : services) { in getInstance()
|
D | SecretKeyFactory.java | 31 import java.security.Provider.Service; 283 private Iterator<Service> serviceIterator; 301 List<Service> list = in SecretKeyFactory() 482 Service s = serviceIterator.next(); in nextSpi()
|
D | KeyGenerator.java | 31 import java.security.Provider.Service; 197 private Iterator<Service> serviceIterator; 228 List<Service> list = in KeyGenerator() 411 Service s = serviceIterator.next(); in nextSpi()
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 95 public synchronized java.security.Provider.Service getService(java.lang.String type, java.lang.Stri… in getService() 97 public synchronized java.util.Set<java.security.Provider.Service> getServices() { throw new Runtime… in getServices() 99 protected synchronized void putService(java.security.Provider.Service s) { throw new RuntimeExcepti… in putService() 101 protected synchronized void removeService(java.security.Provider.Service s) { throw new RuntimeExce… in removeService() 112 public static class Service { class in Provider 114 public Service(java.security.Provider provider, java.lang.String type, java.lang.String algorithm, … in Service() method in Provider.Service
|
/libcore/support/src/test/java/tests/resources/ServiceLoader/ |
D | Service.java | 23 public interface Service { interface
|
/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/ojluni/annotations/hiddenapi/java/security/ |
D | KeyPairGenerator.java | 117 java.util.Iterator<java.security.Provider.Service> serviceIterator, in Delegate() 166 private java.util.Iterator<java.security.Provider.Service> serviceIterator;
|
/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()
|