digitalbazaar / ecdsa-sd-2023-cryptosuite

A selective disclosure Data Integrity cryptosuite based on ECDSA for use with jsonld-signatures.
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Add test for CBOR Map encoding and use tags if necessary to avoid serialization as objects #25

Open dlongley opened 9 months ago

dlongley commented 9 months ago

There is no object type in CBOR, only Map, so the useMaps option (which does nothing in cborg.encode) can be removed.

See: https://datatracker.ietf.org/doc/html/rfc8949#name-major-types