SignatureExt

Trait SignatureExt 

Source
pub trait SignatureExt: Sized {
    // Required methods
    fn infinity() -> Result<Self>;
    fn aggregate(signatures: Vec<Self>) -> Result<Self>;
    fn from_bytes(bytes: Bytes96) -> Result<Self>;
    fn to_bytes(&self) -> Result<Bytes96>;
    fn is_infinity(&self) -> Result<bool>;
    fn is_valid(&self) -> Result<bool>;
}

Required Methods§

Source

fn infinity() -> Result<Self>

Source

fn aggregate(signatures: Vec<Self>) -> Result<Self>

Source

fn from_bytes(bytes: Bytes96) -> Result<Self>

Source

fn to_bytes(&self) -> Result<Bytes96>

Source

fn is_infinity(&self) -> Result<bool>

Source

fn is_valid(&self) -> Result<bool>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§