{"name":"@peculiar/asn1-x509","version":"2.11.1","keywords":["asn","asn1","x509","certificate","crl","rfc5280"],"author":{"name":"PeculiarVentures, LLC"},"license":"MIT","_id":"@peculiar/asn1-x509@2.11.1","maintainers":[{"name":"rmhrisk","email":"ryan_hurst@hotmail.com"},{"name":"microshine","email":"microshine@mail.ru"},{"name":"yury.strozhevsky","email":"yury@strozhevsky.com"},{"name":"peculiarventures","email":"info@peculiarventures.com"},{"name":"apilguk","email":"apilguk@gmail.com"},{"name":"donskov","email":"donskovdmitriyv@gmail.com"},{"name":"worldthirteen","email":"mihailzachepilo@gmail.com"}],"homepage":"https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/x509#readme","bugs":{"url":"https://github.com/PeculiarVentures/asn1-schema/issues"},"dist":{"shasum":"4fd12c118be06a55ea8828a1bc86fd5d3a45d636","tarball":"http://registry-npm.ywwl.com/@peculiar/asn1-x509/download/@peculiar/asn1-x509-2.11.1.tgz","fileCount":132,"integrity":"sha512-SXU4/X6B3FquqQAN6ARI0bFDUV7+L1WlvPEPMKzEMkstd2D7UyM0r93fv241+OjdhqAKYGx5MvV3gzZMAp0APA==","signatures":[{"sig":"MEUCICE5VqsZzRgidoZk5AthLPmkh4weD2bTQK2v0gJGxML2AiEA3EQBddqL6m3ctWs14o1ESsESYA29PQFJEiWz+XfTR0U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCICqo9oko43IlKMEI1Y84P2ABOZ3uKQJWmVR5FS/5YAcwAiAU3K85mJdUtADT4h7RUlKQ7/An34/jgDlK9CkaHLKvrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@peculiar%2fasn1-x509@2.11.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":171523,"size":24674,"noattachment":false,"key":"/@peculiar/asn1-x509/-/@peculiar/asn1-x509-2.11.1.tgz"},"main":"build/cjs/index.js","_from":"file:.release/tarballs/peculiar-asn1-x509-2.11.1.tgz","types":"build/types/index.d.ts","module":"build/es2015/index.js","engines":{"node":">=14"},"scripts":{"build":"npm run build:module && npm run build:types","clear":"rimraf build","rebuild":"npm run clear && npm run build","build:cjs":"tsc -p tsconfig.compile.json --removeComments --module commonjs --outDir build/cjs","build:types":"tsc -p tsconfig.compile.json --outDir build/types --declaration --emitDeclarationOnly","build:es2015":"tsc -p tsconfig.compile.json --removeComments --module ES2015 --outDir build/es2015","build:module":"npm run build:cjs && npm run build:es2015","prebuild:types":"rimraf build/types"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0be4d551-d9f7-480f-bd13-dac86d18e377"}},"_resolved":"/home/runner/work/asn1-schema/asn1-schema/.release/tarballs/peculiar-asn1-x509-2.11.1.tgz","_integrity":"sha512-SXU4/X6B3FquqQAN6ARI0bFDUV7+L1WlvPEPMKzEMkstd2D7UyM0r93fv241+OjdhqAKYGx5MvV3gzZMAp0APA==","repository":{"url":"git+https://github.com/PeculiarVentures/asn1-schema.git","type":"git","directory":"packages/x509"},"_npmVersion":"11.19.0","description":"ASN.1 schema for X.509 certificates, certificate revocation lists, and related profile structures defined in RFC 5280.","directories":{},"_nodeVersion":"24.21.0","dependencies":{"tslib":"^2.8.1","asn1js":"^3.0.10","@peculiar/utils":"^2.0.2","@peculiar/asn1-schema":"^2.11.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/asn1-x509_2.11.1_1792930112168_0.7935566584664522","host":"s3://npm-registry-packages-npm-production"},"readme":"# `@peculiar/asn1-x509`\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/PeculiarVentures/asn1-schema/blob/master/packages/x509/LICENSE)\n[![npm version](https://badge.fury.io/js/%40peculiar%2Fasn1-x509.svg)](https://badge.fury.io/js/%40peculiar%2Fasn1-x509)\n\n[![NPM](https://nodei.co/npm/@peculiar/asn1-x509.png)](https://nodei.co/npm/@peculiar/asn1-x509/)\n\nASN.1 schema for X.509 certificates, certificate revocation lists, and related profile structures defined in RFC 5280.\n\nUse the exported classes with `@peculiar/asn1-schema` helpers such as `AsnConvert`, `AsnParser`, and `AsnSerializer` to parse or serialize DER-encoded data defined by the referenced specification.\n\n## Installation\n\n```bash\nnpm install @peculiar/asn1-x509\n```\n\n## Breaking Changes In v3\n\nv3 is ESM-only and requires Node.js `^20.19.0 || >=22.12.0` (was `>=14`). CommonJS code can still `require(\"@peculiar/asn1-x509\")` on these versions; Node.js 22.0–22.11 can't. The public API is unchanged. See the [full notes](https://github.com/PeculiarVentures/asn1-schema#breaking-changes-in-v3).\n\n- **TypeScript compiling to CommonJS:** use `\"module\": \"node20\"` or `\"nodenext\"` (`node16` fails with TS1479). ESM and bundler setups need no changes.\n- **Jest in CommonJS mode:** switch to ESM mode or Vitest, or configure an ESM-to-CommonJS transformer and make sure `transformIgnorePatterns` doesn't exclude the `@peculiar/*` packages and `asn1js`.\n- **Deep imports** (`@peculiar/asn1-x509/build/...`) are blocked by `exports`; import from `@peculiar/asn1-x509`.\n- **Peer dependencies:** `@peculiar/asn1-schema` (`^3.0.0`) and `asn1js` (`^4.0.0`) are peers instead of dependencies, so your app shares one copy with the other `@peculiar/asn1-*` packages. npm installs peers automatically.\n\n## Specifications\n\n- [RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile](https://datatracker.ietf.org/doc/html/rfc5280)\n- [EntrustVersionInfo extension reference](http://ftp.gnome.org/mirror/archive/ftp.sunet.se/pub/security/dfnpca/docs/misc/Entrust/directory.pdf)\n","publish_time":1792930112273,"_cnpm_publish_time":1792930112273,"dist-tags":{"latest":"3.1.0"}}