From b03d11003e34b681df1aad8dc6c305507ab213dd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 27 Jun 2014 11:44:34 +0200 Subject: [PATCH] update comment on x509 class --- lib/x509.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lib/x509.py b/lib/x509.py index 31d5c80..53b2d6b 100644 --- a/lib/x509.py +++ b/lib/x509.py @@ -56,7 +56,10 @@ def decode_str(data): class X509(tlslite.X509): - """ Child class of tlslite.X509 that uses pyasn1 """ + """Child class of tlslite.X509 that uses pyasn1 to parse cert + information. Note: pyasn1 is a lot slower than tlslite, so we + should try to do everything in tlslite. + """ def slow_parse(self): self.cert = decoder.decode(str(self.bytes), asn1Spec=Certificate())[0] -- 1.7.1