DeviceEngagement

data class DeviceEngagement

Device Engagement according to ISO 18013-5.

To construct an instance use buildDeviceEngagement.

For an engagement received from a remote mdoc use the DeviceEngagement.Companion.fromDataItem method.

Types

Link copied to clipboard
class Builder(val eDeviceKey: EcPublicKey, val version: String? = null)

A builder for DeviceEngagement.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the capabilities available, along with their values.

Link copied to clipboard

the Device Retrieval methods in the engagement, if any.

Link copied to clipboard

the ephemeral session encryption key for the mdoc.

Link copied to clipboard
val eDeviceKeyBytes: ByteString

the exact bytes of the eDeviceKey as encoded by the mdoc, including the #6.24 tag.

Link copied to clipboard

the origin infos in the engagement, if any.

Link copied to clipboard

the version of the device engagement structure, must be 1.0 or 1.1.

Functions

Link copied to clipboard

Generates CBOR compliant with the CDDL for DeviceEngagement according to ISO 18013-5.