Class ValidFor

java.lang.Object
dev.sigstore.trustroot.ValidFor

@Immutable public abstract class ValidFor extends Object
  • Constructor Details

    • ValidFor

      public ValidFor()
  • Method Details

    • getStart

      public abstract Instant getStart()
    • getEnd

      public abstract Optional<Instant> getEnd()
    • contains

      public boolean contains(Instant instant)
      Check if an instant of time is contained within the validity range including the endpoints.
    • from

      public static ValidFor from(TimeRange proto)