asic-verify

Verify ASiC (Associated Signature Container)

Usage no npm install needed!

<script type="module">
  import asicVerify from 'https://cdn.skypack.dev/asic-verify';
</script>

README

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