Skip to content

Commit

Permalink
cleanup readme
Browse files Browse the repository at this point in the history
  • Loading branch information
OR13 committed Mar 26, 2024
1 parent 1d059f2 commit 3032e35
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 30 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,17 @@ const document: edn.EDNCoseSign1 = await edn.parse(
// or "18([h'A1013822', {4: h'5 ...
)
const message = Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex");
const html = await edn.render(message, 'text/html')
const text = await edn.render(message, 'application/cbor-diagnostic')
// / cose-sign1 / 18([
// / protected / << {
// / alg / 1 : -35 / ES384 /
// } >>>,
// / unprotected / {
// / kid / 4 : h'50333834'
// },
// / payload / h'54686973...656e742e',
// / signature / h'5f150abd...59622a3c'
// ])
```

## Develop
Expand Down
29 changes: 0 additions & 29 deletions src/__fixtures__/ecdsa-examples/ecdsa-sig-02.html

This file was deleted.

0 comments on commit 3032e35

Please sign in to comment.