buildDeviceEngagement

fun buildDeviceEngagement(eDeviceKey: EcPublicKey, version: String? = null, builderAction: DeviceEngagement.Builder.() -> Unit): DeviceEngagement

Builds a DeviceEngagement.

Return

a DeviceEngagement.

Parameters

eDeviceKey

the ephemeral session encryption key for the mdoc.

version

the version to use or null to automatically determine which version to use.

builderAction

the builder action.