Type Definition sp_application_crypto::bls377::Public
source · pub type Public = Public<TinyBLS<Bls12<Config>, Config>>;
Expand description
BLS12-377 public key.
Trait Implementations§
source§impl RuntimePublic for Public
impl RuntimePublic for Public
source§fn sign<M: AsRef<[u8]>>(
&self,
_key_type: KeyTypeId,
_msg: &M
) -> Option<Self::Signature>
fn sign<M: AsRef<[u8]>>( &self, _key_type: KeyTypeId, _msg: &M ) -> Option<Self::Signature>
Dummy implementation. Returns None
.
source§fn verify<M: AsRef<[u8]>>(&self, _msg: &M, _signature: &Self::Signature) -> bool
fn verify<M: AsRef<[u8]>>(&self, _msg: &M, _signature: &Self::Signature) -> bool
Dummy implementation. Returns false
.
§type Signature = Signature<TinyBLS<Bls12<Config>, Config>>
type Signature = Signature<TinyBLS<Bls12<Config>, Config>>
The signature that will be generated when signing with the corresponding private key.