Skip to main content

Credential 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
CREDENTIAL 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/credential-ontology.html
Prepared: 11 November 2026
Status: Constructed topic-specific Flow Algebra mapping; not a verified transcription of webpage content.

1. PURPOSE
Model a credential as evidence or a mechanism used to establish a claim about a principal, service or device, subject to issuer trust, proof of possession, scope, expiry and revocation. Distinguish identity, authentication and authorisation: a credential can support authentication but does not itself grant unrestricted access.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = presented credential metadata, request context, verifier observations and challenge.
R_t = credential-to-principal, issuer-to-trust-anchor, policy-to-resource and proof-to-claim relationships.
B_t = permitted algorithms, trust roots, time windows, revocation rules, audience, scope and security policy.
K_t = known credential formats, validation procedures, assurance levels and historical 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))
The ranking expression is a selection model, not a substitute for mandatory cryptographic verification or policy checks.

3. ENTITY MODEL
Credential: credential_id, type, subject_reference, issuer_reference, issuance_time, expiry_time, status, assurance_level, protected_material_reference.
Principal: person, service, workload or device making a claim.
Issuer: authority or system issuing the credential.
Verifier: component evaluating credential validity and binding.
Proof: password-derived verification, signed challenge, token signature, certificate chain or hardware-backed assertion.
Policy: acceptable credential types, audience, scope, freshness and revocation requirements.
TrustAnchor: independently configured basis for trusting an issuer or key.
RevocationRecord: authoritative invalidation evidence.
AuditEvent: privacy-conscious record of validation outcome and policy decision.

4. RELATIONSHIP GRAPH
Principal --presents--> Credential
Credential --asserts_or_binds--> Principal
Credential --issued_by--> Issuer
Issuer --validated_against--> TrustAnchor
Verifier --checks--> Credential
Credential --carries_or_references--> Proof
Credential --constrained_by--> Policy
Credential --may_be_invalidated_by--> RevocationRecord
Verifier --records--> AuditEvent
AuthenticationDecision --precedes--> AuthorisationDecision

5. CORE FLOWS
FLOW A: ENROLMENT / ISSUANCE
Receive identity or workload evidence -> validate issuer policy -> generate or register proof material securely -> bind credential to principal -> assign validity and scope -> issue -> log minimal metadata.

FLOW B: PRESENTATION / VERIFICATION
Receive credential reference or protected assertion -> parse with strict limits -> identify credential type -> select trusted verifier -> validate cryptographic proof or protected secret using approved method -> check issuer, audience, binding, expiry, not-before and revocation -> apply risk and freshness policy -> return explicit authenticated / rejected / indeterminate result.

FLOW C: AUTHORISATION HANDOFF
Authenticated principal + verified claims -> evaluate resource-specific permissions and context -> permit or deny requested operation. Authentication success alone never implies authorisation.

FLOW D: ROTATION / REVOCATION
Detect scheduled rotation, suspected compromise or termination -> revoke or invalidate old material where supported -> provision replacement -> update dependent systems -> confirm propagation -> audit completion.

FLOW E: FAILURE / RECOVERY
Expired, revoked, mismatched, untrusted or unverifiable credential -> deny or require a separately approved recovery path -> rate-limit retries -> avoid disclosing secret material -> alert when warranted.

6. INFERENCE RULES
IF cryptographic proof fails THEN reject credential.
IF trusted issuer cannot be established THEN reject or mark indeterminate under explicit policy; never silently trust.
IF now is outside allowed validity interval THEN reject.
IF credential is revoked according to required authoritative check THEN reject.
IF audience or subject binding mismatches THEN reject.
IF credential verifies BUT scope is insufficient THEN deny requested operation.
IF revocation evidence is unavailable THEN follow documented fail-closed or explicitly risk-accepted policy; do not assume valid.
IF credential material is suspected compromised THEN trigger revocation and rotation workflow.

7. BOUNDED RECURSION ENGINE
function verifyCredential(credential, policy, depth, visited):
    if depth > policy.max_depth: return INDETERMINATE
    if credential.id in visited: return INDETERMINATE
    visited.add(credential.id)
    if not parseWithinLimits(credential): return REJECT
    if not checkValidityAndBinding(credential, policy): return REJECT
    if not verifyProof(credential, policy): return REJECT
    if requiresIssuerChain(credential):
        issuer = resolveIssuer(credential)
        if issuer is absent: return INDETERMINATE
        if verifyCredential(issuer, policy, depth + 1, visited) != ACCEPT: return REJECT
    if not checkRequiredRevocation(credential, policy): return REJECT_OR_INDETERMINATE
    return ACCEPT
Termination: bounded depth, finite issuer chain and visited-set cycle detection.

8. OPERATIONAL BOUNDARIES AND GUARANTEES
Never store plaintext passwords, private keys, recovery codes or bearer tokens in the ontology or audit output. Use appropriate password hashing and hardware-backed key custody where applicable. Constant-time comparisons and secure transport may be required. Validity is contextual and time-dependent. The model guarantees only that its stated validation stages are represented; actual security depends on implementation, trusted inputs, cryptographic primitives and configuration.

9. SEMANTIC EQUIVALENCE
Credential != identity.
Credential verification != authorisation.
Certificate != private key.
Bearer token != proof-of-possession token.
Expired credential != necessarily compromised credential.
Revoked credential != deleted principal.
Equivalent credential records require matching type, issuer, subject binding, cryptographic identity and relevant policy context, not merely a matching display name.

10. EXECUTION TRACE EXAMPLE
Input: API request presents a signed access token.
Expand: token -> issuer -> public-key trust anchor -> claims -> target API audience.
Validate: signature, algorithm allowlist, issuer, audience, expiry, revocation strategy.
Filter: remove tokens failing any mandatory policy condition.
Decision: authentication accepted if all required checks pass; separate authorisation checks requested action against scopes.
Update: record redacted outcome and relevant timestamps, never raw token.

11. PROVENANCE AND CITATION
Source topic: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/security-entities/credential-ontology.html
Citation: Higgins, Mark Anthony; Sky Recursive AI. 'Credential Ontology — Flow Algebra v1.0', Kireth Research Semantic Library, 2026.
This document is a constructed conceptual mapping and should be checked against the published ontology for exact alignment.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ