Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "ctjs", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "CTjs is a full set of classes necessary to work with any kind of Certificate Transparency log (V1 as from RFC6962, or V2 as from RFC6962-bis). In CTjs you could find all necessary validation/verification functions for all related data shipped with full-featured examples showning how to validate/verify. Also in scope of CTjs I made code showing example from RFC6962 item 2.1.3 on a real data from real Certificate Transparency log", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -20,4 +20,22 @@ # CTjs | ||
## Installation | ||
```console | ||
npm install ctjs | ||
``` | ||
## Examples | ||
At the moment there are two examples: | ||
* [_**Example of making Monitor/Auditor functionality**_](https://github.com/YuryStrozhevsky/CTjs/tree/master/examples/ct-monitor-auditor-example); | ||
```console | ||
npm run ct-monitor-auditor-example | ||
``` | ||
* [_**Example from RFC6962 on a real data**_](https://github.com/YuryStrozhevsky/CTjs/tree/master/examples/rfc6962-example); | ||
```console | ||
npm run rfc6962-example | ||
``` | ||
There are both built as Mocha tests, but could be easily transformed in native Node.js application. In order to start | ||
### How to verify Signed Tree Head (STH) | ||
@@ -24,0 +42,0 @@ |
444026
154