@wulkanowy/uonet-request-signer-node-hebe
v0.1.2
Published
UONET+ (hebe) request signer for Node.js
Downloads
4
Readme
UONET+ hebe request signer for Node.js
Instalation
$ npm i @wulkanowy/uonet-request-signer-node-hebe
Usage
const {getSignatureValues} = require("@wulkanowy/uonet-request-signer-node-hebe");
const {digest, canonicalUrl, signature} = getSignatureValues(fingerprint, privateKey, body, fullUrl, new Date().toUTCString());
See example in tests
Tests
$ npm run test