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> | nullParameters
jpegUint8ArrayRequired
Returns
Record<string, unknown> | null
HTTP operation
Runs locally, with no request to the API.