Re: Obtaining SSL certificate info from SSL object - proposal

2006-12-14 Thread Martin v. Löwis
John Nagle schrieb: > SSL certificates are trees, represented in a format, "ASN.1", which > allows storing numbers, strings, and flags. > Fields are identified by names or by assigned "OID numbers" > (see RFC 2459). > > The tree is returned as tuples. The first element of the

Re: Obtaining SSL certificate info from SSL object - proposal

2006-12-13 Thread John Nagle
John Nagle wrote: > Michael Ströder wrote: > >> John Nagle wrote: >> >>>The Python SSL object offers two methods from obtaining >>> the info from an SSL certificate, "server()" and "issuer()". >>> The actual values in the certificate are a series of name/value >>> pairs in ASN.1 binary format.