Skip to main content

Module aph_config

Module aph_config 

Source
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 aph repo’s v1 JSON-LD context).
APH_CREDENTIAL_TYPE
JSON-LD type discriminator for an APH credential.
APH_DI_CRYPTOSUITE
cryptosuite identifier 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.preview field.
W3C_VC_CONTEXT_V2
W3C VC 2.0 context URL.