Home
last modified time | relevance | path

Searched refs:loadLog (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/platform/src/test/java/org/conscrypt/ct/
DCTLogStoreImplTest.java93 CTLogInfo log = CTLogStoreImpl.loadLog(new StringBufferInputStream(LOGS_SERIALIZED[0])); in test_loadLog()
97 log = CTLogStoreImpl.loadLog(testFile); in test_loadLog()
101 assertEquals(null, CTLogStoreImpl.loadLog(new StringBufferInputStream(""))); in test_loadLog()
103 CTLogStoreImpl.loadLog(new StringBufferInputStream("randomgarbage")); in test_loadLog()
108 CTLogStoreImpl.loadLog(new File("/nonexistent")); in test_loadLog()
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
DCTLogStoreImpl.java116 return loadLog(new File(userLogDir, filename)); in findKnownLog()
122 return loadLog(new File(systemLogDir, filename)); in findKnownLog()
171 public static CTLogInfo loadLog(File file) throws FileNotFoundException, in loadLog() method in CTLogStoreImpl
173 return loadLog(new FileInputStream(file)); in loadLog()
183 public static CTLogInfo loadLog(InputStream input) throws InvalidLogFileException { in loadLog() method in CTLogStoreImpl