Package-level declarations
Types
Part of the ISO/IEC 18013-5:2026 standard: Additional document request info (10.2.4)
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Part of the ISO/IEC 18013-5:2021 standard: mdoc authentication (9.1.3.4).
Part of the ISO/IEC 18013-5:2021 standard: Data structure for MSO (9.1.2.4)
Convenience class to prevent usage of the type ByteStringWrapper<Map<String, Map<String, Any>>> in DeviceSigned.namespaces.
Part of the ISO/IEC 18013-5:2026 standard: Mdoc request (10.2)
Part of the ISO/IEC 18013-5:2026 standard: Additional device request info (10.2.5)
Part of the ISO/IEC 18013-5:2026 standard: Mdoc response (10.3)
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Convenience class (getting serialized in DeviceSignedItemListSerializer) to prevent usage of the type List<Map<String, Any>> in DeviceSignedItemList.entries.
Convenience class with a custom serializer (DeviceSignedItemListSerializer) to prevent usage of the type Map<String, Map<String, Any>> in DeviceNameSpaces.entries.
Serializes DeviceSignedItemList.entries as an "inline map", having serialized instances of DeviceSignedItem as the values.
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Part of the ISO/IEC 18013-5:2026 standard: Additional document request info (10.2.4)
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Part of the ISO/IEC 18013-5:2026 standard: Additional document request info (10.2.4)
Part of the ISO/IEC 18013-5:2026 standard: Document response encryption (10.3.5)
Part of the ISO/IEC 18013-5:2026 standard: Document response encryption (10.3.5)
Part of ISO 18013-7 Annex C
Part of the ISO/IEC 18013-5:2026 standard: Additional document request info (10.2.4)
Part of the ISO/IEC 18013-5:2021 standard: Message digest function (9.1.2.5)
For Version, but skips patch, i.e. serializes 1.1 instead of 1.1.0
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Convenience class with a custom serializer (IssuerSignedListSerializer) to prevent usage of the type Map<String, List<ByteStringWrapper<IssuerSignedItem>>> in IssuerSigned.namespaces.
Serializes IssuerSignedList.entries as an "inline list", having serialized instances of IssuerSignedItem as the values.
Part of the ISO/IEC 18013-5:2021 standard: Data structure for mdoc request (8.3.2.1.2.1)
Convenience class with a custom serializer (ItemsRequestListSerializer) to prevent usage of the type Map<String, Map<String, Boolean>> in ItemsRequest.namespaces.
Serializes ItemsRequestList.entries as an "inline map", having SingleItemsRequest.dataElementIdentifier as the map key and SingleItemsRequest.intentToRetain as the map value, for the map represented by ItemsRequestList.
Part of the ISO/IEC 18013-5:2021 standard: Data structure for MSO (9.1.2.4)
Custom serializer for a certificate chain (List<ByteArray>).
Part of OpenID for Verifiable Presentations 1.0 B.2.6.1
The detached content signed by a single DocRequest.readerAuth (ISO/IEC 18013-5, 12.5).
The detached content signed by DeviceRequest.readerAuthAll (ISO/IEC 18013-5, 12.5). deviceRequestInfoBytes is DeviceRequestInfoBytes / null, so only a present value is tagged, see ReaderAuthenticationAllSerializer.
Encodes a present deviceRequestInfoBytes as a tag-24 byte string and an absent one as plain null. A @ValueTags annotation on a nullable property would tag null as well, i.e. #6.24(null). Decoding reads the untagged shape, as tag 24 is only verified when the descriptor declares it.
Part of the ISO/IEC 18013-5:2021 standard: Data structure for Server retrieval mdoc request (8.3.2.2.2.1)
Part of the ISO/IEC 18013-5:2021 standard: Data structure for Server retrieval mdoc response (8.3.2.2.2.2)
Part of the ISO/IEC 18013-5:2021 standard: Session transcript and cipher suite (9.1.5.1) and ISO/IEC 18013-7:2024 standard: Session Transcript (B.4.4) Must be used with encodeDefaults = false
Convenience class with a custom serializer (ItemsRequestListSerializer) to prevent usage of the type Map<String, Map<String, Boolean>> in ItemsRequest.namespaces.
Encodes each original CBOR byte string as a tag-24 byte string, without re-encoding its contents.
Part of the ISO/IEC 18013-5:2021 standard: Data structure for MSO (9.1.2.4)
Convenience class with a custom serializer (ValueDigestListSerializer) to prevent usage of the type Map<String, Map<UInt, ByteArray>> in MobileSecurityObject.valueDigests.
Convenience class with a custom serializer (ValueDigestListSerializer) to prevent usage of the type Map<String, Map<UInt, ByteArray>> in MobileSecurityObject.valueDigests.
Serialized the ValueDigestList.entries as an "inline map", meaning ValueDigest.key is the map key and ValueDigest.value the map value, for the map represented by ValueDigestList
Part of the ISO/IEC 18013-5:2026 standard: ZKP Mdoc response (10.3.4)
Part of the ISO/IEC 18013-5:2026 standard: ZKP Mdoc response (10.3.4)
Custom serializer wrapper for ZkDocumentData that bridges a limitation in kotlinx.serialization regarding RFC 9360, Section 2 polymorphism.
Part of the ISO/IEC 18013-5:2026 standard: ZKP Mdoc request (10.2.4)
Each Zk system should register serializers for its param keys to allow ZkSystemSpec.params to be properly deserialized into a Map
Functions
Serializes an authority-based origin string as defined in https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin. Opaque origins, such as Android application origins, cannot be serialized this way.
Part of the ISO/IEC 18013-5:2021 standard: Message digest function (9.1.2.5)
Skips patch if it is 0, i.e. serializes 1.1 instead of 1.1.0