roundTripCbor
Round-trip transformation: credential -> CBOR -> credential.
Useful for testing that CBOR transformation preserves all credential data.
Example:
val recovered = credential.roundTripCbor()
assertEquals(credential.id, recovered.id)Content copied to clipboard
Return
Credential recovered from CBOR transformation