Type Alias sp_application_crypto::ecdsa_bls381::Public
pub type Public = CryptoBytes<sp_core::::paired_crypto::ecdsa_bls381::Public::{constant#0}, (PublicTag, (PairedCryptoTag, EcdsaBls381Tag))>;
Expand description
(ECDSA,BLS12-381) public key pair.
Aliased Type§
struct Public(pub [u8; 177], _);
Fields§
§0: [u8; 177]
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 = CryptoBytes<sp_core::::paired_crypto::ecdsa_bls381::Signature::{constant#0}, (SignatureTag, (PairedCryptoTag, EcdsaBls381Tag))>
type Signature = CryptoBytes<sp_core::::paired_crypto::ecdsa_bls381::Signature::{constant#0}, (SignatureTag, (PairedCryptoTag, EcdsaBls381Tag))>
The signature that will be generated when signing with the corresponding private key.