Options
All
  • Public
  • Public/Protected
  • All
Menu

@ndn/ndnsec

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

This package provides NdnsecKeyChain to access keys and certificates in ndn-cxx KeyChain via ndnsec executable.

This package can deal with SafeBag format, which contains certificate and private key exported by ndn-cxx ndnsec tool. This feature does not require ndnsec to be installed. Since SafeBag contains encrypted PKCS#8 data that is not supported by WebCrypto, this feature is only available in Node.js environment, and cannot work in browsers.

Index

References

Namespaces

Classes

Interfaces

Variables

References

NdnsecKeyChain

Re-exports NdnsecKeyChain

SafeBag

Re-exports SafeBag

Variables

Const EVD

EVD: EvDecoder<SafeBagFields> = new EvDecoder<SafeBagFields>("SafeBag", TT.SafeBag).add(l3TT.Data, (t, { decoder }) => t.certificate = Certificate.fromData(decoder.decode(Data))).add(TT.EncryptedKeyBag, (t, { value }) => t.encryptedKey = value)

Const IMPORTING_ISSUER

IMPORTING_ISSUER: Component = Component.from("08c5a687-7be5-43ee-a966-2683fb339c1d")

Const PASSPHRASE

PASSPHRASE: "PASSPHRASE" = "PASSPHRASE"

Legend

  • Namespace
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class
  • Class with type parameter
  • Enumeration

Generated using TypeDoc