Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: third_party/tlslite/tlslite/x509certchain.py

Issue 211173006: Perform tlslite 0.3.8 -> 0.4.6 renames ahead of time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop the -B Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/tlslite/tlslite/x509.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 """Class representing an X.509 certificate chain.""" 1 """Class representing an X.509 certificate chain."""
2 2
3 from utils import cryptomath 3 from utils import cryptomath
4 from X509 import X509 4 from x509 import X509
5 5
6 class X509CertChain: 6 class X509CertChain:
7 """This class represents a chain of X.509 certificates. 7 """This class represents a chain of X.509 certificates.
8 8
9 @type x509List: list 9 @type x509List: list
10 @ivar x509List: A list of L{tlslite.X509.X509} instances, 10 @ivar x509List: A list of L{tlslite.X509.X509} instances,
11 starting with the end-entity certificate and with every 11 starting with the end-entity certificate and with every
12 subsequent certificate certifying the previous. 12 subsequent certificate certifying the previous.
13 """ 13 """
14 14
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 if not compareNames(cryptlib_py.CRYPT_CERTINFO_COUNTRYNAME): 232 if not compareNames(cryptlib_py.CRYPT_CERTINFO_COUNTRYNAME):
233 return False 233 return False
234 if not compareNames(cryptlib_py.CRYPT_CERTINFO_LOCALITYNAME): 234 if not compareNames(cryptlib_py.CRYPT_CERTINFO_LOCALITYNAME):
235 return False 235 return False
236 if not compareNames(cryptlib_py.CRYPT_CERTINFO_ORGANIZATIONNAME): 236 if not compareNames(cryptlib_py.CRYPT_CERTINFO_ORGANIZATIONNAME):
237 return False 237 return False
238 if not compareNames(cryptlib_py.CRYPT_CERTINFO_ORGANIZATIONALUNITNAME): 238 if not compareNames(cryptlib_py.CRYPT_CERTINFO_ORGANIZATIONALUNITNAME):
239 return False 239 return False
240 if not compareNames(cryptlib_py.CRYPT_CERTINFO_COMMONNAME): 240 if not compareNames(cryptlib_py.CRYPT_CERTINFO_COMMONNAME):
241 return False 241 return False
242 return True 242 return True
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/x509.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698