EngagementParams

data class EngagementParams(val eDeviceKey: EcPrivateKey, val deviceEngagement: DataItem, val handover: DataItem, val eReaderKey: EcPublicKey? = null, val eReaderKeyBytes: ByteString? = null)

Encapsulates the engagement parameters required for ISO/IEC 18013-5 presentment sessions.

Constructors

Link copied to clipboard
constructor(eDeviceKey: EcPrivateKey, deviceEngagement: DataItem, handover: DataItem, eReaderKey: EcPublicKey? = null, eReaderKeyBytes: ByteString? = null)

Properties

Link copied to clipboard

the encoded DeviceEngagement structure.

Link copied to clipboard

the ephemeral device key generated for engagement.

Link copied to clipboard

the ephemeral reader key, if available.

Link copied to clipboard
val eReaderKeyBytes: ByteString?

the exact CBOR-encoded #6.24(bstr .cbor EReaderKey) bytes from ReaderEngagement, if available, used to preserve wire encoding in SessionTranscript.

Link copied to clipboard

the handover structure.