Package-level declarations

Types

Link copied to clipboard
@Serializable
data class DCAPIHandover(val type: String, val hash: ByteArray)

Part of ISO 18013-7 Annex C and OpenID for Verifiable Presentations 1.0 B.2.6.2

Link copied to clipboard
@Serializable
data class DCAPIInfo(val encryptionInfo: EncryptionInfo, val serializedOrigin: String) : SessionTranscriptContentHashable

Part of ISO 18013-7 Annex C

Link copied to clipboard
@Serializable
data class DCAPIResponse(val response: EncryptedResponse)
Link copied to clipboard
@Serializable
sealed class DigitalCredentialInterface
Link copied to clipboard
@Serializable
data class EncryptedResponse(val type: String, val encryptedResponseData: EncryptedResponseData)

Part of ISO 18013-7 Annex C

Link copied to clipboard
object EncryptedResponseBase64UrlSerializer : TransformingSerializerTemplate<EncryptedResponse, String>
Link copied to clipboard
@Serializable
data class EncryptedResponseData(val enc: ByteArray, val cipherText: ByteArray)

Part of ISO 18013-7 Annex C The outcome of the single shot encryption are the enc and cipherText values as defined in the HPKE single shot encryption. In the EncryptedResponseData, enc is the serialized ephemeral public key, the cipherText is the ciphertext.

Link copied to clipboard
@Serializable
@SerialName(value = "org-iso-mdoc")
data class IsoMdocResponse(val data: DCAPIResponse, val origin: String? = null) : DigitalCredentialInterface
Link copied to clipboard
@Serializable
data class NFCHandover(val handoverSelect: ByteArray, val handoverRequest: ByteArray?)
Link copied to clipboard
@Serializable
data class OpenID4VPDCAPIHandoverInfo(val origin: String, val nonce: String, val jwkThumbprint: ByteArray?) : SessionTranscriptContentHashable

Part of ISO 18013-7 Annex C and OpenID for Verifiable Presentations 1.0 B.2.6.2

Link copied to clipboard
@Serializable
sealed interface OpenId4VpResponse
Link copied to clipboard
@Serializable
@SerialName(value = "openid4vp-v1-signed")
data class OpenId4VpResponseSigned(val data: AuthenticationResponseParameters, val origin: String? = null) : DigitalCredentialInterface, OpenId4VpResponse
Link copied to clipboard
@Serializable
@SerialName(value = "openid4vp-v1-unsigned")
data class OpenId4VpResponseUnsigned(val data: AuthenticationResponseParameters, val origin: String? = null) : DigitalCredentialInterface, OpenId4VpResponse
Link copied to clipboard

Implemented by data classes, which contents will be hashed when creating a SessionTranscript.