Juan Lang : crypt32: Add a helper function to encode a cert's public key.