IsoMdocRequest

@Serializable
data class IsoMdocRequest(val deviceRequest: DeviceRequest, val encryptionInfo: EncryptionInfo)(source)

Constructors

Link copied to clipboard
constructor(deviceRequest: DeviceRequest, encryptionInfo: EncryptionInfo)

Properties

Link copied to clipboard
@SerialName(value = "deviceRequest")
val deviceRequest: DeviceRequest
Link copied to clipboard
@SerialName(value = "encryptionInfo")
val encryptionInfo: EncryptionInfo

Functions

Link copied to clipboard

Converts all document requests into descriptors usable by VC-K's Presentation Exchange matcher.

Link copied to clipboard
fun IsoMdocRequest.toRequestParametersFrom(callingOrigin: String, credentialIds: Collection<String>? = null, callingPackageName: String? = null): RequestParametersFrom.IsoMdocDcApi

Wraps an ISO/IEC 18013-7 Annex C request with the platform metadata required by RequestParametersFrom.DcApiRequest.