View as Markdown

SDK reference · Verifiers

VerifyProfile

VerifyProfile in go.provenanceauth.com/verify (Go), Verifiers. VerifyProfile checks a decoded profile against a JWKS: the signature, its expiry, its subject and the body hash.

Signature

provenanceverify.VerifyProfile(profile map[string]any, jwks JWKS, now int64) string

Parameters

profilemap[string]anyRequired
jwksJWKSRequired
nowint64Required

Returns

string

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.