decode_signed
Decode a signed envelope to extract content, signer DID, and verification status. Returns validated data even for unsigned messages.
Instructions
Unwrap a synpareia-signed envelope (Tier 4).
Returns a structured dict -- never raises. Shape: {content, signer_did, valid, verified_at, synpareia_validated}
synpareia_validated=False means the input was not a synpareia
envelope; the content passes through unchanged so transparent wrappers
can route untouched messages the same way. synpareia_validated=True
with valid=False means the input was an envelope but signature or
structure checks failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoded | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||