git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7a7e65d
)
update comment on x509 class
author
ThomasV
<thomasv@gitorious>
Fri, 27 Jun 2014 09:44:34 +0000 (11:44 +0200)
committer
ThomasV
<thomasv@gitorious>
Fri, 27 Jun 2014 09:44:34 +0000 (11:44 +0200)
lib/x509.py
patch
|
blob
|
history
diff --git
a/lib/x509.py
b/lib/x509.py
index
31d5c80
..
53b2d6b
100644
(file)
--- 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]