toIosIsoMdocResponseBytes

Encodes the encrypted Annex C response payload for Apple's ISO 18013 mobile document response API.

Unlike toAndroidDcApiResponseJson, this returns only the CBOR-encoded DCAPIResponse.response expected by the iOS API, not the complete DigitalCredentialInterface envelope.

Throws

if this is an OpenID4VP response rather than an IsoMdocResponse.