Type Alias BLSPrivKey

Source
pub type BLSPrivKey = SignKey;
Expand description

BLS private key used to sign a consensus message

Aliased Type§

struct BLSPrivKey(/* private fields */);

Trait Implementations§

Source§

impl PrivateSignatureKey for BLSPrivKey

Source§

fn to_bytes(&self) -> Vec<u8>

Serialize the private key into bytes
Source§

fn from_bytes(bytes: &[u8]) -> Result<Self>

Deserialize the private key from bytes Read more
Source§

fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>

Serialize the private key into TaggedBase64 blob. Read more