Useful functions to interact with SSL keys