Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/jca/
DGetInstance.java64 public static Service getService(String type, String algorithm) in getService() method in GetInstance
67 Service s = list.getService(type, algorithm); in getService()
75 public static Service getService(String type, String algorithm, in getService() method in GetInstance
85 Service s = p.getService(type, algorithm); in getService()
93 public static Service getService(String type, String algorithm, in getService() method in GetInstance
98 Service s = provider.getService(type, algorithm); in getService()
157 Service firstService = list.getService(type, algorithm); in getInstance()
206 return getInstance(getService(type, algorithm, provider), clazz); in getInstance()
212 return getInstance(getService(type, algorithm, provider), clazz, param); in getInstance()
218 return getInstance(getService(type, algorithm, provider), clazz); in getInstance()
[all …]
DProviderList.java74 public Service getService(String type, String algorithm) {
329 public Service getService(String type, String name) {
332 Service s = p.getService(type, name);
437 Service s = p.getService(type, algorithm);
444 Service s = p.getService(id.type, id.algorithm);
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java191 provider.getService(entry.getKey(), algorithm) != null) in test_Provider_getServices()
350 private static Provider.Service getService(Provider p, String id) { in getService() method in ProviderTest
353 return p.getService(typeAndAlg[0], typeAndAlg[1]); in getService()
411 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle()
431 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle()
441 if (getService(conscrypt, shouldBeOverridenBcId) == null) { in test_Provider_ConscryptOverridesBouncyCastle()
528 Provider.Service service = provider.getService("Fake", "FOO"); in testProviderService_supportsParameter_UnknownService_Success()
548 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
573 Provider.Service service = provider.getService("KeyFactory", "FOO"); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
596 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
[all …]
DSignatureTest.java479 doReturn(service).when(provider).getService(service.getType(), service.getAlgorithm()); in testGetParameters_IsCalled()
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DGetInstance.java38 public static java.security.Provider.Service getService( in getService() method in GetInstance
44 public static java.security.Provider.Service getService( in getService() method in GetInstance
50 public static java.security.Provider.Service getService( in getService() method in GetInstance
DProviderList.java110 public java.security.Provider.Service getService(java.lang.String type, java.lang.String name) { in getService() method in ProviderList
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java329 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1()
339 assertEquals("foo", p.getService("i", "i").getClassName()); in testGetServiceCaseSensitivity()
340 assertEquals("foo", p.getService("i", "I").getClassName()); in testGetServiceCaseSensitivity()
341 assertNull(p.getService("\u0130", "\u0130")); // Turkish dotless i and dotted I in testGetServiceCaseSensitivity()
342 assertNull(p.getService("\u0131", "\u0131")); in testGetServiceCaseSensitivity()
397 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2()
DProviderServiceTest.java146 assertNull(p.getService(type, algorithm)); in testNewlyCreatedServiceDoesntGetsRegistered()
/libcore/ojluni/src/main/java/javax/crypto/
DJceSecurity.java107 Service s = GetInstance.getService(type, algorithm, provider); in getInstance()
119 Service s = GetInstance.getService(type, algorithm, provider); in getInstance()
DCipher.java2892 Provider.Service service = provider.getService("Cipher", transform.name); in tryCombinations()
2902 Provider.Service service = prov.getService("Cipher", transform.name); in tryCombinations()
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java95 public synchronized java.security.Provider.Service getService(java.lang.String type, java.lang.Stri… in getService() method in Provider
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java106 if (p.getService(type, algorithm) != null) { in provideOptional()
/libcore/ojluni/src/main/java/java/security/
DProvider.java1068 public synchronized Service getService(String type, String algorithm) { in getService() method in Provider
1619 if (provider.getService(type, algorithm) != this) { in newInstance()
DSignature.java562 Service s = p.getService("Signature", RSA_SIGNATURE); in getInstanceRSA()
/libcore/api/
Dcurrent.txt8447 method public java.security.Provider.Service getService(String, String);