The ndn.security
package provides basic tools for security use.
A Signer
is a class used to sign a packet during encoding.
ndn.encoding.Signer
A Validator
is a async function called to validate an Interest or Data packet. It takes 2 arguments: a FormalName
and a SignaturePtrs
, and returns whether the packet is validated.
A Keychain
is a class which contains Identities, Keys associated with Identities and associated Certificates.
ndn.security.keychain.Keychain
ndn.security.keychain.keychain_digest
This is the default Keychain.
ndn.security.keychain.keychain_sqlite3