Searched refs:openTestFile (Results 1 – 9 of 9) sorted by relevance
26 import static org.conscrypt.TestUtils.openTestFile;37 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()38 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()40 openTestFile("cert-ct-embedded.pem")); in setUp()43 openTestFile("ct-server-key-public.pem")).getPublicKey(); in setUp()
107 void UCAConformanceTest::openTestFile(const char *type) in openTestFile() function in UCAConformanceTest297 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()307 openTestFile("SHIFTED"); in TestTableShifted()317 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()331 openTestFile("SHIFTED"); in TestRulesShifted()
41 void openTestFile(const char *type);
27 public static InputStream openTestFile(String name) throws FileNotFoundException { in openTestFile() method in TestUtils36 return Streams.readFully(openTestFile(name)); in readTestFile()
51 import static org.conscrypt.TestUtils.openTestFile;72 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()73 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()75 openTestFile("cert-ct-embedded.pem")); in setUp()77 openTestFile("cert-key.pem")).getPrivateKey(); in setUp()80 openTestFile("ct-server-key-public.pem")).getPublicKey(); in setUp()
32 import static org.conscrypt.TestUtils.openTestFile;85 return OpenSSLX509Certificate.fromX509PemInputStream(openTestFile(name)); in loadTestCertificate()
66 import static org.conscrypt.TestUtils.openTestFile;3029 openTestFile("cert-ct-poisoned.pem")); in test_get_ocsp_single_extension()3031 openTestFile("ca-cert.pem")); in test_get_ocsp_single_extension()
56 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()62 openTestFile("SHIFTED"); in TestTableShifted()72 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()90 private void openTestFile(String type) in openTestFile() method in UCAConformanceTest
52 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()58 openTestFile("SHIFTED"); in TestTableShifted()68 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()86 private void openTestFile(String type) in openTestFile() method in UCAConformanceTest