Trait stacks_common::types::PrivateKey
source · pub trait PrivateKey: Clone + Debug + Serialize + DeserializeOwned {
// Required methods
fn to_bytes(&self) -> Vec<u8>;
fn sign(&self, data_hash: &[u8]) -> Result<MessageSignature, &'static str>;
}