View as Markdown

SDK reference · Verifiers

VerifyAgentSignature

VerifyAgentSignature in go.provenanceauth.com/verify (Go), Verifiers. VerifyAgentSignature checks the signature bytes over the base against a JWK (kty OKP/Ed25519 or RSA).

Signature

provenanceverify.VerifyAgentSignature(base, signature []byte, alg string, jwk map[string]any) (bool, string)

Parameters

baseRequired
signature[]byteRequired
algstringRequired
jwkmap[string]anyRequired

Returns

(bool, string)

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.