Package-level declarations

Types

Link copied to clipboard

According to "Transaction Data entries as defined in D3.1: UC Specification WP3" the encoding is JSON and every entry is serialized to a base64 encoded string

Link copied to clipboard
@Serializable
data class DocumentDigestEntry
Link copied to clipboard
@Serializable
data class DocumentLocationEntry(val uri: Url, val method: Method)
Link copied to clipboard
@Serializable
@SerialName(value = "method")
sealed class Method

After D3.1: UC Specification WP3. However, this class is potentially a mistake in the draft spec vs test vector, currently we need it to be a sealed class with polymorphic serialization to get the structure method: {type: NAME} sealed class would instead serialize to method: NAME which might be the corrected implementation in the next draft.

Link copied to clipboard
Link copied to clipboard
@Serializable
sealed class TransactionDataEntry

Implements "Transaction Data entries as defined in D3.1: UC Specification WP3" leveraging upcoming changes to OpenID4VP

Link copied to clipboard
object UrlSerializer : KSerializer<Url>