Searched refs:openTestFile (Results 1 – 10 of 10) sorted by relevance
19 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()42 PublicKey key = InternalUtil.readPublicKeyPem(openTestFile("ct-server-key-public.pem")); in setUp()
109 void UCAConformanceTest::openTestFile(const char *type) in openTestFile() function in UCAConformanceTest299 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()309 openTestFile("SHIFTED"); in TestTableShifted()319 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()333 openTestFile("SHIFTED"); in TestRulesShifted()
43 void openTestFile(const char *type);
52 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()59 openTestFile("SHIFTED"); in TestTableShifted()74 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()92 private void openTestFile(String type) { in openTestFile() method in UCAConformanceTest
51 openTestFile("NON_IGNORABLE"); in TestTableNonIgnorable()58 openTestFile("SHIFTED"); in TestTableShifted()73 openTestFile("NON_IGNORABLE"); in TestRulesNonIgnorable()91 private void openTestFile(String type) { in openTestFile() method in UCAConformanceTest
19 import static org.conscrypt.TestUtils.openTestFile;136 ca = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in setUp()137 cert = OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert.pem")); in setUp()139 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert-ct-embedded.pem")); in setUp()140 certKey = OpenSSLKey.fromPrivateKeyPemInputStream(openTestFile("cert-key.pem")) in setUp()
19 import static org.conscrypt.TestUtils.openTestFile;93 return OpenSSLX509Certificate.fromX509PemInputStream(openTestFile(name)); in loadTestCertificate()
21 import static org.conscrypt.TestUtils.openTestFile;2947 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("cert-ct-poisoned.pem")); in test_get_ocsp_single_extension()2949 OpenSSLX509Certificate.fromX509PemInputStream(openTestFile("ca-cert.pem")); in test_get_ocsp_single_extension()
94 public static InputStream openTestFile(String name) throws FileNotFoundException { in openTestFile() method in TestUtils103 return Streams.readFully(openTestFile(name)); in readTestFile()
88 try (InputStream is = TestUtils.openTestFile(file)) { in loadCertificates()