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 = …) -> dict

Parameters

payloaddictRequired
private_jwkdictRequired
nowOptional[int]
ttl_secondsint

Returns

dict

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.