View as Markdown

SDK reference · Verifiers

extractAttestationBundle

extractAttestationBundle in @provenanceauth/sdk, Verifiers. Extract the embedded attestation bundle from a JPEG's provenance XMP APP1 segment, or null if the file carries none.

Signature

extractAttestationBundle(jpeg: Uint8Array): Record<string, unknown> | null

Parameters

jpegUint8ArrayRequired

Returns

Record<string, unknown> | null

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.