Decodes a CBOR-encoded verifiable presentation request anchor.
This function parses and validates a CBOR-encoded anchor that was previously
created with createAnchor. It ensures the anchor has the correct format
and contains all required fields.
Returns
The decoded anchor data structure
Throws
Error if the CBOR data is invalid or doesn't match expected format
Decodes a CBOR-encoded verifiable presentation request anchor.
This function parses and validates a CBOR-encoded anchor that was previously created with
createAnchor. It ensures the anchor has the correct format and contains all required fields.Returns
The decoded anchor data structure
Throws
Error if the CBOR data is invalid or doesn't match expected format