Juan Lang : rsaenh: Use helper function to read key pairs from registry.