canaad-cli-0.1.0 is not a library.
canaad-cli
Command-line tool for AAD (Additional Authenticated Data) canonicalization according to RFC 8785 (JSON Canonicalization Scheme).
Installation
Usage
Canonicalize
Convert AAD JSON to canonical form:
# From argument
# From file
# From stdin
|
# Output formats
# Save to file
Validate
Check if AAD JSON is valid:
# Basic validation
# Quiet mode (exit code only)
Hash
Compute SHA-256 hash of canonical AAD:
# Hex output (default)
# Base64 output
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Validation error (invalid AAD) |
| 2 | I/O error (file not found, etc.) |
License
MIT OR Apache-2.0