Searched refs:addProvider (Results 1 – 19 of 19) sorted by relevance
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()
281 Security.addProvider(myProvider); in test_initVerifyLjava_security_Certificate()
40 Security.addProvider(new MyProvider()); in setUp()
42 Security.addProvider(provider); in setUp()
83 Security.addProvider(p); in tearDown()
946 Security.addProvider(support_TestProvider); in setUp()
311 Security.addProvider(provider); in testProviderService_supportsParameter_UnknownService_Success()331 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()356 Security.addProvider(provider); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()379 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()397 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_NonKey_Failure()420 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()442 Security.addProvider(provider); in testProviderService_supportsParameter_KnownService_Null_Failure()461 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_Success()480 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyClasses_Failure()499 Security.addProvider(provider); in testProviderService_supportsParameter_SupportedKeyFormats_Success()[all …]
82 Security.addProvider(mockProvider); in testSignature_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()117 Security.addProvider(mockProviderSpecific); in testSignature_getInstance_DelayedInitialization_KeyType()118 Security.addProvider(mockProviderSpecific2); in testSignature_getInstance_DelayedInitialization_KeyType()119 Security.addProvider(mockProviderAll); in testSignature_getInstance_DelayedInitialization_KeyType()225 Security.addProvider(mockProviderNonSpi); in testSignature_getProvider_Subclass()
49 Security.addProvider(provider); in testMessageDigest2()
98 Security.addProvider(provider); in testSignature2()
146 Security.addProvider(myProvider); in setUp()154 Security.addProvider(mySSProvider); in setUp()764 Security.addProvider(myProvider); in testVerifyPublicKeyString()
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()
909 Security.addProvider(mockProvider); in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()944 Security.addProvider(mockProviderSpecific); in testMac_getInstance_DelayedInitialization_KeyType()945 Security.addProvider(mockProviderSpecific2); in testMac_getInstance_DelayedInitialization_KeyType()946 Security.addProvider(mockProviderAll); in testMac_getInstance_DelayedInitialization_KeyType()
85 Security.addProvider(new MyTestProvider()); in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered()
144 public static int addProvider(Provider provider) { in addProvider() method in Security
31 Security.addProvider(provider); in setUp()
873 Security.addProvider(mockProvider); in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()908 Security.addProvider(mockProviderSpecific); in testCipher_getInstance_DelayedInitialization_KeyType()909 Security.addProvider(mockProviderSpecific2); in testCipher_getInstance_DelayedInitialization_KeyType()910 Security.addProvider(mockProviderAll); in testCipher_getInstance_DelayedInitialization_KeyType()971 Security.addProvider(mockProviderInvalid); in testCipher_getInstance_WrongType_Failure()