Enable prefix registration via NFD management protocol.
face connected to NFD.
options.
Sign an Interest in Signed Interest 0.2 format.
input Interest without signed Interest specific components.
private key to sign the Interest.
Generated using TypeDoc
@ndn/nfdmgmt
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package implements basic support for NFD Management protocol. In particular, it enables prefix registration on NFD.
NFD Prefix Registration
enableNfdPrefixReg
function enables NFD prefix registration. The snippet here shows API usage. If you are using@ndn/cli-common
package, this is called automatically if the uplink connects to NFD.Signed Interest 0.2
Previously, NFD Management protocol uses the deprecated Signed Interest 0.2 format.
signInterest02
function provides basic support for this older format.NFD is now accepting the Signed Interest format in NDN packet spec and this package has switched to it. However,
signInterest02
function is temporarily kept for interoperability with other programs that follows the structure of NFD Management protocol but still requires the old format.