Canonical bytes for signing (JCS of `signing_value`).
(&self)
| 373 | |
| 374 | /// Canonical bytes for signing (JCS of `signing_value`). |
| 375 | pub fn signing_bytes(&self) -> Vec<u8> { |
| 376 | jcs::canonicalize(&self.signing_value()).into_bytes() |
| 377 | } |
| 378 | |
| 379 | /// Recompute the content hash from the current node state. |
| 380 | pub fn compute_content_hash(&self) -> String { |