Try generating hash based on signature header.