/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 178 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/ |
D | ProviderList.java | 74 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/ |
D | GetInstance.java | 38 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
|
D | ProviderList.java | 110 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/ |
D | ProviderTest.java | 335 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()
|
D | ProviderServiceTest.java | 146 assertNull(p.getService(type, algorithm)); in testNewlyCreatedServiceDoesntGetsRegistered()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | JceSecurity.java | 107 Service s = GetInstance.getService(type, algorithm, provider); in getInstance() 119 Service s = GetInstance.getService(type, algorithm, provider); in getInstance()
|
D | Cipher.java | 2873 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/ |
D | Provider.annotated.java | 95 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/ |
D | Provider.java | 1066 public synchronized Service getService(String type, String algorithm) { in getService() method in Provider 1611 if (provider.getService(type, algorithm) != this) { in newInstance()
|
D | Signature.java | 558 Service s = p.getService("Signature", RSA_SIGNATURE); in getInstanceRSA()
|