Python APIs

The following Python libraries are available for processing nShield warrants:

  • nfddds implements encoding and decoding of DDDS structures

  • nfwar provides warrant support in Python, including verification with or without using an HSM

  • nchex allows for parsing warrant files in hex format

For an example using nfwar to parse a warrant without access to an HSM, see $NFAST_HOME/python3/examples/offline_warrant_verification.py.