Trait commit_verify::embed_commit::EmbedCommitProof
source · [−]pub trait EmbedCommitProof<Msg, Container, Protocol> where
Self: Sized + VerifyEq,
Container: EmbedCommitVerify<Msg, Protocol>,
Msg: CommitEncode,
Protocol: CommitmentProtocol, {
fn restore_original_container(
&self,
commit_container: &Container
) -> Result<Container, Container::VerifyError>;
}
Expand description
Proofs produced by EmbedCommitVerify::embed_commit
procedure.
Required Methods
fn 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.