Type Alias narwhal_crypto::Signature

source ·
pub type Signature = BLS12381Signature;

Aliased Type§

struct Signature { /* private fields */ }

Trait Implementations§

source§

impl NarwhalAuthoritySignature for Signature

source§

fn new_secure<T>(value: &IntentMessage<T>, secret: &dyn Signer<Self>) -> Self
where T: Serialize,

Create a new signature over an intent message.
source§

fn verify_secure<T>( &self, value: &IntentMessage<T>, public_key: &PublicKey ) -> Result<(), FastCryptoError>
where T: Serialize,

Verify the signature on an intent message against the public key.