IO Wallet SDK
    Preparing search index...
    interface ValidateTrustChainOptions {
        callbacks: {
            fetch:
                | (
                    (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>
                )
                | undefined;
            hash: HashCallback;
            verifyJwt: VerifyJwtWithJwkCallback;
        };
        trustAnchorUrls?: [string, ...string[]];
    }
    Index

    Properties

    callbacks: {
        fetch:
            | ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
            | undefined;
        hash: HashCallback;
        verifyJwt: VerifyJwtWithJwkCallback;
    }

    Type Declaration

    • fetch:
          | ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>)
          | undefined

      Required for chains with intermediate entities (chains longer than two elements). Used to fetch each intermediate issuer's entity configuration for self-signature verification.

    • hash: HashCallback

      Required for hashing operations, used to compute JWK thumbprints when comparing key material across subordinate statements and entity configurations.

    • verifyJwt: VerifyJwtWithJwkCallback

      Required for verifying entity statement signatures.

    trustAnchorUrls?: [string, ...string[]]

    Non-empty list of trusted trust anchor URLs. When provided, the chain root must be one of them. When omitted, any chain root is accepted without binding to a known trust anchor — callers are responsible for applying their own root-of-trust verification in that case.