Issuance integrity
When a credential is issued:- The issuer signs the credential data with issuer-controlled keys (
BJJ_SIG_2021), bound to their DID. - The signed credential payload is encrypted to the holder’s public key.
- The encrypted envelope is stored in DStorage. AIR stores and routes opaque ciphertext and metadata as a blind facilitator — it never sees the plaintext.
Signature-based verification
Verification is program-driven and uses signature-based proofs, with zero-knowledge proofs where the program requires them:- The verifier asks a question: “Does this user hold a valid credential matching schema X?”
- The holder’s device generates a proof that answers the query, disclosing only the requested claims.
- The verifier receives a compliance result and a Verifiable Presentation containing the disclosed claims and proof material — nothing else.
Selective disclosure
Proofs can verify individual attributes without revealing the full credential. For example, a credential containingage, country, and kycLevel can prove that kycLevel >= 2 without revealing the user’s age or country. An attribute Merkle root binds the disclosed fields to the signed credential.
Selective disclosure is defined at the schema and verification program level. See Schema Design for configuration.
Credential revocation
Issuers can revoke credentials at any time through issuer-controlled revocation. A revocation check is part of verification, so any subsequent verification against a revoked credential will fail.Regulated data access (CAK)
For industries where verifiers must access raw data (e.g. identity photos for KYC), the Compliance Access Key (CAK) framework adds a consent-gated encryption layer. Data is encrypted at issuance and only decryptable by a verifier who has obtained explicit user consent after a successful verification.Credential storage
Further reading
- Privacy & Compliance (CAK) for the full encryption framework
- zkTLS for the zero-knowledge transport layer
- Schema Design for defining verifiable attributes