Marmot-TS
    Preparing search index...

    Function isLifetimeCurrentWithGrace

    • Checks whether a lifetime is current, applying a symmetric ~1h grace window to tolerate minor clock skew (D-08): rejects only if now is before notBefore - 3600 or after notAfter + 3600.

      Parameters

      • lifetime: Lifetime

        The lifetime object with notBefore and notAfter fields

      Returns boolean

      True if now is within the lifetime's range plus grace, false otherwise