captureTrustedLoadSecurityCommitments
captureTrustedLoadSecurityCommitments(
documentPath,resolver):Promise<LoadSecurityCommitments>
Defined in: packages/core/src/load-security-state.ts:229
Resolve and defensively capture the local trust anchor for one V4 load. The callback is invoked exactly once. Undefined, malformed, or rejected results abort the load rather than falling back to a peer-supplied tuple.
Parameters
Section titled “Parameters”documentPath
Section titled “documentPath”string
resolver
Section titled “resolver”LoadSecurityCommitmentsResolver | undefined
Returns
Section titled “Returns”Promise<LoadSecurityCommitments>