Package 

Class AndroidDiskCache

  • All Implemented Interfaces:
    com.appmattus.certificatetransparency.cache.DiskCache , com.appmattus.certificatetransparency.datasource.DataSource

    
    public final class AndroidDiskCache
     implements DiskCache
                        

    A default log list and signature cache implementation for Android.

    The private storage directory of the application is used to store the log list and its signature. Expiry is managed externally using the timestamp of the log-list.json file.

    • Method Summary

      Modifier and Type Method Description
      RawLogListResult get()
      Unit set(RawLogListResult value)
      • Methods inherited from class com.appmattus.certificatetransparency.cache.DiskCache

        reuseInflight
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndroidDiskCache

        AndroidDiskCache(Context context)
    • Method Detail

      • get

         RawLogListResult get()
      • set

         Unit set(RawLogListResult value)