»Liboath API
     »Libpskc Quickstart
     »Libpskc API
     »Bug tracker
OATH Toolkit
One-time password components

Validate PSKC against XML Schema

The --validate (-e) parameter can be used to validate PSKC data according to the XML Schema specified in RFC 6030. This performs a deep analysis and syntax check of the data and will print either "OK" or "FAIL" depending on validation outcome.

$ pskctool -e pskc-ocra.xml

Note that the exit code from pskctool --validate is 0 (indicating success) even when FAIL is printed. Use --quiet to suppress output and let the exit code correspond to validation result.

Note: If this command always results in errors, the XML catalog on your system needs to be updated to point to the installed PSKC schema files.