@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Class SignedTeePolicy

    A policy published at url as one file: a release that enough of the pinned release keys sign, kept in force by a freshness part that the freshness keys the release names sign. It is downloaded again once it is max_age_secs old, when the client also attests again, and never used past either expiry.

    Index
    • The policy in force, downloading the file again with fetch once max_age_secs old.

      Parameters

      • fetch: {
            (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
            (input: string | URL | Request, init?: RequestInit): Promise<Response>;
        } = ...
          • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
          • Parameters

            • input: URL | RequestInfo
            • Optionalinit: RequestInit

            Returns Promise<Response>

          • (input: string | URL | Request, init?: RequestInit): Promise<Response>
          • Parameters

            • input: string | URL | Request
            • Optionalinit: RequestInit

            Returns Promise<Response>

      Returns Promise<TeePolicy>

    • Downloads again at the next call: a prover that lost its key has likely changed release.

      Returns void