View as Markdown

SDK reference · Verifiers

VerifyAuthorityProof

VerifyAuthorityProof in go.provenanceauth.com/verify (Go), Verifiers. VerifyAuthorityProof checks an authority proof offline: signature (the issuer's JWKS), expiry, expect and the holder's key.

Signature

provenanceverify.VerifyAuthorityProof(token string, jwks JWKS, expect AuthorityProofExpect, now int64, holder *MandateHolder) AuthorityProofResult

Parameters

tokenstringRequired
jwksJWKSRequired
expectAuthorityProofExpectRequired
nowint64Required
holder*MandateHolderRequired

Returns

AuthorityProofResult

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.