Skip to main content

Certificate Ontology

Security Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
CERTIFICATE ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Security Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/security-entities/certificate-ontology.html
Prepared: 11 November 2026
Status: Constructed topic-level ontology mapping; not a verified transcription of the source page.

1. PURPOSE
Represent a digital certificate as a signed binding between a subject identity and a public key, together with issuer, validity interval, constraints, signatures and trust context. Model issuance, verification, deployment, renewal and revocation without equating a valid signature with automatic trust.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: presented certificate, chain, requested hostname/purpose, current time and revocation evidence.
R_t: issuer, subject, key, trust anchor, certificate-chain and policy relationships.
B_t: cryptographic, validity, name, usage, path, trust and freshness constraints.
K_t: verified trust-store state, algorithms, certificate policies and observed evidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
Note: argmax is an abstract candidate-selection expression; deterministic validation rules determine acceptance. If V_t is empty, reject or return indeterminate as policy requires.

3. ENTITY MODEL
Certificate: {id, format, version, serial_number, issuer, subject, subject_public_key_info, not_before, not_after, signature_algorithm, signature_value, extensions, raw_encoding}.
CertificateAuthority: {identity, signing_key_reference, policies, trust_status}.
TrustAnchor: {trusted_name, public_key, scope, trust_store_version}.
CertificateChain: ordered sequence from leaf through intermediates toward a configured trust anchor.
CertificateRequest: {subject_claims, public_key, requested_extensions, proof_of_possession}.
RevocationEvidence: {source, status, this_update, next_update, verified_signature, freshness}.
CertificateUsage: {hostname, service, intended_purpose, evaluation_time}.
PrivateKey: separate protected entity; never assumed to be contained in a public certificate.

4. RELATIONSHIP GRAPH
Certificate --binds--> SubjectIdentity
Certificate --contains--> PublicKey
Certificate --issued_by--> Issuer
Certificate --signed_with--> IssuerPrivateKey (historical issuance relationship)
Certificate --validated_using--> IssuerPublicKey
Certificate --chains_to--> TrustAnchor
Certificate --constrained_by--> KeyUsage / ExtendedKeyUsage / BasicConstraints / NameConstraints / Policy
Certificate --checked_against--> RevocationEvidence
Certificate --used_by--> TLSService / Client / CodeSigningService (subject to intended purpose)

5. CORE FLOWS
FLOW CERTIFICATE_ISSUANCE
  INPUT: validated request, authorised issuer, issuance policy.
  CHECK: requester control/identity evidence, permitted names, algorithms and extensions.
  ACTION: issuer constructs and signs certificate, records issuance metadata.
  OUTPUT: certificate and auditable issuance result.

FLOW CERTIFICATE_CHAIN_VALIDATION
  INPUT: leaf certificate, candidate intermediates, trust store, usage, time.
  EXPAND: discover issuer candidates and construct bounded candidate paths.
  FILTER: signature verification; issuer/subject linkage; time validity; CA constraints; path length; key usage; extended key usage; name constraints; algorithm and policy restrictions.
  TRUST: require an authorised trust anchor within the specified trust context.
  OUTPUT: valid / invalid / indeterminate with structured reasons.

FLOW TLS_HOSTNAME_VALIDATION
  INPUT: leaf certificate, requested DNS name or IP literal.
  CHECK: applicable subjectAltName identities according to client rules; do not infer hostname authority from a matching issuer alone.
  OUTPUT: name_match or name_mismatch.

FLOW REVOCATION_CHECK
  INPUT: validated chain, revocation policy, CRL/OCSP or other supported evidence.
  CHECK: evidence signature, issuer binding, serial number, validity and freshness.
  OUTPUT: good / revoked / unknown / unavailable, with explicit policy treatment.

FLOW CERTIFICATE_RENEWAL
  INPUT: deployed certificate, expiry horizon, authorisation and key policy.
  ACTION: obtain new certificate; verify chain and names; deploy atomically where feasible; monitor handshake and expiry.
  OUTPUT: renewed deployment or rollback/alert.

6. INFERENCE RULES
R1: ValidSignature(c, issuer_key) does not imply Trusted(c).
R2: Trusted(c) requires an acceptable path to an authorised trust anchor and all applicable constraints.
R3: If evaluation_time is outside [not_before, not_after], then TimeInvalid(c).
R4: If a required DNS identity is not matched, then RejectForHostname(c).
R5: If an authoritative, correctly verified revocation status is revoked, then Reject(c).
R6: If keyUsage or extendedKeyUsage excludes the requested purpose, then RejectForPurpose(c).
R7: A self-signed certificate is not inherently trusted; local trust policy decides whether it can serve as a trust anchor.
R8: Unknown revocation status must not be silently represented as good.

7. BOUNDED RECURSION ENGINE
function validate_path(cert, candidates, trust_store, visited, depth, max_depth):
    if depth > max_depth: return INVALID("path limit")
    if fingerprint(cert) in visited: return INVALID("cycle")
    if not check_local_constraints(cert): return INVALID("certificate constraints")
    if matches_authorised_trust_anchor(cert, trust_store):
        return VALID only if anchor constraints and policy hold
    next_visited = visited union {fingerprint(cert)}
    for issuer in matching_issuer_candidates(cert, candidates):
        if verify_certificate_signature(cert, issuer.public_key):
            result = validate_path(issuer, candidates, trust_store,
                                   next_visited, depth + 1, max_depth)
            if result == VALID and check_path_constraints(cert, issuer):
                return VALID
    return INVALID("no acceptable chain")

8. OPERATIONAL BOUNDARIES
- A certificate does not prove the subject currently controls the associated private key; protocols may require proof of possession.
- Certificate transparency, revocation, DNS identity and organisational validation have distinct purposes and policies.
- Signature verification, chain construction and hostname validation must not be conflated.
- Trust-store contents and validation policy are external inputs that can change over time.
- Avoid logging private keys, secret material or unnecessary identifying certificate fields.
- Bounded traversal guarantees termination under finite inputs and enforced limits, not universal trust correctness or service availability.

9. SEMANTIC EQUIVALENCE
DigitalCertificate ~= PublicKeyCertificate when certificate format and trust context are specified.
X509Certificate is a subtype of DigitalCertificate, not a synonym for all credential formats.
CertificateValidity != CertificateTrust != CertificateAuthorisation.
CertificateRenewal != CertificateRevocation.

10. EXAMPLE EXECUTION TRACE
Input: TLS server leaf, intermediate CA, trusted root, requested host, evaluation time.
Step 1: parse leaf and verify supported signature algorithms.
Step 2: match requested hostname against permitted SAN identities.
Step 3: validate leaf time, key usage and extended key usage.
Step 4: verify leaf signature with intermediate key and intermediate CA constraints.
Step 5: build path to configured trust anchor and enforce policy.
Step 6: evaluate revocation evidence according to explicit freshness/failure policy.
Result: accept only if all mandatory checks succeed; otherwise return reasoned rejection or indeterminate status.

11. PROVENANCE AND CITATION
Source topic: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/security-entities/certificate-ontology.html
Authors: Mark Anthony Higgins — Sky Recursive AI
Artefact: Certificate Ontology — Flow Algebra v1.0
This is an original, constructed mapping for the named ontology topic, not a reproduction or verification of the source webpage's full embedded content.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ