- integrations
- Python
- ocx_sdk
SignatureEntry, SignatureLegReport
SignatureEntryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourcesignature_formatattributeinstance attribute#
signature_format: strSignatureLegReportclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass SignatureLegReport(format: str, payload_digest: str | None = None, manifest_digest: str | None = None, error: str | None = None)One signature format’s outcome within a SignatureReport (C-011).
Attributes
| Name | Type | Description |
|---|---|---|
format | str | The signature format this leg produced — "bundle" or
"simplesigning" (signature.rs:89; "both" is write-side
only — it requests two legs, never labels one), carried as raw
str (D8). |
payload_digest | str | None | Digest of the signed payload, when this leg landed. |
manifest_digest | str | None | Digest of the manifest the signature attaches to, when this leg landed. |
error | str | None | Why this leg failed, when it did. A --signature-format both
run where one leg lands and one fails names the failed leg here
(D10) — recover the whole report with partial_report(err). |
errorattributeclass attributeinstance attribute#
error: str | None = Noneformatattributeinstance attribute#
format: strmanifest_digestattributeclass attributeinstance attribute#
manifest_digest: str | None = Nonepayload_digestattributeclass attributeinstance attribute#
payload_digest: str | None = Nonefrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> SignatureLegReportBuild from one decoded entry of SignatureReport.legs.