MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / signing_bytes

Method signing_bytes

atomic-canonical/src/node.rs:375–377  ·  view source on GitHub ↗

Canonical bytes for signing (JCS of `signing_value`).

(&self)

Source from the content-addressed store, hash-verified

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 {

Calls 2

canonicalizeFunction · 0.70
signing_valueMethod · 0.45