0.2.1 • Published 7 years ago

asic-verify v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

asic-verify

Verify ASiC (Associated Signature Container)

Usage

var asicVerify = require("asic-verify");

asicVerify("/path/to/some-package.asice", function(err, signedSignatureProperties) {

	if (err) {
		console.error("Verification failed with an error", err);
	} else {
		console.log("Verified OK");
		console.log("Signed on ", signedSignatureProperties.signingTime);
		console.log("Signed by ", signedSignatureProperties.signingCertificate);
	}

});
asic-verify /path/to/some-package.asice

Support

Limited to ASiC-e + XAdES for packages received via https://www.e-tar.lt/ data export API.

Docs