Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java178 provider.getService(entry.getKey(), algorithm) != null) in test_Provider_getServices()
327 private static Provider.Service getService(Provider p, String id) { in getService() method in ProviderTest
330 return p.getService(typeAndAlg[0], typeAndAlg[1]); in getService()
388 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle()
408 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle()
418 if (getService(conscrypt, shouldBeOverridenBcId) == null) { in test_Provider_ConscryptOverridesBouncyCastle()
505 Provider.Service service = provider.getService("Fake", "FOO"); in testProviderService_supportsParameter_UnknownService_Success()
525 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
550 Provider.Service service = provider.getService("KeyFactory", "FOO"); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
573 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
[all …]
/libcore/ojluni/src/main/java/sun/security/jca/
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/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.java335 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1()
345 assertEquals("foo", p.getService("i", "i").getClassName()); in testGetServiceCaseSensitivity()
346 assertEquals("foo", p.getService("i", "I").getClassName()); in testGetServiceCaseSensitivity()
347 assertNull(p.getService("\u0130", "\u0130")); // Turkish dotless i and dotted I in testGetServiceCaseSensitivity()
348 assertNull(p.getService("\u0131", "\u0131")); in testGetServiceCaseSensitivity()
403 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.java2873 Provider.Service service = provider.getService("Cipher", transform.name); in tryCombinations()
2883 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/ojluni/src/main/java/java/security/
DProvider.java1066 public synchronized Service getService(String type, String algorithm) { in getService() method in Provider
1611 if (provider.getService(type, algorithm) != this) { in newInstance()
DSignature.java558 Service s = p.getService("Signature", RSA_SIGNATURE); in getInstanceRSA()