SDK reference · Verifiers
sign_offer
sign_offer in provenanceauth-verify (Python), Verifiers. Sign an offer with the seller agent's Ed25519 key (a JWK with d).
Signature
provenanceauth_verify.sign_offer(payload: dict, private_jwk: dict, now: Optional[int] = …, ttl_seconds: int = …) -> dictParameters
payloaddictRequiredprivate_jwkdictRequirednowOptional[int]ttl_secondsint
Returns
dict
HTTP operation
Runs locally, with no request to the API.