pub fn deserialize_public_key<'a, A>(
    buf: &mut ReadBuf<'a>
) -> Result<PublicKey<A>, ReadError> where
    A: AsymmetricPublicKey