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

Side by Side Diff: third_party/tlslite/tlslite/x509.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/verifierdb.py ('k') | third_party/tlslite/tlslite/x509certchain.py » ('j') | 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.""" 1 """Class representing an X.509 certificate."""
2 2
3 from utils.ASN1Parser import ASN1Parser 3 from utils.asn1parser import ASN1Parser
4 from utils.cryptomath import * 4 from utils.cryptomath import *
5 from utils.keyfactory import _createPublicRSAKey 5 from utils.keyfactory import _createPublicRSAKey
6 6
7 7
8 class X509: 8 class X509:
9 """This class represents an X.509 certificate. 9 """This class represents an X.509 certificate.
10 10
11 @type bytes: L{array.array} of unsigned bytes 11 @type bytes: L{array.array} of unsigned bytes
12 @ivar bytes: The DER-encoded ASN.1 certificate 12 @ivar bytes: The DER-encoded ASN.1 certificate
13 13
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 if e[0] == cryptlib_py.CRYPT_ERROR_NOTFOUND: 133 if e[0] == cryptlib_py.CRYPT_ERROR_NOTFOUND:
134 returnVal = None 134 returnVal = None
135 return returnVal 135 return returnVal
136 finally: 136 finally:
137 cryptlib_py.cryptDestroyCert(c) 137 cryptlib_py.cryptDestroyCert(c)
138 138
139 def writeBytes(self): 139 def writeBytes(self):
140 return self.bytes 140 return self.bytes
141 141
142 142
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/verifierdb.py ('k') | third_party/tlslite/tlslite/x509certchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698