Class swarmauri_signing_dsse.types.DSSEEnvelope
swarmauri_signing_dsse.types.DSSEEnvelope
dataclass
DSSEEnvelope(payload_type, payload_b64, signatures=tuple())
Immutable DSSE envelope compatible with the JSON wire format.
payload_type
instance-attribute
payload_type
payload_b64
instance-attribute
payload_b64
signatures
class-attribute
instance-attribute
signatures = field(default_factory=tuple)
to_mapping
to_mapping()
Return the JSON-serializable mapping representation of the envelope.
Source code in swarmauri_signing_dsse/types.py
85 86 87 88 89 90 91 92 |
|
from_mapping
classmethod
from_mapping(data)
Build a DSSE envelope from a decoded JSON mapping.
Source code in swarmauri_signing_dsse/types.py
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
|
without_signatures
without_signatures()
Return a copy of the envelope without signature records.
Source code in swarmauri_signing_dsse/types.py
122 123 124 125 126 127 |
|