• Decodes a CBOR-encoded verification 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

    Parameters

    • cbor: Uint8Array

      The CBOR-encoded anchor data to decode

    Returns Anchor

Generated using TypeDoc