w3f_bls::double

Trait DoublePublicKeyScheme

Source
pub trait DoublePublicKeyScheme<E: EngineBLS> {
    // Required methods
    fn into_public_key_in_signature_group(&self) -> PublicKeyInSignatureGroup<E>;
    fn into_double_public_key(&self) -> DoublePublicKey<E>;
    fn sign(&mut self, message: &Message) -> DoubleSignature<E>;
}

Required Methods§

Source

fn into_public_key_in_signature_group(&self) -> PublicKeyInSignatureGroup<E>

Source

fn into_double_public_key(&self) -> DoublePublicKey<E>

Return a double public object containing public keys both in G1 and G2

Source

fn sign(&mut self, message: &Message) -> DoubleSignature<E>

Implementors§