/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXCertPathBuilderResultTest.java | 28 import org.apache.harmony.security.tests.support.cert.TestUtils; 82 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult01() 90 TestUtils.getPolicyTree(), in testPKIXCertPathBuilderResult01() 105 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult02() 125 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult03() 135 TestUtils.getPolicyTree(), in testPKIXCertPathBuilderResult03() 154 TestUtils.getPolicyTree(), in testPKIXCertPathBuilderResult04() 168 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult05() 178 TestUtils.getPolicyTree(), in testPKIXCertPathBuilderResult05() 187 TrustAnchor ta = TestUtils.getTrustAnchor(); in test_clone() [all …]
|
D | PKIXCertPathValidatorResultTest.java | 34 import org.apache.harmony.security.tests.support.cert.TestUtils; 73 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult01() 79 TestUtils.getPolicyTree(), in testPKIXCertPathValidatorResult01() 94 TestUtils.getPolicyTree(), in testPKIXCertPathValidatorResult02() 108 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult03() 116 TestUtils.getPolicyTree(), in testPKIXCertPathValidatorResult03() 129 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult04() 147 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetTrustAnchor() 170 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetPublicKey() 196 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetPolicyTree01() [all …]
|
D | PKIXCertPathCheckerTest.java | 35 import org.apache.harmony.security.tests.support.cert.TestUtils; 54 PKIXCertPathChecker pc1 = TestUtils.getTestCertPathChecker(); in testClone() 65 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testIsForwardCheckingSupported() 70 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testInit() 74 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testGetSupportedExtensions() 78 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testCheck_Cert_Collection() 83 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testCheck_Cert()
|
D | CertificateCertificateRepTest.java | 6 import org.apache.harmony.security.tests.support.cert.TestUtils; 48 "X509", TestUtils.getX509Certificate_v3()); in testCertificateCertificateRep() 50 assertTrue(Arrays.equals(TestUtils.getX509Certificate_v3(), rep1.getData())); in testCertificateCertificateRep() 71 MyCertificateRep rep1 = c1.new MyCertificateRep("X509", TestUtils in testReadResolve()
|
D | CertPathTest.java | 32 import org.apache.harmony.security.tests.support.cert.TestUtils; 225 TestUtils.initCertPathSSCertChain(); in testSerializationSelf() 226 CertPath certPath = TestUtils.buildCertPathSSCertChain(); in testSerializationSelf() 235 TestUtils.initCertPathSSCertChain(); in testSerializationCompatibility() 236 CertPath certPath = TestUtils.buildCertPathSSCertChain(); in testSerializationCompatibility()
|
D | CertificateFactory3Test.java | 28 import org.apache.harmony.security.tests.support.cert.TestUtils; 92 TestUtils.getEncodedX509Certificate())); in testGenerateCertificate() 106 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertificates() 111 TestUtils.getEncodedX509Certificate())); in testGenerateCertificates() 127 .generateCertificate(new ByteArrayInputStream(TestUtils in testGenerateCertPath01()
|
D | CertificateTest.java | 45 import org.apache.harmony.security.tests.support.cert.TestUtils; 333 TestUtils.initCertPathSSCertChain(); in setUp() 334 cert = TestUtils.rootCertificateSS; in setUp() 464 TestUtils.initCertPathSSCertChain(); in testSerializationSelf() 466 SerializationTest.verifySelf(TestUtils.rootCertificateSS); in testSerializationSelf() 475 TestUtils.initCertPathSSCertChain(); in testSerializationCompatibility() 477 SerializationTest.verifyGolden(this, TestUtils.rootCertificateSS); in testSerializationCompatibility()
|
D | X509CRLTest.java | 48 import org.apache.harmony.security.tests.support.cert.TestUtils; 259 return TestUtils.getX509CRL_v1(); in testGetIssuerX500Principal() 277 return TestUtils.getX509CRL_v1(); in testGetRevokedCertificate() 300 return TestUtils.getX509CRL_v1(); in testAbstractMethods()
|
D | X509Certificate2Test.java | 20 import org.apache.harmony.security.tests.support.cert.TestUtils; 49 .generateCertificate(new ByteArrayInputStream(TestUtils in test_toString() 284 return TestUtils.getX509Certificate_v1(); in testGetIssuerX500Principal() 297 return TestUtils.getX509Certificate_v1(); in testGetSubjectX500Principal()
|
D | CertPathValidator3Test.java | 30 import org.apache.harmony.security.tests.support.cert.TestUtils; 95 CertPathParameters params = new PKIXParameters(TestUtils.getTrustAnchorSet()); in testValidate01()
|
D | PKIXBuilderParametersTest.java | 41 import org.apache.harmony.security.tests.support.cert.TestUtils; 88 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector01() 107 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector02() 127 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector03()
|
D | CertPathBuilder1Test.java | 27 import org.apache.harmony.security.tests.support.cert.TestUtils; 318 TestUtils.initCertPathSSCertChain(); in testBuild() 319 CertPathParameters params = TestUtils.getCertPathParameters(); in testBuild() 320 CertPathBuilder builder = TestUtils.getCertPathBuilder(); in testBuild()
|
D | CertPathValidator2Test.java | 29 import org.apache.harmony.security.tests.support.cert.TestUtils; 235 CertPathParameters params = new PKIXParameters(TestUtils.getTrustAnchorSet()); in testValidate()
|
D | X509CRLSelector2Test.java | 5 import org.apache.harmony.security.tests.support.cert.TestUtils; 315 .generateCertificate(new ByteArrayInputStream(TestUtils in testSetCertificateCheckingLjava_X509Certificate() 433 .generateCertificate(new ByteArrayInputStream(TestUtils in testGetCertificateCheckingLjava_X509Certificate()
|
D | X509CertSelectorTest.java | 59 import org.apache.harmony.security.tests.support.cert.TestUtils; 293 TestUtils.getX509Certificate_v3())); in test_getCertificate() 297 TestUtils.getX509Certificate_v1())); in test_getCertificate() 804 TestUtils.getX509Certificate_v3())); in test_matchLjava_security_cert_Certificate() 808 TestUtils.getX509Certificate_v1())); in test_matchLjava_security_cert_Certificate() 1958 ByteArrayInputStream bi = new ByteArrayInputStream(TestUtils.rootCert.getBytes()); in setupEnvironment() 1960 bi = new ByteArrayInputStream(TestUtils.endCert.getBytes()); in setupEnvironment() 2005 TestUtils.initCertPathSSCertChain(); in test_addPathToNameLintLbyte_array2() 2032 …theCertSelector.addPathToName(4, TestUtils.rootCertificateSS.getIssuerX500Principal().getEncoded()… in test_addPathToNameLintLbyte_array2() 2034 p = TestUtils.buildCertPathSSCertChain(); in test_addPathToNameLintLbyte_array2()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | OldPKIXParametersTest.java | 36 import org.apache.harmony.security.tests.support.cert.TestUtils; 45 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testClone() 102 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testIsPolicyMappingInhibited() 111 TestUtils.initCertPathSSCertChain(); in testIsPolicyMappingInhibited() 113 TestUtils.rootCertificateSS, null)); in testIsPolicyMappingInhibited() 130 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testIsRevocationEnabled() 140 TestUtils.initCertPathSSCertChain(); in testIsRevocationEnabled() 142 TestUtils.rootCertificateSS, null)); in testIsRevocationEnabled() 154 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testToString() 206 keystore.setCertificateEntry("test", TestUtils.rootCertificateSS); in testPKIXParametersKeyStore04()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ReentrantReadWriteLockTest.java | 80 if(!TestUtils.waitWhileTrueOrTimeout(Duration.ofSeconds(2), in waitForQueuedThread() 112 TestUtils.joinThreadOrFail(2000, thread1); in testGetQueuedReaderThreads() 113 TestUtils.joinThreadOrFail(2000, thread2); in testGetQueuedReaderThreads() 131 TestUtils.joinThreadOrFail(2000, thread1); in testGetQueuedWriterThreads() 132 TestUtils.joinThreadOrFail(2000, thread2); in testGetQueuedWriterThreads()
|
D | TestUtils.java | 24 class TestUtils { class
|
D | RecursiveTaskTest.java | 51 if(!TestUtils.waitWhileTrueOrTimeout(Duration.ofSeconds(10), in waitForCompletion()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509TrustManagerTest.java | 9 import org.apache.harmony.security.tests.support.cert.TestUtils; 17 new ByteArrayInputStream(TestUtils.getX509Certificate_v3())); in setX509Certificate() 25 new ByteArrayInputStream(TestUtils.getX509Certificate_v1())); in setInvalid()
|
D | HttpsURLConnectionTest.java | 34 import org.apache.harmony.security.tests.support.cert.TestUtils; 274 byte[] barr = TestUtils.getX509Certificate_v1(); in getLocalCertificates() 289 byte[] barr = TestUtils.getX509Certificate_v3(); in getServerCertificates()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 33 import org.apache.harmony.security.tests.support.cert.TestUtils; 80 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_X500Principal_02() 116 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_X500Principal_03() 234 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_getEncoded()
|