| 43 | } |
| 44 | |
| 45 | type Bundle struct { |
| 46 | Version version.Version |
| 47 | PrimaryURL *url.URL |
| 48 | Exchanges []*Exchange |
| 49 | ManifestURL *url.URL |
| 50 | Signatures *Signatures |
| 51 | } |
| 52 | |
| 53 | // AddPayloadIntegrity encodes the exchange's payload with Merkle Integrity |
| 54 | // content encoding, and adds `Content-Encoding` and `Digest` response headers. |
nothing calls this directly
no outgoing calls
no test coverage detected