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

Method signing_bytes

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

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

(&self)

Source from the content-addressed store, hash-verified

366
367 /// Canonical bytes for signing (JCS of `signing_value`).
368 pub fn signing_bytes(&self) -> Vec<u8> {
369 jcs::canonicalize(&self.signing_value()).into_bytes()
370 }
371
372 /// Recompute the content hash from the current node state.
373 pub fn compute_content_hash(&self) -> String {

Calls 2

canonicalizeFunction · 0.70
signing_valueMethod · 0.45