toRequestParametersFrom

fun DigitalCredentialRequestOptions.toRequestParametersFrom(selectedProtocol: String, credentialIds: Collection<String>, callingOrigin: String, callingPackageName: String? = null): RequestParametersFrom.DcApiRequest(source)

Selects selectedProtocol and wraps its request data with metadata supplied by the platform matcher.

Throws

if the requested protocol is absent.

if callingPackageName is absent for an OpenID4VP request.