2.5 KiB
ASL/OCS/1 -- Offline Certificate System
Status: Draft Owner: Architecture Version: 0.1.0 SoT: No Last Updated: 2025-01-17 Tags: [certificates, authority, offline]
Document ID: ASL/OCS/1
Layer: L2 -- Certificate semantics (no encoding)
Depends on (normative):
ASL/OFFLINE-ROOT-TRUST/1ASL/DAM/1ASL/POLICY-HASH/1
Informative references:
PER/SIGNATURE/1-- PER signature validation
0. Conventions
The key words MUST, MUST NOT, REQUIRED, SHOULD, and MAY are to be interpreted as in RFC 2119.
ASL/OCS/1 defines certificate semantics as immutable artifacts. It does not define encodings.
1. Purpose
The Offline Certificate System (OCS) anchors domain authority in offline root keys and allows deterministic, offline verification of authority.
2. Core Principle
Certificates are immutable ASL artifacts, not live credentials.
They are:
- Signed once
- Snapshot-pinned
- Replayable
- Verified offline
3. Authority Certificate Artifact
3.1 Logical Structure
AuthorityCertificate {
subject_type : enum { domain_root, principal }
subject_id : Hash
subject_pubkey : PublicKey
domain_id : DomainID
roles[] : Role
policy_hash : Hash
issued_by : PublicKey
version : u32
}
3.2 Semantics
domain_root: certifies a domain root key for DAM issuance.principal: certifies a principal key for roles under a policy hash.
4. Offline Signing Workflow
- Online domain prepares an AuthorityRequest.
- Offline root signs an AuthorityCertificate.
- Certificate artifact is imported and snapshot-pinned.
No online checks are required after import.
5. DAM Validation Chain
A DAM is valid iff:
- DAM root key is certified by a
domain_rootcertificate. - Certificate
policy_hashmatches DAMpolicy_hash. - Certificate signature validates against the offline root set.
6. Revocation Model
There is no live revocation. Revocation is performed by publishing a new DAM and new certificates, and referencing them in new snapshots.
7. Federation Verification
When receiving state from another domain:
- Load snapshot
- Resolve DAM and AuthorityCertificate artifacts
- Verify against configured offline root set
- Apply policy hash compatibility rules
8. Summary
ASL/OCS/1 defines immutable authority certificates signed by offline roots and bound to policy hashes, enabling deterministic, offline trust validation.