Juan Lang : crypt32: Add and use a helper function for getting cert properties.