Expand description
APH configuration constants — version pins, default TTLs, JCS profile.
Constants§
- ALG_
EDDSA - Signature algorithm identifier — EdDSA (Ed25519).
- ALG_
ES256 - Signature algorithm identifier — ES256 (p256 ECDSA over SHA-256).
- APH_
CONTEXT_ V1 - APH context URL (resolves to the published
aphrepo’sv1JSON-LD context). - APH_
CREDENTIAL_ TYPE - JSON-LD
typediscriminator for an APH credential. - APH_
DI_ CRYPTOSUITE cryptosuiteidentifier for Data Integrity Proof, JCS-canonicalized EdDSA.- APH_
VERSION - APH protocol version pin. Bump only with coordinated rollout.
- DEFAULT_
MANDATE_ TTL_ SECONDS - Default mandate TTL: 24 hours. Per-channel adapter may override.
- MAX_
BODY_ PREVIEW_ BYTES - Maximum body size in bytes that a Verifier MUST accept without truncation requirement. Larger bodies still notarize but Verifiers MAY decline preview.
- MAX_
PREVIEW_ LINES - Maximum body preview lines included in
communication.previewfield. - W3C_
VC_ CONTEXT_ V2 - W3C VC 2.0 context URL.