Documentation Index
Fetch the complete documentation index at: https://docs.spellguard.ai/llms.txt
Use this file to discover all available pages before exploring further.
@spellguard/ctls
Cloud Transport Layer Security for attestation and verification.Client Functions
| Function | Description |
|---|---|
fetchAndVerifyVerifier(url, hash) | Fetch and verify Verifier attestation |
verifyVerifierAttestation(doc, hash) | Verify an attestation document |
buildEvidence(options) | Build evidence claims |
signEvidence(evidence, key) | Sign evidence with Ed25519 |
Server Functions
| Function | Description |
|---|---|
generateSessionKeys() | Generate ephemeral session keys (RAM-only) |
generateAttestationDocument(nonce) | Generate Verifier attestation |
verifyEvidence(evidence) | Verify client evidence |
registerAgent(agent) | Register an authenticated agent |
rotateChannelToken(agentId) | Rotate an agent’s channel token |