Home
last modified time | relevance | path

Searched refs:addProvider (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java88 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()
DProvider2Test.java140 Security.addProvider(mockProvider); in test_getAlias()
DSecurity2Test.java274 int addResult = Security.addProvider(test); in test_removeProviderLjava_lang_String()
287 addResult = Security.addProvider(entrust); in test_removeProviderLjava_lang_String()
DSignature2Test.java281 Security.addProvider(myProvider); in test_initVerifyLjava_security_Certificate()
DKeyStore4Test.java40 Security.addProvider(new MyProvider()); in setUp()
DKeyFactoryTest.java42 Security.addProvider(provider); in setUp()
DProviderTest.java83 Security.addProvider(p); in tearDown()
DKeyStore2Test.java946 Security.addProvider(support_TestProvider); in setUp()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java311 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 …]
DSignatureTest.java82 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()
/libcore/luni/src/test/java/tests/targets/security/
DMessageDigestTestMD2.java49 Security.addProvider(provider); in testMessageDigest2()
DSignatureTestMD2withRSA.java98 Security.addProvider(provider); in testSignature2()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java146 Security.addProvider(myProvider); in setUp()
154 Security.addProvider(mySSProvider); in setUp()
764 Security.addProvider(myProvider); in testVerifyPublicKeyString()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java713 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()
DMacTest.java909 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()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/
DSubjectPublicKeyInfoTest.java85 Security.addProvider(new MyTestProvider()); in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered()
/libcore/luni/src/main/java/java/security/
DSecurity.java144 public static int addProvider(Provider provider) { in addProvider() method in Security
/libcore/luni/src/test/java/tests/security/cert/
DCertStore2Test.java31 Security.addProvider(provider); in setUp()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java873 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()