Referencia Zigspire-zig (SDK consumido)

zig/src/cap/sct_testing.zig

Declaraciones públicas de zig/src/cap/sct_testing.zig (spire-zig (SDK consumido)).

ImplementadoSin versión del tren todavía· generada desde apps/docs/generated/zig/spire.json

Página generada desde spire@spire-0.2.0-XvnrRek1BgCX4Bh8miuITCQgkn0FqeQrYYE3goFfDcQd (zig/src/root.zig). No se edita a mano: bun run docs:gen la regenera y bun run docs:check falla si difiere.

Signing support for SCT tests only (sct.testing). A daemon build has no caller of these, and no key material: tests use throw-away deterministic keys. Kept out of sct.zig, which is a parser module (dec-0117 §6 S4: it decodes tokens from the wire, where nothing may panic); here the only panics are on Ed25519 failures that cannot happen for these inputs.

cap.sct.testing.keyPair

fn · línea 17

pub fn keyPair(seed_byte: u8) Ed25519.KeyPair

Sin ///.

cap.sct.testing.sign

fn · línea 22

pub fn sign(c: Claims, kp: Ed25519.KeyPair) [TOKEN_LEN]u8

Sin ///.

cap.sct.testing.toBase64

fn · línea 34

pub fn toBase64(raw: [TOKEN_LEN]u8) [TOKEN_B64_LEN]u8

Sin ///.