Skip to main content

Function: addKeysForTesting()

function addKeysForTesting(map): () => void;

Defined in: keys.ts:59

TEST-ONLY escape hatch: register additional verification keys so suites can sign with throwaway keypairs (e.g. to exercise REVOKED or key rotation). Returns a function that removes exactly the keys it added. Never call this from production code — the embedded key set is the trust anchor.

Parameters

ParameterType
mapRecord<string, string>

Returns

() => void