pub trait SidecarReceiptAuthority {
// Required method
fn permits(
&self,
receipt: &SidecarReceipt,
sidecar: &[u8; 768],
payload: &[u8],
) -> bool;
}Expand description
Verify current signer, subject/guardian policy and chain state. This must independently interpret the decoded sidecar and bind the payload location; neither possession of a key nor a signed policy reference grants access.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl SidecarReceiptAuthority for ConsentBoundSidecarAuthority
impl SidecarReceiptAuthority for LocalCustodyStoreBridge
Available on non-WebAssembly only.