Skip to content
ocx
install

SignatureEntry, SignatureLegReport

SignatureEntryclassdataclass#

Re-exported from ocx_sdk._resultsView source

signature_formatattributeinstance attribute#

signature_format: str

SignatureLegReportclassdataclass#

Re-exported from ocx_sdk._resultsView source
class 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

NameTypeDescription
formatstrThe 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_digeststr | NoneDigest of the signed payload, when this leg landed.
manifest_digeststr | NoneDigest of the manifest the signature attaches to, when this leg landed.
errorstr | NoneWhy 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 = None

formatattributeinstance attribute#

format: str

manifest_digestattributeclass attributeinstance attribute#

manifest_digest: str | None = None

payload_digestattributeclass attributeinstance attribute#

payload_digest: str | None = None

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> SignatureLegReport

Build from one decoded entry of SignatureReport.legs.