Crate ic_verify_bls_signature

Source
Expand description

Verify BLS signatures

This verifies BLS signatures in a manner which is compatible with the Internet Computer.

Structs§

PrivateKey
A type expressing a BLS12-381 private key
PublicKey
A BLS12-381 public key usable for signature verification
Signature
A type expressing a BLS12-381 signature

Enums§

InvalidPrivateKey
An error indicating a private key could not be deserialized
InvalidPublicKey
An error indicating an encoded public key was not valid
InvalidSignature
An error indicating a signature could not be deserialized

Functions§

verify_bls_signature
Verify a BLS signature