/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | ProviderServiceTest.java | 45 Provider p = new MyProvider(); in testService() 89 Provider p = new MyProvider(); in testGetAttribute() 122 MyProvider p = new MyProvider(); in testNewInstance() 139 MyProvider p = new MyProvider(); in testNewlyCreatedServiceDoesntGetsRegistered() 159 Provider p = new MyProvider(); in testGetAlgorithm() 171 Provider p = new MyProvider(); in testGetClassName() 183 Provider p = new MyProvider(); in testGetProvider() 195 Provider p = new MyProvider(); in testGetType() 207 Provider p = new MyProvider(); in testSupportsParameter() 215 Provider p = new MyProvider(); in testToString() [all …]
|
D | SecureRandom2Test.java | 44 MyProvider p = new MyProvider(); in testGetProvider() 98 MyProvider p = new MyProvider(); in test_ConstructorLjava_security_SecureRandomSpi_java_security_Provider() 342 class MyProvider extends Provider { class in SecureRandom2Test 344 MyProvider() { in MyProvider() method in SecureRandom2Test.MyProvider 351 MyProvider(String name, double version, String info) { in MyProvider() method in SecureRandom2Test.MyProvider
|
D | ProviderTest.java | 70 p = new MyProvider(); in setUp() 121 Provider p = new MyProvider("Provider name", 123.456, "Provider info"); in testProviderStringdoubleString() 356 MyProvider myProvider = new MyProvider(null, 1, null); in testConstructor() 363 class MyProvider extends Provider { class in ProviderTest 364 MyProvider() { in MyProvider() method in ProviderTest.MyProvider 371 MyProvider(String name, double version, String info) { in MyProvider() method in ProviderTest.MyProvider 417 MyProvider myProvider = new MyProvider(null, 1, null); in testGetServices() 457 MyProvider myProvider = new MyProvider(null, 1, null); in testPutService() 508 MyProvider myProvider = new MyProvider(null, 1, null); in testRemoveService() 577 MyProvider myProvider = new MyProvider("name", 1, "info"); in testLoad() [all …]
|
D | SecurityTest.java | 49 Provider p = new MyProvider(); in test_insertProviderAtLjava_security_ProviderLI() 93 Provider p = new MyProvider(); in test_addProviderLjava_security_Provider() 118 Provider provider = new MyProvider(); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String() 201 Provider p = new MyProvider(); in test_getProviderLjava_lang_String() 238 Provider p = new MyProvider(); in testGetProviders() 302 Provider p = new MyProvider(); in test_getProvidersLjava_util_Map() 357 MyProvider provider = new MyProvider(); in test_getProviders() 421 class MyProvider extends Provider { class in SecurityTest 422 MyProvider() { in MyProvider() method in SecurityTest.MyProvider
|
D | KeyStore3Test.java | 124 Provider p = new MyProvider(); in test_KeyStore() 259 private class MyProvider extends Provider { class in KeyStore3Test 260 MyProvider() { in MyProvider() method in KeyStore3Test.MyProvider 266 MyProvider(String name, double version, String info) { in MyProvider() method in KeyStore3Test.MyProvider
|
D | Signature2Test.java | 274 Provider p = new MyProvider(); in test_initVerifyLjava_security_Certificate() 277 Provider myProvider = new MyProvider(); in test_initVerifyLjava_security_Certificate() 499 public static class MyProvider extends Provider { class in Signature2Test 502 MyProvider() { in MyProvider() method in Signature2Test.MyProvider 514 MyProvider(String name, double version, String info) { in MyProvider() method in Signature2Test.MyProvider
|
D | SignatureTest.java | 175 …Provider provider = new MyProvider("TestProvider", 1.0, "Test Provider", "Signature.ABC", MySignat… in getTestSignature() 529 Provider provider = new MyProvider( in testSignature_getCurrentSpi_Success() 703 private class MyProvider extends Provider { class in SignatureTest 705 … protected MyProvider(String name, double version, String info, String signame, String className) { in MyProvider() method in SignatureTest.MyProvider
|
D | AlgorithmParametersTest.java | 59 p = new MyProvider(); in setUp() 678 private class MyProvider extends Provider { class in AlgorithmParametersTest 679 MyProvider() { in MyProvider() method in AlgorithmParametersTest.MyProvider 685 MyProvider(String name, double version, String info) { in MyProvider() method in AlgorithmParametersTest.MyProvider
|
D | KeyStore4Test.java | 5 import org.apache.harmony.security.tests.support.MyProvider; 30 Provider provider = new MyProvider(); 40 Security.addProvider(new MyProvider()); in setUp()
|
D | KeyStoreTest.java | 86 mProv = (new SpiEngUtils()).new MyProvider("MyKSProvider", in setUp()
|
D | KeyPairGenerator2Test.java | 81 mProv = (new SpiEngUtils()).new MyProvider("MyKPGenProvider".concat(post), in setProv()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismTest.java | 60 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in testExemptionMechanism() 120 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in testIsCryptoAllowed() 152 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in testGenExemptionBlob() 194 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_genExemptionBlob() 232 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_genExemptionBlob$B() 272 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_genExemptionBlob$BI() 318 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_getInstanceLjava_lang_String() 337 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_getInstanceLjava_lang_StringLjava_security_Provider() 369 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_getName() 384 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", in test_getOutputSizeI() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyProvider.java | 5 public class MyProvider extends Provider { class 7 public MyProvider() { in MyProvider() method in MyProvider
|
D | SpiEngUtils.java | 60 public class MyProvider extends Provider { class in SpiEngUtils 62 public MyProvider(String name, String info, String key, String clName) { in MyProvider() method in SpiEngUtils.MyProvider
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | MessageDigestTestMD2.java | 45 Provider provider = new MyProvider(); in testMessageDigest2() 57 public final class MyProvider extends Provider { class in MessageDigestTestMD2 58 public MyProvider() { in MyProvider() method in MessageDigestTestMD2.MyProvider
|
D | SignatureTestMD2withRSA.java | 94 Provider provider = new MyProvider(); in testSignature2() 109 public final class MyProvider extends Provider { class in SignatureTestMD2withRSA 110 public MyProvider() in MyProvider() method in SignatureTestMD2withRSA.MyProvider
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactorySpiTest.java | 56 Provider provider = new MyProvider(); in test_engineInit_01() 83 Provider provider = new MyProvider(); in test_engineInit_02() 109 Provider provider = new MyProvider(); in test_engineGetTrustManagers() 127 class MyProvider extends Provider { class 129 public MyProvider() { in MyProvider() method in MyProvider
|
D | TrustManagerFactory2Test.java | 60 mProv = (new SpiEngUtils()).new MyProvider("MyTMFProvider", in setUp()
|
D | KeyManagerFactory2Test.java | 63 mProv = (new SpiEngUtils()).new MyProvider("MyKMFProvider", in setUp()
|
D | SSLContext2Test.java | 61 mProv = (new SpiEngUtils()).new MyProvider("MySSLContextProvider", "Provider for testing", in setUp()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertPathBuilder1Test.java | 442 provider = mcpb.new MyProvider(); in getInstance() 450 public class MyProvider extends Provider { class in myCertPathBuilder 454 MyProvider() { in MyProvider() method in myCertPathBuilder.MyProvider 458 MyProvider(String name, double version, String info) { in MyProvider() method in myCertPathBuilder.MyProvider
|
D | CertPathBuilder2Test.java | 27 import tests.security.cert.myCertPathBuilder.MyProvider; 63 mProv = (new SpiEngUtils()).new MyProvider("MyCertPathBuilderProvider", in setUp()
|
D | CertPathValidator2Test.java | 66 mProv = (new SpiEngUtils()).new MyProvider("MyCertPathValidatorProvider", in setUp()
|
D | CertificateFactory2Test.java | 69 mProv = (new SpiEngUtils()).new MyProvider("MyCFProvider", in setUp()
|