@ndn/ndnsec
TypeScript icon, indicating that this package has built-in type declarations

0.0.20240113 • Public • Published

@ndn/ndnsec

This package is part of NDNts, Named Data Networking libraries for the modern web.

SafeBag type allows importing and exporting private keys in ndn-cxx SafeBag format. SafeBag encodes the private key as EncryptedPrivateKeyInfo ASN.1 structure, which may use one of many encryption algorithms. The implementation for browsers only supports PBES2(PBKDF2(HMAC-SHA256),AES-256-CBC) encryption algorithm, which appears to be the default in OpenSSL 1.1.1.

NdnsecKeyChain type can access keys and certificates in ndn-cxx KeyChain. It works by invoking the ndnsec command. This feature only works in Node.js.

Package Sidebar

Install

npm i @ndn/ndnsec

Weekly Downloads

5

Version

0.0.20240113

License

ISC

Unpacked Size

23.1 kB

Total Files

20

Last publish

Collaborators

  • yoursunny