This repository contains a CBOR AAR library and an Android application. The latter is only intended for testing and demonstrating the cryptographic functions of the CBOR library.
| Note that this document as well as the on-line API reference, mirror the "trunk". Releases come with release specific information which may differ considerably between versions. |
- Deterministic encoding support
- Diagnostic notation support including decoder
- Enveloped signature support
- Encryption support
- checkForUnread() for catching possible misunderstandings regarding protocol contracts
- URL-based object Id tag
The CBOR library API is described in: https://cyberphone.github.io/android-cbor/distribution/apidoc/org/webpki/cbor/package-summary.html. Note that Ed25519 only works in Android API 13+ and that Ed25519 signature validation only works in Android API 36.1+.
The rest of the library has been verified to work from Android 7 (API 24) and up.
To use the precompiled module, copy the AAR file located in
https://github.com/cyberphone/android-cbor/tree/main/distribution
to a libs folder in the application and then add the line
implementation files('libs/org.webpki-jlibcbor-1.1.5.aar')
to the dependencies section of the Gradle file.
The library source code is available in: https://github.com/cyberphone/android-cbor/tree/main/jlibcbor.
A feature-wise identical implementation can be tested on-line at: https://test.webpki.org/csf-lab/home.
Version 1.1.5, 2026-07-19
