BuildHash computes the hash of the response header.
()
| 82 | |
| 83 | // BuildHash computes the hash of the response header. |
| 84 | func (sh *SignedResponseHeader) BuildHash() (err error) { |
| 85 | return errors.Wrap(buildHash(&sh.ResponseHeader, &sh.ResponseHash), |
| 86 | "compute response header hash failed") |
| 87 | } |
| 88 | |
| 89 | // Response defines a complete query response. |
| 90 | type Response struct { |
nothing calls this directly
no test coverage detected