BoundedAuthorityProtocol. V1. ExpectedAnchoredExport
(Bounded Authority Protocol v1.0.0)
Copy Markdown
View Source
Mandatory caller context for atomic anchored-export verification.
Supply every value from your own records, never from the archive being verified.
Fields
chain- theBoundedAuthorityProtocol.V1.ExpectedChainboundaries of the exported range.start_anchor- theBoundedAuthorityProtocol.V1.ExpectedAnchorfor the start anchor.transitions- the orderedBoundedAuthorityProtocol.V1.ExpectedKeyTransitionlist.end_anchor- theBoundedAuthorityProtocol.V1.ExpectedAnchorfor the end anchor.digest- the expected raw 32-byte SHA-256 of the complete archive.object_version- the expected object-store version string.bounds- aBoundedAuthorityProtocol.V1.Boundsstruct or a map of tightening overrides;%{}means the profile maxima (seeBoundedAuthorityProtocol.V1.Bounds.coerce/1).
Summary
Types
Expected context for the façade's verify_anchored_export/3 (for example BoundedAuthorityProtocol.V1.verify_anchored_export/3).
Types
@type t() :: %BoundedAuthorityProtocol.V1.ExpectedAnchoredExport{ bounds: BoundedAuthorityProtocol.V1.Bounds.t() | map(), chain: BoundedAuthorityProtocol.V1.ExpectedChain.t(), digest: binary(), end_anchor: BoundedAuthorityProtocol.V1.ExpectedAnchor.t(), object_version: binary(), start_anchor: BoundedAuthorityProtocol.V1.ExpectedAnchor.t(), transitions: [BoundedAuthorityProtocol.V1.ExpectedKeyTransition.t()] }
Expected context for the façade's verify_anchored_export/3 (for example BoundedAuthorityProtocol.V1.verify_anchored_export/3).