pub trait AsymmetricPublicKey {
    type Public: AsRef<[u8]> + Clone + PartialEq + Eq + Hash;

    const PUBLIC_BECH32_HRP: &'static str;
    const PUBLIC_KEY_SIZE: usize;

    // Required method
    fn public_from_binary(data: &[u8]) -> Result<Self::Public, PublicKeyError>;
}

Required Associated Types§

Required Associated Constants§

Required Methods§

Implementors§