Http

data class Http(val uri: String) : MdocConnectionMethod

HTTP connection method according to ISO/IEC TS 18013-7:2024 Annex A.

Constructors

Link copied to clipboard
constructor(uri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val uri: String

the server URI.

Functions

Link copied to clipboard
fun toDeviceEngagement(engagementType: MdocEngagementType = MdocEngagementType.DEVICE_QR): ByteArray

Encodes this single connection method as DeviceRetrievalMethod CBOR.

Link copied to clipboard
open override fun toString(): String