pub struct FalconSignatureStruct {
pub signature: Vec<u8>,
pub vector_commitment_index: u64,
pub proof: MerkleArrayProof,
pub verifying_key: FalconVerifier,
}
Expand description
Represents a signature in the merkle signature scheme using falcon signatures as an underlying crypto scheme. It consists of an ephemeral public key, a signature, a merkle verification path and an index. The merkle signature considered valid only if the Signature is verified under the ephemeral public key and the Merkle verification path verifies that the ephemeral public key is located at the given index of the tree (for the root given in the long-term public key). More details can be found on Algorand’s spec
Fields§
§signature: Vec<u8>
§vector_commitment_index: u64
§proof: MerkleArrayProof
§verifying_key: FalconVerifier
Trait Implementations§
Source§impl Clone for FalconSignatureStruct
impl Clone for FalconSignatureStruct
Source§fn clone(&self) -> FalconSignatureStruct
fn clone(&self) -> FalconSignatureStruct
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FalconSignatureStruct
impl Debug for FalconSignatureStruct
Source§impl<'de> Deserialize<'de> for FalconSignatureStruct
impl<'de> Deserialize<'de> for FalconSignatureStruct
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FalconSignatureStruct
impl PartialEq for FalconSignatureStruct
Source§impl Serialize for FalconSignatureStruct
impl Serialize for FalconSignatureStruct
impl StructuralPartialEq for FalconSignatureStruct
Auto Trait Implementations§
impl Freeze for FalconSignatureStruct
impl RefUnwindSafe for FalconSignatureStruct
impl Send for FalconSignatureStruct
impl Sync for FalconSignatureStruct
impl Unpin for FalconSignatureStruct
impl UnwindSafe for FalconSignatureStruct
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more