SessionTranscript

sealed interface SessionTranscript(source)

Part of the ISO/IEC 18013-5:2021 standard: Session transcript and cipher suite (9.1.5.1), ISO/IEC 18013-7:2024 standard: Session Transcript (B.4.4), and OpenID for Verifiable Presentations 1.0 (B.2.6):

SessionTranscript = [
DeviceEngagementBytes / null,
EReaderKeyBytes / null,
Handover
]

One subtype per kind of handover, see SessionTranscriptSerializer for the encoding.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class DcApi(val handover: DCAPIHandover) : SessionTranscript

Over the Digital Credentials API, acc. to ISO/IEC 18013-7 Annex C or OpenID for Verifiable Presentations 1.0 (B.2.6.2), without device engagement.

Link copied to clipboard
class Nfc(val deviceEngagementBytes: ByteArray, val eReaderKeyBytes: ByteArray, val handover: NFCHandover) : SessionTranscript.Proximity

After device engagement with NFC, with the handover messages (ISO/IEC 18013-5:2021, 9.1.5.1).

Link copied to clipboard

Over OpenID for Verifiable Presentations 1.0 without the Digital Credentials API (B.2.6.1).

Link copied to clipboard
sealed interface Proximity : SessionTranscript

The transcript of an ISO/IEC 18013-5 proximity session, which starts with device engagement.

Link copied to clipboard
class Qr(val deviceEngagementBytes: ByteArray, val eReaderKeyBytes: ByteArray) : SessionTranscript.Proximity

After device engagement with a QR code, i.e. QRHandover is null (ISO/IEC 18013-5:2021, 9.1.5.1).