use crate::public_key::PublicKey;

/// Signed data that contains both the signature, and the public key
/// used to sign it.
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
pub struct Signature {
    pub signature: Vec<u8>,
    pub pub_key: PublicKey,
}
