register-prefix-cmd tool prepares a prefix registration command, and writes the signed command to stdout.
One use case is to generate a command on behalf of a less powerful sensor device.
On a server, execute:
./register-prefix-cmd -p /com/example/user/sensor1 -C -i /com/example/user
-pspecifies the prefix to be registered (required)
-Cenables Capture flag
-ispecifies signing identity (optional)
The binary output on stdout can then be delivered to the sensor device out-of-band (eg. through HTTP). Afterwards, the sensor device can send the command to a remote NDN router.