Expand description
NOT a stable public API. Engine-tier JWT engine — 3rd parties never
reach it directly: the External-Developer verification surface is
pas_external’s verifier facade (the γ-port), which re-exports what
integrations need. Published only because cargo requires every crate in
the SDK family’s dependency closure on the registry.
Modules§
- access_
token - RFC 9068 access-token profile.
- id_
token - OpenID Connect Core 1.0 id_token profile.
Structs§
- Jwk
- A single JWK entry. Pinned to the OKP/Ed25519/EdDSA shape — other
ktyvalues (EC,RSA,oct) deserialize buted25519_bytes()returnsNoneso the engine never accidentally accepts a non-Ed25519 key. - Jwks
- JSON Web Key Set — collection of trusted public keys per RFC 7517 §5.
- KeySet
- Signing
Key
Enums§
- Algorithm
- Jwks
Error - JWKS-side errors surfaced to consumers of
into_key_set. - Shared
Auth Error
Constants§
- DEFAULT_
ISSUER - SV_
CACHE_ TTL - TTL for the
sv:{ppnum_id}cache entry shared between PAS (writer) and PCS / external SDK consumers (readers). Bounds the post-break-glass staleness window when the writer cannot preemptively invalidate.
Functions§
- ed25519_
public_ from_ pem - Derive the 32-byte Ed25519 public key from a PKCS8-encoded private
PEM. Used by PAS at boot to populate
/.well-known/jwks.jsonfrom the same key material that produces issuance signatures, so issuer and publisher cannot drift. - sv_
cache_ key - Build the shared cache key for a given Human ppnum’s
session_version.