Interface TransparencyLog


@Immutable public interface TransparencyLog
  • Method Details

    • getBaseUrl

      URI getBaseUrl()
    • getHashAlgorithm

      String getHashAlgorithm()
    • getLogId

      LogId getLogId()
    • getPublicKey

      PublicKey getPublicKey()
    • from

    • find

      static Optional<TransparencyLog> find(List<TransparencyLog> all, byte[] logId)
      Find a log by logId.
      Parameters:
      logId - the logId of the log
      Returns:
      the first log with matching logId
    • find

      static Optional<TransparencyLog> find(List<TransparencyLog> all, byte[] logId, Instant time)
      Find a log by validity time and logId. This will find the first log with matching log id that was valid at the time.
      Parameters:
      logId - the logId of the log
      time - the time the log was expected to be valid
      Returns:
      the first log that was valid at time with logId logId