OLD | NEW |
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 Loading... |
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 |
OLD | NEW |