{"_id":"@complyify/asn1-der","_rev":"25-1e544fc4c191905d94704d9cf3e25900","name":"@complyify/asn1-der","description":"Javascript library for DER and PEM serialization/deserialization of Abstract Syntax Notation One (ASN.2) object models","dist-tags":{"latest":"0.1.4"},"versions":{"0.0.1":{"name":"@complyify/asn1-der","version":"0.0.1","description":"Javascript library for DER and PEM serialization/deserialization of Abstract Syntax Notation One (ASN.1) object models","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/complyify/asn1-der.git"},"author":{"name":"Sean Bruton","email":"sean@complyify.com"},"license":"MIT","scripts":{"check":"yarn lint && yarn test","clean":"rm -rf ./dist","compile":"npm run clean && babel src ${WATCH:+--watch} --source-maps inline --out-dir dist","compile:watch":"WATCH=true yarn compile","lint":"eslint src test","test":"mocha ${WATCH:+--watch} ${DEBUGGER:+--inspect --debug-brk} --recursive --compilers js:babel-register","test:watch":"WATCH=true yarn test"},"devDependencies":{"babel-cli":"^6.23.0","babel-eslint":"^7.1.1","babel-preset-env":"^1.2.1","babel-register":"^6.23.0","chai":"^3.5.0","eslint":"^3.17.1","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","mocha":"^3.2.0","pre-commit":"^1.2.2"},"dependencies":{"@complyify/asn1":"^0.3.1","@complyify/debug":"^1.0.5"},"pre-commit":["check"],"bugs":{"url":"https://github.com/complyify/asn1-der/issues"},"homepage":"https://github.com/complyify/asn1-der#readme","_id":"@complyify/asn1-der@0.0.1","_shasum":"8cfa63ac88b7fce2043a7c3d0bbc08ca40dca1c3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"sbruton","email":"sean@complyify.com"},"dist":{"shasum":"8cfa63ac88b7fce2043a7c3d0bbc08ca40dca1c3","tarball":"https://registry.npmjs.org/@complyify/asn1-der/-/asn1-der-0.0.1.tgz","integrity":"sha512-SleL9sj/MaWRZ2GtEUCbkFx4QEAxNEZLeDgaCjycKBw6zzdb4YV2qVdt4FOwDRxkm6azP7IXIUvfLXqUJq42fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBs6CDMCxGCgZ05L9IaVQLRum67Xhd4ArGEn6eA8fxdmAiEAwfmORnMZvgiy31SIg8ib6bKcBAwFyeLgUQGg6I5+YZc="}]},"maintainers":[{"name":"sbruton","email":"sean@complyify.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/asn1-der-0.0.1.tgz_1492112061690_0.5123412194661796"},"directories":{}},"0.1.0":{"name":"@complyify/asn1-der","version":"0.1.0","description":"Javascript library for DER and PEM serialization/deserialization of Abstract Syntax Notation One (ASN.2) object models","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/complyify/asn1-der.git"},"author":{"name":"Sean Bruton","email":"sean@complyify.com"},"license":"MIT","scripts":{"check":"yarn lint && yarn test","clean":"rm -rf ./dist","compile":"npm run clean && babel src ${WATCH:+--watch} --source-maps inline --out-dir dist","compile:watch":"WATCH=true yarn compile","lint":"eslint src test","test":"mocha ${WATCH:+--watch} ${DEBUGGER:+--inspect --debug-brk} --recursive --compilers js:babel-register","test:watch":"WATCH=true yarn test"},"devDependencies":{"babel-cli":"^6.23.0","babel-eslint":"^7.1.1","babel-preset-env":"^1.2.1","babel-register":"^6.23.0","chai":"^3.5.0","eslint":"^3.17.1","eslint-config-airbnb-base":"^11.1.1","eslint-plugin-import":"^2.2.0","mocha":"^3.2.0","pre-commit":"^1.2.2"},"dependencies":{"@complyify/asn1":"^0.3.4","@complyify/debug":"^1.0.5","node-biginteger":"^0.0.10"},"pre-commit":["check"],"bugs":{"url":"https://github.com/complyify/asn1-der/issues"},"homepage":"https://github.com/complyify/asn1-der#readme","_id":"@complyify/asn1-der@0.1.0","_shasum":"8a32b9cddee17641b5f030303cdbd28332cbbc4f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.1","_npmUser":{"name":"sbruton","email":"sean@complyify.com"},"dist":{"shasum":"8a32b9cddee17641b5f030303cdbd28332cbbc4f","tarball":"https://registry.npmjs.org/@complyify/asn1-der/-/asn1-der-0.1.0.tgz","integrity":"sha512-ws4jc/PdVEy0Ubf/559i2Uwul9nYwgWL1NE0lAjz0n0mHBWfB3gakgGQra6hucTDMpcrH1ssiL2wgdRFCt6PKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs0JRX2oh3eL/hsaoS6taeII5dwDLDbYp7PkoyLO+FxgIgIknZmfBzbamZTS+dRHiEsE4to4ufPKwl0j0mh2drFpA="}]},"maintainers":[{"name":"davidgwking","email":"davidgwking@gmail.com"},{"name":"fuqua","email":"sudo@fuqua.co"},{"name":"sbruton","email":"sean@complyify.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/asn1-der-0.1.0.tgz_1492705091573_0.5070040810387582"},"directories":{}},"0.1.4":{"name":"@complyify/asn1-der","version":"0.1.4","description":"Javascript library for DER and PEM serialization/deserialization of Abstract Syntax Notation One (ASN.2) object models","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/complycloud/asn1-der.git"},"author":{"name":"Sean Bruton","email":"sean@sean.cloud"},"contributors":[{"name":"Ian Walton","email":"ian@complyify.com"}],"license":"MIT","scripts":{"check":"npm run lint && npm test","clean":"rm -rf ./dist","compile":"npm run clean && babel src ${WATCH:+--watch} --source-maps inline --out-dir dist","compile:watch":"WATCH=true npm run compile","lint":"eslint src test","test":"mocha ${WATCH:+--watch} ${DEBUGGER:+--inspect --debug-brk} --require @babel/register --recursive","test:watch":"WATCH=true npm test"},"devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.4.5","@babel/node":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/register":"^7.5.5","babel-eslint":"^10.0.3","chai":"^4.2.0","eslint":"^5.16.0","eslint-config-airbnb-base":"^13.1.0","eslint-plugin-import":"^2.14.0","mocha":"^5.2.0","pre-commit":"^1.2.2"},"dependencies":{"@complycloud/asn1":"^0.3.7","@complyify/debug":"^1.1.1","node-biginteger":"^0.0.10"},"pre-commit":["check"],"gitHead":"2a8c68cae477151f56e63a7df2cb21bd45dae437","bugs":{"url":"https://github.com/complycloud/asn1-der/issues"},"homepage":"https://github.com/complycloud/asn1-der#readme","_id":"@complyify/asn1-der@0.1.4","_nodeVersion":"12.12.0","_npmVersion":"6.13.2","dist":{"integrity":"sha512-m461FZ/l+yp8pNL0u1SAoYz4+fsj2m70CXJBUAq8UqjAl0tnbp3AMrvGJ/BTNCI1gVJAX0j0o9bVuxDuaXJ2fA==","shasum":"c89353857455322269ba2dab3ed2754ced23548d","tarball":"https://registry.npmjs.org/@complyify/asn1-der/-/asn1-der-0.1.4.tgz","fileCount":10,"unpackedSize":72377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6B+uCRA9TVsSAnZWagAA5XUQAJyOysg7UjxdeJP6Df5P\nAtnKjY+4XGitfbec13lH+Q1QQjxHERwvpQpTcJFxndFvor844wT+3tdfgSl2\nPv28NIgNrLW0T8ugrPqTr4VSGPzcmcmcw3abTTOrrYXEfqNHHGa6v7oftcih\nbt9bea4CAoQKCe1TWiWxiTLB8AfpVL96gdhkEIdNaLYRmm/ZbbwgZ24Y+T8h\n2cMD3dnb9cTBwWunMNHsfUq4gQi5nZraM3oRAUufE7n3KLtOvcpNLVhhffke\nBLwW6tw3M0cFeA5U6rTd2F7i9zjCuC5GxgYzZhnuDT2Z3yNAFl4TCV6yan4x\nJ+fvrfA14HSvweyK8HB/Q6fUDxenUbzqupnTSP5SebBTB0JYVJx2NPMdwpJ+\n4rHYACTz9ZXsVqY3Btr2zmD+V5/kXTyFN9YtZJx9iik+UCO0OI0MHOa3BAqX\nctM57uJQoN+H3YX8u4lcs5M5eaFOPlL0NZdvzVpykVUpG2Mcv+3/qH1ptmKo\nNifpaSSQp8mbRnoZBKAc4mSpczKFys+ulKOPq0usCZEywVCny2xO2tOxNfTT\nwoq3cjAtQwxP5ubdgbp1xD5WMqAJ2IKgAaSgfMcZvY1P0C2uQksJqdzOVigc\nVIBzGPuVO5n1mWlq8pv2Fcovd8+zukYt9hL3BGsrnGpiWCTHov04VAF8pG5P\nJJ0I\r\n=71tG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtiiL3JS5HM97hij9cwOS5V0saqXEH3N0foPYRRhG4VAiEAhm5R5ylx/p7Ugf/xigoT6fmm8gl6mr31ymRV698XhAo="}]},"maintainers":[{"email":"sudo@fuqua.co","name":"fuqua"},{"email":"gquinones@comply.cloud","name":"ggquinones"},{"email":"itwalton90@gmail.com","name":"itwalton"},{"email":"jonathan.l.allen@gmail.com","name":"jonno317"},{"email":"mitchellgsides@gmail.com","name":"mitchellgsides"},{"email":"sean@complyify.com","name":"sbruton"}],"_npmUser":{"name":"itwalton","email":"itwalton90@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asn1-der_0.1.4_1575493550500_0.03732777033443879"},"_hasShrinkwrap":false}},"readme":"# @complycloud/asn1-der\n\nJavascript library for DER and PEM serialization/deserialization of Abstract Syntax Notation One (ASN.1)\n\nUses the ASN.1 Object Model from [@complycloud/asn1].\n\n## Installation\n\n`npm install @complycloud/asn1-der`\n\n## Usage\n\n```javascript\nimport { Universal } from '@complycloud/asn1';\nimport { DERSerializer } from '@complycloud/asn1-der';\nimport { readFileSync } from 'fs';\n\n// Serialize to DER\nconst serialize = new DERSerializer();\nconst asn1Sequence = new Universal.Sequence([\n  new Universal.Integer(123),\n  new Universal.PrintableString('Hello World'),\n]);\nconst bufferContainingDEREncodedASN1 = serialize(asn1Sequence);\n\n// Deserialize from PEM\nconst deserialize = new PEMDeserializer();\nconst certificate = readFileSync('/path/to/some/certificate.pem', 'utf8');\nconst certificateASN1 = deserialize(certificate);\n```\n\n## Debugging\n\nThis library uses the [@complyify/debug] library for debugging. To enable debug messages, simply set the `DEBUG`\nenvironment variable.\n\n```shell\n# enable all debugging messages in this library\nDEBUG=complycloud:asn1:der:* <your-exec-here>\n```\n\n[@complycloud/asn1]: https://github.com/complycloud/asn1\n[@complyify/debug]: https://github.com/complyify/debug\n","maintainers":[{"email":"sean@complyify.com","name":"sbruton"},{"email":"sudo@fuqua.co","name":"fuqua"},{"email":"gquinones@comply.cloud","name":"ggquinones"}],"time":{"modified":"2022-06-12T16:26:00.102Z","created":"2017-04-13T19:34:22.511Z","0.0.1":"2017-04-13T19:34:22.511Z","0.1.0":"2017-04-20T16:18:12.296Z","0.1.4":"2019-12-04T21:05:50.621Z"},"homepage":"https://github.com/complycloud/asn1-der#readme","repository":{"type":"git","url":"git+ssh://git@github.com/complycloud/asn1-der.git"},"author":{"name":"Sean Bruton","email":"sean@sean.cloud"},"bugs":{"url":"https://github.com/complycloud/asn1-der/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[{"name":"Ian Walton","email":"ian@complyify.com"}]}