Added function to convert X.509 DN to string representation