Home
last modified time | relevance | path

Searched refs:readTestFile (Results 1 – 11 of 11) sorted by relevance

/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTVerifierTest.java20 import static org.conscrypt.TestUtils.readTestFile;
61 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withOCSPResponse()
71 byte[] tlsExtension = readTestFile("ct-signed-timestamp-list"); in test_verifySignedCertificateTimestamps_withTLSExtension()
99 byte[] tlsExtension = readTestFile("ct-signed-timestamp-list-invalid"); in test_verifySignedCertificateTimestamps_withInvalidSignature()
112 byte[] tlsExtension = readTestFile("ct-signed-timestamp-list-unknown"); in test_verifySignedCertificateTimestamps_withUnknownLog()
149 byte[] tlsExtension = readTestFile("ct-signed-timestamp-list-invalid"); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
150 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_verifySignedCertificateTimestamps_withMultipleTimestamps()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DOpenSSLSocketImplTest.java20 import static org.conscrypt.TestUtils.readTestFile;
279 connection.serverHooks.ocspResponse = readTestFile("ocsp-response.der"); in test_handshakeWithSCTFromOCSPResponse()
292 connection.serverHooks.sctTLSExtension = readTestFile("ct-signed-timestamp-list"); in test_handshakeWithSCTFromTLSExtension()
318 connection.serverHooks.sctTLSExtension = readTestFile("ct-signed-timestamp-list-invalid"); in test_handshake_failsWithInvalidSCT()
DTestUtils.java35 public static byte[] readTestFile(String name) throws IOException { in readTestFile() method in TestUtils
DNativeCryptoTest.java22 import static org.conscrypt.TestUtils.readTestFile;
2849 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_get_ocsp_single_extension()
2850 byte[] expected = readTestFile("ocsp-response-sct-extension.der"); in test_get_ocsp_single_extension()
/external/icu/icu4c/source/test/perf/leperf/
Dxmlreader.h26 U_CAPI void readTestFile(const char *testFilePath, TestCaseCallback callback);
Dxmlreader.cpp139 void readTestFile(const char *testFilePath, TestCaseCallback callback) in readTestFile() function
/external/icu/icu4c/source/test/letest/
Dxmlreader.h25 U_CAPI void readTestFile(const char *testFilePath, TestCaseCallback callback);
Dxmlreader.cpp135 void readTestFile(const char *testFilePath, TestCaseCallback callback) in readTestFile() function
Dcletest.c501 readTestFile(testFilePath, doTestCase); in DataDrivenTest()
/external/conscrypt/platform/src/test/java/org/conscrypt/
DOpenSSLSocketImplTest.java20 import static org.conscrypt.TestUtils.readTestFile;
324 connection.serverHooks.ocspResponse = readTestFile("ocsp-response.der"); in test_handshakeWithSCTFromOCSPResponse()
337 connection.serverHooks.sctTLSExtension = readTestFile("ct-signed-timestamp-list"); in test_handshakeWithSCTFromTLSExtension()
361 connection.serverHooks.sctTLSExtension = readTestFile("ct-signed-timestamp-list-invalid"); in test_handshake_failsWithInvalidSCT()
DNativeCryptoTest.java22 import static org.conscrypt.TestUtils.readTestFile;
2788 byte[] ocspResponse = readTestFile("ocsp-response.der"); in test_get_ocsp_single_extension()
2789 byte[] expected = readTestFile("ocsp-response-sct-extension.der"); in test_get_ocsp_single_extension()