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

Method signing_bytes

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

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

(&self)

Source from the content-addressed store, hash-verified

209
210 /// Canonical bytes for signing (JCS of `signing_value`).
211 pub fn signing_bytes(&self) -> Vec<u8> {
212 jcs::canonicalize(&self.signing_value()).into_bytes()
213 }
214
215 /// Recompute the content hash from the current node state.
216 pub fn compute_content_hash(&self) -> String {

Callers

nothing calls this directly

Calls 2

canonicalizeFunction · 0.85
signing_valueMethod · 0.45

Tested by

no test coverage detected