Searched refs:addProvider (Results 1 – 19 of 19) sorted by relevance
65 Security.addProvider(mockProvider); in testCipher_getInstance_DoesNotSupportKeyClass_Success()98 Security.addProvider(mockProvider); in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()133 Security.addProvider(mockProviderSpecific); in testCipher_getInstance_DelayedInitialization_KeyType()134 Security.addProvider(mockProviderSpecific2); in testCipher_getInstance_DelayedInitialization_KeyType()135 Security.addProvider(mockProviderAll); in testCipher_getInstance_DelayedInitialization_KeyType()201 Security.addProvider(mockProviderOnlyAlgorithm); in testCipher_getInstance_CorrectPriority_AlgorithmOnlyFirst()202 Security.addProvider(mockProviderFullTransformSpecified); in testCipher_getInstance_CorrectPriority_AlgorithmOnlyFirst()224 Security.addProvider(mockProviderFullTransformSpecified); in testCipher_getInstance_CorrectPriority_FullTransformFirst()225 Security.addProvider(mockProviderOnlyAlgorithm); in testCipher_getInstance_CorrectPriority_FullTransformFirst()248 Security.addProvider(mockProviderAliasedAlgorithm); in testCipher_getInstance_CorrectPriority_AliasedAlgorithmFirst()[all …]
63 Security.addProvider(mockProvider); in testKeyAgreement_getInstance_DoesNotSupportKeyClass_Success()88 Security.addProvider(mockProvider); in testKeyAgreement_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
67 Security.addProvider(mockProvider); in testMac_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
88 Security.addProvider(null); in test_addProviderLjava_security_Provider()99 assertEquals(initNum + 1, Security.addProvider(p)); in test_addProviderLjava_security_Provider()103 assertEquals(-1, Security.addProvider(p)); in test_addProviderLjava_security_Provider()125 Security.addProvider(provider); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()170 Security.addProvider(providers[i]); in testRemoveProvider()203 Security.addProvider(p); in test_getProviderLjava_lang_String()240 Security.addProvider(p); in testGetProviders()304 Security.addProvider(p); in test_getProvidersLjava_util_Map()364 Security.addProvider(provider); in test_getProviders()
140 Security.addProvider(mockProvider); in test_getAlias()
274 int addResult = Security.addProvider(test); in test_removeProviderLjava_lang_String()287 addResult = Security.addProvider(entrust); in test_removeProviderLjava_lang_String()
278 Security.addProvider(myProvider); in test_initVerifyLjava_security_Certificate()
42 Security.addProvider(provider); in setUp()
40 Security.addProvider(new MyProvider()); in setUp()
84 Security.addProvider(p); in tearDown()
948 Security.addProvider(support_TestProvider); in setUp()
503 Security.addProvider(provider); in testProviderService_supportsParameter_UnknownService_Success()523 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()548 Security.addProvider(provider); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()571 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()589 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_NonKey_Failure()612 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()634 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_Null_Failure()653 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_Success()672 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_Failure()691 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyFormats_Success()[all …]
32 Security.addProvider(new MockProvider()); in timeWithNewProvider()
46 Security.addProvider(provider); in testMessageDigest2()
95 Security.addProvider(provider); in testSignature2()
713 Security.addProvider(mockProvider); in testKeyAgreement_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()748 Security.addProvider(mockProviderSpecific); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()749 Security.addProvider(mockProviderSpecific2); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()750 Security.addProvider(mockProviderAll); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
922 Security.addProvider(mockProvider); in testMac_getInstance_DoesNotSupportKeyClass_Success()954 Security.addProvider(mockProvider); in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()989 Security.addProvider(mockProviderSpecific); in testMac_getInstance_DelayedInitialization_KeyType()990 Security.addProvider(mockProviderSpecific2); in testMac_getInstance_DelayedInitialization_KeyType()991 Security.addProvider(mockProviderAll); in testMac_getInstance_DelayedInitialization_KeyType()
31 Security.addProvider(provider); in setUp()
326 public static int addProvider(Provider provider) { in addProvider() method in Security