Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Standards
Standards.PKCS
Standards.PKCS.Certificate

Method Standards.PKCS.Certificate.get_dn_string()


Method get_dn_string

string get_dn_string(Sequence dnsequence)

Description

Converts an RDN (relative distinguished name) Seqeunce object to a human readable string in X500 format.

Parameter cert

A string containing an X509 certificate.

Note that the certificate normally must be decoded using MIME.decode_base64 .

Returns

A string containing the certificate issuer Distinguished Name (DN) in human readable X500 format.

Note

We don't currently handle attributes with multiple values, not all attribute types are understood.