commit b03d11003e34b681df1aad8dc6c305507ab213dd parent 7a7e65d66c6a6c88792c0f81504a999e7e67ca83 Author: ThomasV <thomasv@gitorious> Date: Fri, 27 Jun 2014 11:44:34 +0200 update comment on x509 class Diffstat:
M | lib/x509.py | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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]