IsoMdocDcapiResponseBuilder
Low-level ISO/IEC 18013-7 Annex C device-response construction used by Iso180137AnnexCHolder.
Functions
Link copied to clipboard
suspend fun buildEncryptedResponse(credentialPresentation: CredentialPresentation.PresentationExchangePresentation, isoMdocWalletRequest: RequestParametersFrom.IsoMdocDcApi, keyMaterial: KeyMaterial, holder: Holder, signDeviceAuthDetached: SignCoseDetachedFun<ByteArray> = SignCoseDetached(keyMaterial, CoseHeaderNone(), CoseHeaderNone())): EncryptedResponse
Creates the device response, applies device authentication, and HPKE-encrypts it for the verifier.
Link copied to clipboard
fun sessionTranscriptFor(isoMdocWalletRequest: RequestParametersFrom.IsoMdocDcApi): SessionTranscript
Builds the DC API session transcript bound to the request encryption information and calling origin.