From geert.van.muylem at utimaco.be Thu Nov 4 00:16:59 2004 From: geert.van.muylem at utimaco.be (geert.van.muylem at utimaco.be) Date: Thu, 4 Nov 2004 00:16:59 +0100 Subject: [pyOpenSSL] Fw: PyOpenSSL Message-ID: Hi, I'm trying to use the OpenSSL module in order to get the subject distinguished name from a certificate: Is there any change to get this as a string and not as an X509Name object (I see that there is eg a countryName method, but this doesn't give me the full DN) What about a DN with domain components... Thanks, Geert from OpenSSL.crypto import *; def MyDump(): FileName = "C:\\brol\\sign.crt" CertFile = open(FileName, "rb") Cert = CertFile.read() CertFile.close() n = load_certificate(FILETYPE_ASN1, Cert) s = n.get_subject() -------------- next part -------------- An HTML attachment was scrubbed... URL: