toCbor

Convert credential to CBOR format.

Backed by Jackson's CBOR mapper via the shared transformer.

Example:

val cbor = credentialService.toCbor(credential)