verifyNotBefore method

bool verifyNotBefore(
  1. DateTime currentTime
)

Implementation

bool verifyNotBefore(DateTime currentTime) {
  if (this.notBefore == null) {
    return true;
  }

  if (this.notBefore is DateTime) {
    return currentTime.millisecondsSinceEpoch >=
        this.notBefore!.millisecondsSinceEpoch;
  }

  return false;
}