This directory contains the .NET reference implementation of the PQF v1 Phase 1
foundations in the PostQuantum.FileFormat library (targeting net8.0).
- Deterministic CBOR encoder and strict validator (spec section 2.5)
- Canonical binary encryption/signing public key format types (spec section 7.1)
- PEM armoring and dearmoring for public keys (spec section 7.2)
- Fingerprint computation and formatting helpers (spec section 7.3)
- Unit and integration tests for the full Phase 1 surface
- HKDF combiner and KEK derivation (spec section 2.4)
- DEK wrapping and recipient processing (spec section 6.2)
- Chunked payload encryption/decryption with footer validation (spec section 5)
- Hybrid header/file signature operations (spec section 6.2, section 6.4)
- Full file read/write workflows for authenticated and streaming modes
The pqf CLI tool remains in the sibling cli directory and is out of scope
for Phase 1.
See the specification for authoritative detail.