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

Method provenance_root

atomic-core/src/change/attestation.rs:1046–1049  ·  view source on GitHub ↗

Set the provenance evidence root (V4, CB-12A AC3). See [`Attestation::provenance_root`] for the canonical construction.

(mut self, root: Hash)

Source from the content-addressed store, hash-verified

1044 /// Set the provenance evidence root (V4, CB-12A AC3). See
1045 /// [`Attestation::provenance_root`] for the canonical construction.
1046 pub fn provenance_root(mut self, root: Hash) -> Self {
1047 self.provenance_root = Some(root);
1048 self
1049 }
1050
1051 /// Set the timestamp (Unix epoch seconds). Defaults to now.
1052 pub fn timestamp(mut self, ts: i64) -> Self {

Calls

no outgoing calls

Tested by

no test coverage detected