Skip to content

Commit

Permalink
🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 committed Jan 27, 2024
1 parent be142f7 commit 8ba8280
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,8 @@ const document: edn.EDNCoseSign1 = await edn.parse(
Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex")
// or "18([h'A1013822', {4: h'5 ...
)
const alg = document.signatureAlgorithm();
expect(alg.value).toBe(-35);
expect(alg.comment).toBe("ECDSA with SHA-384");
// use the parsed abstract syntax tree for
// CBOR Extended Diagnostic Notation (EDN)
// to build custom diagnostic renderers
// TODO: https://github.com/transmute-industries/vscode-scitt-preview
const message = Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex");
const html = await edn.render(message, 'text/html')
```

## Develop
Expand Down

0 comments on commit 8ba8280

Please sign in to comment.