certauth: case insensitive hex key comparison

As noted in issue 464, comparing the hex representation of the public
key fingerprint should be case insensitive.
certauth: improve const correctness
Merge pull request #483 from KiNgMaR/issue464

Possible fix for issue #464