1.0.70510 • Published 5 years ago
pcca-verifier v1.0.70510
PCCA Verifier
PCCA Verifier is a Node.js library for verifying Proof-Carrying Certificates™ issued by PCCA. The verification is done by
- Checking if the input certificate is correctly formatted according to PCCA Certification Practice Statement;
- Checking if the input certificate, in particular, carries a DKIM Proof of CSR;
- Checking if the DKIM Proof of CSR can support the issuance of the input certificate according to the tracked DKIM keys of PCCA Supported Email Services (PSES).
For what it means by DKIM Proof of CSR, please refer to PCCA Research Paper.
Requirement
- Node.js v10.x.x
How to install
To install this library, run the following:
npm install --save pcca-verifier
How to use
To use this library, study the sample code in example.js
which can be run by the following:
node example.js PATH_OF_CERT
License
AGPL-3.0-or-later