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) AuthorityProofResultParameters
tokenstringRequiredjwksJWKSRequiredexpectAuthorityProofExpectRequirednowint64Requiredholder*MandateHolderRequired
Returns
AuthorityProofResult
HTTP operation
Runs locally, with no request to the API.