Type Alias hotshot_types::signature_key::BLSPrivKey
source · pub type BLSPrivKey = SignKey;
Expand description
BLS private key used to sign a message
Aliased Type§
struct BLSPrivKey(/* private fields */);
Implementations
§impl SignKey
impl SignKey
pub fn from_bytes(bytes: &[u8]) -> SignKey
pub fn from_bytes(bytes: &[u8]) -> SignKey
Deserialize SignKey
from bytes.
pub fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>
pub fn to_tagged_base64(&self) -> Result<TaggedBase64, Tb64Error>
Explicit calls to serialize a SignKey
into TaggedBase64
.