Declaraciones públicas de zig/src/cap/sct_testing.zig (spire-zig (SDK consumido)).
apps/docs/generated/zig/spire.jsonPágina generada desde
spire@spire-0.2.0-XvnrRek1BgCX4Bh8miuITCQgkn0FqeQrYYE3goFfDcQd (zig/src/root.zig). No se edita a mano:bun run docs:genla regenera ybun run docs:checkfalla 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.keyPairfn · línea 17
pub fn keyPair(seed_byte: u8) Ed25519.KeyPairSin ///.
cap.sct.testing.signfn · línea 22
pub fn sign(c: Claims, kp: Ed25519.KeyPair) [TOKEN_LEN]u8Sin ///.
cap.sct.testing.toBase64fn · línea 34
pub fn toBase64(raw: [TOKEN_LEN]u8) [TOKEN_B64_LEN]u8Sin ///.