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

Side by Side Diff: third_party/tlslite/tlslite/integration/integrationhelper.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
OLDNEW
1 1
2 class IntegrationHelper: 2 class IntegrationHelper:
3 3
4 def __init__(self, 4 def __init__(self,
5 username=None, password=None, sharedKey=None, 5 username=None, password=None, sharedKey=None,
6 certChain=None, privateKey=None, 6 certChain=None, privateKey=None,
7 cryptoID=None, protocol=None, 7 cryptoID=None, protocol=None,
8 x509Fingerprint=None, 8 x509Fingerprint=None,
9 x509TrustList=None, x509CommonName=None, 9 x509TrustList=None, x509CommonName=None,
10 settings = None): 10 settings = None):
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 raise ValueError("Bad parameters") 43 raise ValueError("Bad parameters")
44 44
45 #Authenticate the server based on its cryptoID or fingerprint 45 #Authenticate the server based on its cryptoID or fingerprint
46 if sharedKey and (cryptoID or protocol or x509Fingerprint): 46 if sharedKey and (cryptoID or protocol or x509Fingerprint):
47 raise ValueError("Can't use shared keys with other forms of"\ 47 raise ValueError("Can't use shared keys with other forms of"\
48 "authentication") 48 "authentication")
49 49
50 self.checker = Checker(cryptoID, protocol, x509Fingerprint, 50 self.checker = Checker(cryptoID, protocol, x509Fingerprint,
51 x509TrustList, x509CommonName) 51 x509TrustList, x509CommonName)
52 self.settings = settings 52 self.settings = settings
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/integration/imap4_tls.py ('k') | third_party/tlslite/tlslite/integration/pop3_tls.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698