Renders a certificate subject as an RFC 4514 DN string, least significant RDN
first and values escaped, so two spellings of one DN cannot become two
entries.
Parameters
dn: any
node's object form (getPeerCertificate()) or line-per-RDN
string form (X509Certificate#subject); a one-line string is returned as it
stands
Renders a certificate subject as an RFC 4514 DN string, least significant RDN first and values escaped, so two spellings of one DN cannot become two entries.