Open JuliusGoddard opened 3 years ago
The particular message type I need to send requires a CBOR tag. In my case it 18 or cose-sign1. Does cose-js have functionality to add a tag onto the message?
Could you please explain a bit more?
await cose.sign.verify(coseMessage, verifier, { defaultType: 18 }); ^ this will use cose-sign1 (18)
await cose.sign.verify(coseMessage, verifier, { defaultType: 18 });
The particular message type I need to send requires a CBOR tag. In my case it 18 or cose-sign1. Does cose-js have functionality to add a tag onto the message?