SDK reference · Verifiers
VerifyOffer
VerifyOffer in go.provenanceauth.com/verify (Go), Verifiers. VerifyOffer verifies a signed offer against the seller's registered keys (never a key inside the offer): the header, the key's status, the Ed25519 signature, expiry (now: unix seconds, 0 = wall clock), and aud when buyerAgentID is set.
Signature
provenanceverify.VerifyOffer(offer string, keys []SellerKey, now int64, buyerAgentID string) OfferResultParameters
offerstringRequiredkeys[]SellerKeyRequirednowint64RequiredbuyerAgentIDstringRequired
Returns
OfferResult
HTTP operation
Runs locally, with no request to the API.