{"_id":"@peculiar/asn1-rsa@3.0.0","bugs":{"url":"https://github.com/PeculiarVentures/asn1-schema/issues"},"dist":{"shasum":"17c155de09ef34f3aed79af3b8fbe5973e8ea057","tarball":"http://registry-npm.ywwl.com/@peculiar/asn1-rsa/download/@peculiar/asn1-rsa-3.0.0.tgz","fileCount":23,"integrity":"sha512-ZWIfDZx1hEPTdv5BiIJ3f1DZkX4ggs7PtIdL2Hj1NwRstXxfJw2AEfbfh+Un8p1rMZmWGCupi8ePmE1qTphmmw==","signatures":[{"sig":"MEYCIQDF3ZQwIQBrCBHQJQY4sk/xEeA/nsK1kzNzQ3gvWMkoeAIhAI8Qt1e5flKAkvFhii0ubaIOJU7uYSqzfcXZsGpRGdpp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEMCIH1T/AFD5kZMUh2afW8v39hiL5SAkpy9Hl7GFxxu5DMmAh8nUCxG50kIXKFcNuKVni5RhgTXQyldE1dLUpecJ1QT"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@peculiar%2fasn1-rsa@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30985,"size":6364,"noattachment":false,"key":"/@peculiar/asn1-rsa/-/@peculiar/asn1-rsa-3.0.0.tgz"},"main":"./build/index.js","name":"@peculiar/asn1-rsa","type":"module","types":"./build/index.d.ts","author":{"name":"PeculiarVentures, LLC"},"module":"./build/index.js","engines":{"node":"^20.19.0 || >=22.12.0"},"exports":{".":"./build/index.js","./package.json":"./package.json"},"gitHead":"879a6eef4eba45ebb5e98a0fafe6c2792acd34f2","license":"MIT","version":"3.0.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"960a7827-b7ac-4ab8-92b7-6822779eadff"}},"homepage":"https://github.com/PeculiarVentures/asn1-schema/tree/master/packages/rsa#readme","keywords":["asn","asn1","rsa","public-key","private-key","rfc8017"],"repository":{"url":"git+https://github.com/PeculiarVentures/asn1-schema.git","type":"git","directory":"packages/rsa"},"_npmVersion":"11.19.0","description":"ASN.1 schema for RSA keys and algorithms defined in RFC 8017.","directories":{},"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"}],"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"@peculiar/asn1-x509":"^3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@peculiar/asn1-schema":"^3.0.0"},"peerDependencies":{"@peculiar/asn1-schema":"^3.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/asn1-rsa_3.0.0_1793014133934_0.7706172692453113"},"readme":"# `@peculiar/asn1-rsa`\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/PeculiarVentures/asn1-schema/blob/master/packages/rsa/LICENSE)\n[![npm version](https://badge.fury.io/js/%40peculiar%2Fasn1-rsa.svg)](https://badge.fury.io/js/%40peculiar%2Fasn1-rsa)\n\n[![NPM](https://nodei.co/npm/@peculiar/asn1-rsa.png)](https://nodei.co/npm/@peculiar/asn1-rsa/)\n\nASN.1 schema for RSA keys and algorithms defined in RFC 8017.\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-rsa\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-rsa\")` 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-rsa/build/...`) are blocked by `exports`; import from `@peculiar/asn1-rsa`.\n- **Peer dependencies:** `@peculiar/asn1-schema` (`^3.0.0`) is a peer instead of a dependency, so your app shares one copy with the other `@peculiar/asn1-*` packages. npm installs peers automatically.\n\n## Specifications\n\n- [RFC 8017: PKCS #1 v2.2: RSA Cryptography Specifications](https://datatracker.ietf.org/doc/html/rfc8017)\n","publish_time":1793014134024,"_cnpm_publish_time":1793014134024,"dist-tags":{"latest":"3.0.0"}}