buildEncryptedResponse
suspend fun buildEncryptedResponse(credentialPresentation: CredentialPresentation.IsoDeviceRetrievalPresentation, isoMdocWalletRequest: RequestParametersFrom.IsoMdocDcApi, holder: Holder): EncryptedResponse(source)
Creates the device response, applies device authentication, and HPKE-encrypts it for the verifier.
suspend fun buildEncryptedResponse(credentialPresentation: CredentialPresentation.IsoDeviceRetrievalPresentation, isoMdocWalletRequest: RequestParametersFrom.IsoMdocDcApi, keyMaterial: KeyMaterial, holder: Holder, signDeviceAuthDetached: SignCoseDetachedFun<ByteArray> = SignCoseDetached(keyMaterial, CoseHeaderNone(), CoseHeaderNone())): EncryptedResponse(source)
Deprecated
signDeviceAuthDetached and keyMaterial are no longer needed and have been removed because Iso DeviceSignature computation has been moved into Holder's presentation creation.
Replace with
buildEncryptedResponse(credentialPresentation, isoMdocWalletRequest, holder)Content copied to clipboard