Searched refs:readTestFile (Results 1 – 11 of 11) sorted by relevance
20 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()
20 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()
35 public static byte[] readTestFile(String name) throws IOException { in readTestFile() method in TestUtils
22 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()
26 U_CAPI void readTestFile(const char *testFilePath, TestCaseCallback callback);
139 void readTestFile(const char *testFilePath, TestCaseCallback callback) in readTestFile() function
25 U_CAPI void readTestFile(const char *testFilePath, TestCaseCallback callback);
135 void readTestFile(const char *testFilePath, TestCaseCallback callback) in readTestFile() function
501 readTestFile(testFilePath, doTestCase); in DataDrivenTest()
20 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()
22 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()