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_certificate_subject()


Method get_certificate_subject

Sequence get_certificate_subject(string cert)

Description

Return the certificate subject RDN from a certificate string.

Parameter cert

A string containing an X509 certificate.

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

Returns

An Standards.ASN1.Sequence object containing the certificate subject Distinguished Name (DN).