Trait commit_verify::EmbedCommitProof
source · pub trait EmbedCommitProof<Msg, Container, Protocol>where
Self: Sized + VerifyEq,
Container: EmbedCommitVerify<Msg, Protocol>,
Msg: CommitEncode,
Protocol: CommitmentProtocol,{
// Required method
fn restore_original_container(
&self,
commit_container: &Container
) -> Result<Container, Container::VerifyError>;
}
Expand description
Proofs produced by EmbedCommitVerify::embed_commit
procedure.
Required Methods§
sourcefn restore_original_container(
&self,
commit_container: &Container
) -> Result<Container, Container::VerifyError>
fn restore_original_container( &self, commit_container: &Container ) -> Result<Container, Container::VerifyError>
Restores original container before the commitment from the proof data and a container containing embedded commitment.
Object Safety§
This trait is not object safe.