toCbor method
Converts the object to a CBOR object.
Implementation
@override
CborObject toCbor() {
return serializationConfig.toCbor([
headers.protected.toCbor(),
headers.unprotected.toCbor(),
CborBytesValue(signature)
]);
}
Converts the object to a CBOR object.
@override
CborObject toCbor() {
return serializationConfig.toCbor([
headers.protected.toCbor(),
headers.unprotected.toCbor(),
CborBytesValue(signature)
]);
}