@request-seal/core API
    Preparing search index...

    Function isPolicy

    • Check the private brand of a verification policy.

      Parameters

      • value: unknown

      Returns value is Readonly<
          {
              algorithms: readonly SigningAlgorithm[];
              components: InnerList;
              content: | "not_required"
              | Readonly<
                  {
                      algorithms: readonly string[];
                      kind: "content"
                      | "representation";
                      section: "headers" | "trailers";
                  },
              >;
              extraComponents: "reject"
              | "allow";
              fieldSchemas: Readonly<Record<string, Schema>>;
              freshness:
                  | "not_evaluated"
                  | Readonly<
                      {
                          clock: () => number;
                          maxAge: number | null;
                          requireExpires: boolean;
                          skew: number;
                      },
                  >;
              keyResolver: KeyResolver;
              maxSignatures: number;
              replay: | "not_required"
              | Readonly<
                  {
                      commitment: (
                          facts: ReplayFacts,
                          context: Context,
                      ) =>
                          | Result<Uint8Array<ArrayBufferLike>>
                          | Promise<Result<Uint8Array<ArrayBufferLike>>>;
                      identifier: "nonce";
                      namespace: Uint8Array;
                      store: ReplayStore;
                      timeoutMs: number;
                  },
              >;
          },
      >