com.googler.python 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -2
- package/python3.4.2/lib/python3.4/site-packages/pip/__init__.py +1 -277
- package/python3.4.2/lib/python3.4/site-packages/pip/__main__.py +19 -7
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/__init__.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/basecommand.py +373 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/{baseparser.py → _internal/baseparser.py} +240 -224
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/build_env.py +92 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/cache.py +202 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/cmdoptions.py +609 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/__init__.py +79 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/check.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/completion.py +94 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/configuration.py +227 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/download.py +233 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/freeze.py +96 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/hash.py +57 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/{commands → _internal/commands}/help.py +36 -33
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/install.py +477 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/list.py +343 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/search.py +135 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/show.py +164 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/uninstall.py +71 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/commands/wheel.py +179 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/compat.py +235 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/configuration.py +378 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/download.py +922 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/exceptions.py +249 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/index.py +1117 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/locations.py +194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/models/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/models/index.py +15 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/{_vendor/requests/packages/urllib3/contrib → _internal/operations}/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/operations/check.py +106 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/operations/freeze.py +252 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/operations/prepare.py +378 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/pep425tags.py +317 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/req/__init__.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/req/req_file.py +338 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/req/req_install.py +1115 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/req/req_set.py +164 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/req/req_uninstall.py +455 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/resolve.py +354 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/{status_codes.py → _internal/status_codes.py} +8 -6
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/appdirs.py +258 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/deprecation.py +77 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/encoding.py +33 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/filesystem.py +28 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/glibc.py +84 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/hashes.py +94 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/logging.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/misc.py +851 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/outdated.py +163 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/packaging.py +70 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/setuptools_build.py +8 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/temp_dir.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/typing.py +29 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/utils/ui.py +421 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/vcs/__init__.py +471 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/vcs/bazaar.py +113 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/vcs/git.py +311 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/vcs/mercurial.py +105 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/vcs/subversion.py +271 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_internal/wheel.py +817 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/__init__.py +109 -8
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/appdirs.py +604 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/__init__.py +11 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/_cmd.py +60 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/adapter.py +134 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/cache.py +39 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +2 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +133 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +43 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/compat.py +29 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/controller.py +373 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/filewrapper.py +78 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/heuristics.py +138 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/serialize.py +194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/cachecontrol/wrapper.py +27 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/certifi/__init__.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/certifi/__main__.py +2 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests → certifi}/cacert.pem +1765 -2358
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/certifi/core.py +37 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/__init__.py +39 -32
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/big5freq.py +386 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/big5prober.py +47 -42
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/chardistribution.py +233 -231
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/charsetgroupprober.py +106 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/charsetprober.py +145 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/cli/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/cli/chardetect.py +85 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/codingstatemachine.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/compat.py +34 -34
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/cp949prober.py +49 -44
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/enums.py +76 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/escprober.py +101 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/escsm.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/eucjpprober.py +92 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/euckrfreq.py +195 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/euckrprober.py +47 -42
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/euctwfreq.py +387 -428
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/euctwprober.py +46 -41
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/gb2312freq.py +283 -472
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/gb2312prober.py +46 -41
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/hebrewprober.py +292 -283
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/jisfreq.py +325 -569
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/jpcntx.py +233 -219
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langbulgarianmodel.py +228 -229
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langcyrillicmodel.py +333 -329
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langgreekmodel.py +225 -225
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langhebrewmodel.py +200 -201
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langhungarianmodel.py +225 -225
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/langthaimodel.py +199 -200
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/langturkishmodel.py +193 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/latin1prober.py +145 -139
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/mbcharsetprober.py +91 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/mbcsgroupprober.py +54 -54
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/mbcssm.py +572 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/sbcharsetprober.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/sbcsgroupprober.py +73 -69
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/sjisprober.py +92 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/universaldetector.py +286 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/chardet → chardet}/utf8prober.py +82 -76
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/chardet/version.py +9 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/__init__.py +7 -7
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansi.py +102 -50
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansitowin32.py +236 -190
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/initialise.py +82 -56
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/win32.py +156 -137
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/winterm.py +162 -120
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/__init__.py +23 -23
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -6
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -41
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/shutil.py +761 -761
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -84
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +788 -788
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -2607
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/compat.py +1117 -1064
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/database.py +1318 -1301
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/index.py +516 -488
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/locators.py +1292 -1194
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/manifest.py +393 -364
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/markers.py +131 -190
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/metadata.py +1068 -1026
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/resources.py +355 -317
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/scripts.py +415 -323
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/util.py +1755 -1575
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/version.py +736 -721
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/wheel.py +984 -958
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distro.py +1104 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/__init__.py +35 -23
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{ihatexml.py → _ihatexml.py} +288 -285
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{inputstream.py → _inputstream.py} +923 -881
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{tokenizer.py → _tokenizer.py} +1721 -1731
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{trie → _trie}/__init__.py +14 -12
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{trie → _trie}/_base.py +37 -37
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{trie → _trie}/datrie.py +44 -44
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{trie → _trie}/py.py +67 -67
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/{utils.py → _utils.py} +124 -82
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/constants.py +2947 -3104
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +29 -20
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/{_base.py → base.py} +12 -12
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +73 -65
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -93
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +207 -205
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +896 -12
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -38
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/html5parser.py +2791 -2713
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer.py +409 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +30 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/genshi.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +50 -44
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +88 -76
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/{_base.py → base.py} +417 -377
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +236 -227
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +340 -337
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +366 -369
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +154 -57
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/{_base.py → base.py} +252 -200
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +43 -46
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +130 -138
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/{lxmletree.py → etree_lxml.py} +213 -208
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/{genshistream.py → genshi.py} +69 -69
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/__init__.py +2 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/codec.py +118 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/compat.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/core.py +387 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/idnadata.py +1585 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/intranges.py +53 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/package_data.py +2 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/idna/uts46data.py +7634 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/ipaddress.py +2419 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/__init__.py +347 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/linklockfile.py +73 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/mkdirlockfile.py +84 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/pidlockfile.py +190 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/sqlitelockfile.py +156 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/lockfile/symlinklockfile.py +70 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/msgpack/__init__.py +66 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/msgpack/_version.py +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/msgpack/exceptions.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/msgpack/fallback.py +971 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/__about__.py +21 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/__init__.py +14 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/_compat.py +30 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/_structures.py +70 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/markers.py +301 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/requirements.py +130 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/specifiers.py +774 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/utils.py +63 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/packaging/version.py +441 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{pkg_resources.py → pkg_resources/__init__.py} +3125 -2762
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pkg_resources/py31compat.py +22 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/progress/__init__.py +127 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/progress/bar.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/progress/counter.py +48 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/progress/helpers.py +91 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/progress/spinner.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pyparsing.py +5720 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pytoml/__init__.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pytoml/core.py +13 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pytoml/parser.py +374 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pytoml/writer.py +127 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__init__.py +123 -77
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__version__.py +14 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/_internal_utils.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/adapters.py +525 -388
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/api.py +152 -120
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/auth.py +293 -193
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/certs.py +18 -24
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/compat.py +73 -115
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cookies.py +542 -454
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/exceptions.py +122 -75
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/help.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/hooks.py +34 -45
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/models.py +948 -803
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py +737 -637
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/status_codes.py +91 -88
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/structures.py +105 -127
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/utils.py +904 -673
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/retrying.py +267 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/six.py +891 -646
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/__init__.py +97 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/_collections.py +319 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/connection.py +373 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/connectionpool.py +905 -710
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/_securetransport/bindings.py +593 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/_securetransport/low_level.py +343 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/appengine.py +296 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/contrib/ntlmpool.py +112 -120
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/pyopenssl.py +455 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/securetransport.py +810 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/contrib/socks.py +188 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/exceptions.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/fields.py +178 -177
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/filepost.py +94 -100
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/packages/__init__.py +5 -4
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/packages/backports/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/packages/backports/makefile.py +53 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/packages/ordered_dict.py +259 -260
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/packages/six.py +868 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/packages/ssl_match_hostname/__init__.py +19 -13
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/packages/ssl_match_hostname/_implementation.py +157 -105
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/poolmanager.py +440 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/request.py +148 -141
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/response.py +626 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/__init__.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/connection.py +130 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/request.py +118 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/response.py +81 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/retry.py +401 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/selectors.py +581 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/ssl_.py +341 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/util/timeout.py +242 -234
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/{requests/packages/urllib3 → urllib3}/util/url.py +230 -162
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/urllib3/util/wait.py +40 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/webencodings/__init__.py +342 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/webencodings/labels.py +231 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/webencodings/mklabels.py +59 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/webencodings/tests.py +153 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/webencodings/x_user_defined.py +325 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/__init__.py +0 -16
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/markers.py +0 -119
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/sanitizer.py +0 -271
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/__init__.py +0 -16
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/htmlserializer.py +0 -320
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/pulldom.py +0 -63
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/re-vendor.py +0 -34
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/__init__.py +0 -3
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5freq.py +0 -925
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardetect.py +0 -46
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetgroupprober.py +0 -106
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetprober.py +0 -62
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/codingstatemachine.py +0 -61
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/constants.py +0 -39
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escprober.py +0 -86
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escsm.py +0 -242
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/eucjpprober.py +0 -90
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py +0 -596
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcharsetprober.py +0 -86
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcssm.py +0 -575
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcharsetprober.py +0 -120
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sjisprober.py +0 -91
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/universaldetector.py +0 -170
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py +0 -58
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/_collections.py +0 -205
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connection.py +0 -204
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py +0 -422
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/exceptions.py +0 -126
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py +0 -385
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/poolmanager.py +0 -258
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/response.py +0 -308
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py +0 -27
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py +0 -45
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/request.py +0 -68
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/response.py +0 -13
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py +0 -133
- package/python3.4.2/lib/python3.4/site-packages/pip/backwardcompat/__init__.py +0 -138
- package/python3.4.2/lib/python3.4/site-packages/pip/basecommand.py +0 -201
- package/python3.4.2/lib/python3.4/site-packages/pip/cmdoptions.py +0 -371
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/__init__.py +0 -88
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/bundle.py +0 -42
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/completion.py +0 -59
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/freeze.py +0 -114
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/install.py +0 -314
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/list.py +0 -162
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/search.py +0 -132
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/show.py +0 -80
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/uninstall.py +0 -59
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/unzip.py +0 -7
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/wheel.py +0 -195
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/zip.py +0 -351
- package/python3.4.2/lib/python3.4/site-packages/pip/download.py +0 -644
- package/python3.4.2/lib/python3.4/site-packages/pip/exceptions.py +0 -46
- package/python3.4.2/lib/python3.4/site-packages/pip/index.py +0 -990
- package/python3.4.2/lib/python3.4/site-packages/pip/locations.py +0 -171
- package/python3.4.2/lib/python3.4/site-packages/pip/log.py +0 -276
- package/python3.4.2/lib/python3.4/site-packages/pip/pep425tags.py +0 -102
- package/python3.4.2/lib/python3.4/site-packages/pip/req.py +0 -1931
- package/python3.4.2/lib/python3.4/site-packages/pip/runner.py +0 -18
- package/python3.4.2/lib/python3.4/site-packages/pip/util.py +0 -720
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/__init__.py +0 -251
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/bazaar.py +0 -131
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/git.py +0 -194
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/mercurial.py +0 -151
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/subversion.py +0 -273
- package/python3.4.2/lib/python3.4/site-packages/pip/wheel.py +0 -560
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,593 @@
|
|
|
1
|
+
"""
|
|
2
|
+
This module uses ctypes to bind a whole bunch of functions and constants from
|
|
3
|
+
SecureTransport. The goal here is to provide the low-level API to
|
|
4
|
+
SecureTransport. These are essentially the C-level functions and constants, and
|
|
5
|
+
they're pretty gross to work with.
|
|
6
|
+
|
|
7
|
+
This code is a bastardised version of the code found in Will Bond's oscrypto
|
|
8
|
+
library. An enormous debt is owed to him for blazing this trail for us. For
|
|
9
|
+
that reason, this code should be considered to be covered both by urllib3's
|
|
10
|
+
license and by oscrypto's:
|
|
11
|
+
|
|
12
|
+
Copyright (c) 2015-2016 Will Bond <will@wbond.net>
|
|
13
|
+
|
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
15
|
+
copy of this software and associated documentation files (the "Software"),
|
|
16
|
+
to deal in the Software without restriction, including without limitation
|
|
17
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
18
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
19
|
+
Software is furnished to do so, subject to the following conditions:
|
|
20
|
+
|
|
21
|
+
The above copyright notice and this permission notice shall be included in
|
|
22
|
+
all copies or substantial portions of the Software.
|
|
23
|
+
|
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
26
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
27
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
28
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
29
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
30
|
+
DEALINGS IN THE SOFTWARE.
|
|
31
|
+
"""
|
|
32
|
+
from __future__ import absolute_import
|
|
33
|
+
|
|
34
|
+
import platform
|
|
35
|
+
from ctypes.util import find_library
|
|
36
|
+
from ctypes import (
|
|
37
|
+
c_void_p, c_int32, c_char_p, c_size_t, c_byte, c_uint32, c_ulong, c_long,
|
|
38
|
+
c_bool
|
|
39
|
+
)
|
|
40
|
+
from ctypes import CDLL, POINTER, CFUNCTYPE
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
security_path = find_library('Security')
|
|
44
|
+
if not security_path:
|
|
45
|
+
raise ImportError('The library Security could not be found')
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
core_foundation_path = find_library('CoreFoundation')
|
|
49
|
+
if not core_foundation_path:
|
|
50
|
+
raise ImportError('The library CoreFoundation could not be found')
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
version = platform.mac_ver()[0]
|
|
54
|
+
version_info = tuple(map(int, version.split('.')))
|
|
55
|
+
if version_info < (10, 8):
|
|
56
|
+
raise OSError(
|
|
57
|
+
'Only OS X 10.8 and newer are supported, not %s.%s' % (
|
|
58
|
+
version_info[0], version_info[1]
|
|
59
|
+
)
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
Security = CDLL(security_path, use_errno=True)
|
|
63
|
+
CoreFoundation = CDLL(core_foundation_path, use_errno=True)
|
|
64
|
+
|
|
65
|
+
Boolean = c_bool
|
|
66
|
+
CFIndex = c_long
|
|
67
|
+
CFStringEncoding = c_uint32
|
|
68
|
+
CFData = c_void_p
|
|
69
|
+
CFString = c_void_p
|
|
70
|
+
CFArray = c_void_p
|
|
71
|
+
CFMutableArray = c_void_p
|
|
72
|
+
CFDictionary = c_void_p
|
|
73
|
+
CFError = c_void_p
|
|
74
|
+
CFType = c_void_p
|
|
75
|
+
CFTypeID = c_ulong
|
|
76
|
+
|
|
77
|
+
CFTypeRef = POINTER(CFType)
|
|
78
|
+
CFAllocatorRef = c_void_p
|
|
79
|
+
|
|
80
|
+
OSStatus = c_int32
|
|
81
|
+
|
|
82
|
+
CFDataRef = POINTER(CFData)
|
|
83
|
+
CFStringRef = POINTER(CFString)
|
|
84
|
+
CFArrayRef = POINTER(CFArray)
|
|
85
|
+
CFMutableArrayRef = POINTER(CFMutableArray)
|
|
86
|
+
CFDictionaryRef = POINTER(CFDictionary)
|
|
87
|
+
CFArrayCallBacks = c_void_p
|
|
88
|
+
CFDictionaryKeyCallBacks = c_void_p
|
|
89
|
+
CFDictionaryValueCallBacks = c_void_p
|
|
90
|
+
|
|
91
|
+
SecCertificateRef = POINTER(c_void_p)
|
|
92
|
+
SecExternalFormat = c_uint32
|
|
93
|
+
SecExternalItemType = c_uint32
|
|
94
|
+
SecIdentityRef = POINTER(c_void_p)
|
|
95
|
+
SecItemImportExportFlags = c_uint32
|
|
96
|
+
SecItemImportExportKeyParameters = c_void_p
|
|
97
|
+
SecKeychainRef = POINTER(c_void_p)
|
|
98
|
+
SSLProtocol = c_uint32
|
|
99
|
+
SSLCipherSuite = c_uint32
|
|
100
|
+
SSLContextRef = POINTER(c_void_p)
|
|
101
|
+
SecTrustRef = POINTER(c_void_p)
|
|
102
|
+
SSLConnectionRef = c_uint32
|
|
103
|
+
SecTrustResultType = c_uint32
|
|
104
|
+
SecTrustOptionFlags = c_uint32
|
|
105
|
+
SSLProtocolSide = c_uint32
|
|
106
|
+
SSLConnectionType = c_uint32
|
|
107
|
+
SSLSessionOption = c_uint32
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
try:
|
|
111
|
+
Security.SecItemImport.argtypes = [
|
|
112
|
+
CFDataRef,
|
|
113
|
+
CFStringRef,
|
|
114
|
+
POINTER(SecExternalFormat),
|
|
115
|
+
POINTER(SecExternalItemType),
|
|
116
|
+
SecItemImportExportFlags,
|
|
117
|
+
POINTER(SecItemImportExportKeyParameters),
|
|
118
|
+
SecKeychainRef,
|
|
119
|
+
POINTER(CFArrayRef),
|
|
120
|
+
]
|
|
121
|
+
Security.SecItemImport.restype = OSStatus
|
|
122
|
+
|
|
123
|
+
Security.SecCertificateGetTypeID.argtypes = []
|
|
124
|
+
Security.SecCertificateGetTypeID.restype = CFTypeID
|
|
125
|
+
|
|
126
|
+
Security.SecIdentityGetTypeID.argtypes = []
|
|
127
|
+
Security.SecIdentityGetTypeID.restype = CFTypeID
|
|
128
|
+
|
|
129
|
+
Security.SecKeyGetTypeID.argtypes = []
|
|
130
|
+
Security.SecKeyGetTypeID.restype = CFTypeID
|
|
131
|
+
|
|
132
|
+
Security.SecCertificateCreateWithData.argtypes = [
|
|
133
|
+
CFAllocatorRef,
|
|
134
|
+
CFDataRef
|
|
135
|
+
]
|
|
136
|
+
Security.SecCertificateCreateWithData.restype = SecCertificateRef
|
|
137
|
+
|
|
138
|
+
Security.SecCertificateCopyData.argtypes = [
|
|
139
|
+
SecCertificateRef
|
|
140
|
+
]
|
|
141
|
+
Security.SecCertificateCopyData.restype = CFDataRef
|
|
142
|
+
|
|
143
|
+
Security.SecCopyErrorMessageString.argtypes = [
|
|
144
|
+
OSStatus,
|
|
145
|
+
c_void_p
|
|
146
|
+
]
|
|
147
|
+
Security.SecCopyErrorMessageString.restype = CFStringRef
|
|
148
|
+
|
|
149
|
+
Security.SecIdentityCreateWithCertificate.argtypes = [
|
|
150
|
+
CFTypeRef,
|
|
151
|
+
SecCertificateRef,
|
|
152
|
+
POINTER(SecIdentityRef)
|
|
153
|
+
]
|
|
154
|
+
Security.SecIdentityCreateWithCertificate.restype = OSStatus
|
|
155
|
+
|
|
156
|
+
Security.SecKeychainCreate.argtypes = [
|
|
157
|
+
c_char_p,
|
|
158
|
+
c_uint32,
|
|
159
|
+
c_void_p,
|
|
160
|
+
Boolean,
|
|
161
|
+
c_void_p,
|
|
162
|
+
POINTER(SecKeychainRef)
|
|
163
|
+
]
|
|
164
|
+
Security.SecKeychainCreate.restype = OSStatus
|
|
165
|
+
|
|
166
|
+
Security.SecKeychainDelete.argtypes = [
|
|
167
|
+
SecKeychainRef
|
|
168
|
+
]
|
|
169
|
+
Security.SecKeychainDelete.restype = OSStatus
|
|
170
|
+
|
|
171
|
+
Security.SecPKCS12Import.argtypes = [
|
|
172
|
+
CFDataRef,
|
|
173
|
+
CFDictionaryRef,
|
|
174
|
+
POINTER(CFArrayRef)
|
|
175
|
+
]
|
|
176
|
+
Security.SecPKCS12Import.restype = OSStatus
|
|
177
|
+
|
|
178
|
+
SSLReadFunc = CFUNCTYPE(OSStatus, SSLConnectionRef, c_void_p, POINTER(c_size_t))
|
|
179
|
+
SSLWriteFunc = CFUNCTYPE(OSStatus, SSLConnectionRef, POINTER(c_byte), POINTER(c_size_t))
|
|
180
|
+
|
|
181
|
+
Security.SSLSetIOFuncs.argtypes = [
|
|
182
|
+
SSLContextRef,
|
|
183
|
+
SSLReadFunc,
|
|
184
|
+
SSLWriteFunc
|
|
185
|
+
]
|
|
186
|
+
Security.SSLSetIOFuncs.restype = OSStatus
|
|
187
|
+
|
|
188
|
+
Security.SSLSetPeerID.argtypes = [
|
|
189
|
+
SSLContextRef,
|
|
190
|
+
c_char_p,
|
|
191
|
+
c_size_t
|
|
192
|
+
]
|
|
193
|
+
Security.SSLSetPeerID.restype = OSStatus
|
|
194
|
+
|
|
195
|
+
Security.SSLSetCertificate.argtypes = [
|
|
196
|
+
SSLContextRef,
|
|
197
|
+
CFArrayRef
|
|
198
|
+
]
|
|
199
|
+
Security.SSLSetCertificate.restype = OSStatus
|
|
200
|
+
|
|
201
|
+
Security.SSLSetCertificateAuthorities.argtypes = [
|
|
202
|
+
SSLContextRef,
|
|
203
|
+
CFTypeRef,
|
|
204
|
+
Boolean
|
|
205
|
+
]
|
|
206
|
+
Security.SSLSetCertificateAuthorities.restype = OSStatus
|
|
207
|
+
|
|
208
|
+
Security.SSLSetConnection.argtypes = [
|
|
209
|
+
SSLContextRef,
|
|
210
|
+
SSLConnectionRef
|
|
211
|
+
]
|
|
212
|
+
Security.SSLSetConnection.restype = OSStatus
|
|
213
|
+
|
|
214
|
+
Security.SSLSetPeerDomainName.argtypes = [
|
|
215
|
+
SSLContextRef,
|
|
216
|
+
c_char_p,
|
|
217
|
+
c_size_t
|
|
218
|
+
]
|
|
219
|
+
Security.SSLSetPeerDomainName.restype = OSStatus
|
|
220
|
+
|
|
221
|
+
Security.SSLHandshake.argtypes = [
|
|
222
|
+
SSLContextRef
|
|
223
|
+
]
|
|
224
|
+
Security.SSLHandshake.restype = OSStatus
|
|
225
|
+
|
|
226
|
+
Security.SSLRead.argtypes = [
|
|
227
|
+
SSLContextRef,
|
|
228
|
+
c_char_p,
|
|
229
|
+
c_size_t,
|
|
230
|
+
POINTER(c_size_t)
|
|
231
|
+
]
|
|
232
|
+
Security.SSLRead.restype = OSStatus
|
|
233
|
+
|
|
234
|
+
Security.SSLWrite.argtypes = [
|
|
235
|
+
SSLContextRef,
|
|
236
|
+
c_char_p,
|
|
237
|
+
c_size_t,
|
|
238
|
+
POINTER(c_size_t)
|
|
239
|
+
]
|
|
240
|
+
Security.SSLWrite.restype = OSStatus
|
|
241
|
+
|
|
242
|
+
Security.SSLClose.argtypes = [
|
|
243
|
+
SSLContextRef
|
|
244
|
+
]
|
|
245
|
+
Security.SSLClose.restype = OSStatus
|
|
246
|
+
|
|
247
|
+
Security.SSLGetNumberSupportedCiphers.argtypes = [
|
|
248
|
+
SSLContextRef,
|
|
249
|
+
POINTER(c_size_t)
|
|
250
|
+
]
|
|
251
|
+
Security.SSLGetNumberSupportedCiphers.restype = OSStatus
|
|
252
|
+
|
|
253
|
+
Security.SSLGetSupportedCiphers.argtypes = [
|
|
254
|
+
SSLContextRef,
|
|
255
|
+
POINTER(SSLCipherSuite),
|
|
256
|
+
POINTER(c_size_t)
|
|
257
|
+
]
|
|
258
|
+
Security.SSLGetSupportedCiphers.restype = OSStatus
|
|
259
|
+
|
|
260
|
+
Security.SSLSetEnabledCiphers.argtypes = [
|
|
261
|
+
SSLContextRef,
|
|
262
|
+
POINTER(SSLCipherSuite),
|
|
263
|
+
c_size_t
|
|
264
|
+
]
|
|
265
|
+
Security.SSLSetEnabledCiphers.restype = OSStatus
|
|
266
|
+
|
|
267
|
+
Security.SSLGetNumberEnabledCiphers.argtype = [
|
|
268
|
+
SSLContextRef,
|
|
269
|
+
POINTER(c_size_t)
|
|
270
|
+
]
|
|
271
|
+
Security.SSLGetNumberEnabledCiphers.restype = OSStatus
|
|
272
|
+
|
|
273
|
+
Security.SSLGetEnabledCiphers.argtypes = [
|
|
274
|
+
SSLContextRef,
|
|
275
|
+
POINTER(SSLCipherSuite),
|
|
276
|
+
POINTER(c_size_t)
|
|
277
|
+
]
|
|
278
|
+
Security.SSLGetEnabledCiphers.restype = OSStatus
|
|
279
|
+
|
|
280
|
+
Security.SSLGetNegotiatedCipher.argtypes = [
|
|
281
|
+
SSLContextRef,
|
|
282
|
+
POINTER(SSLCipherSuite)
|
|
283
|
+
]
|
|
284
|
+
Security.SSLGetNegotiatedCipher.restype = OSStatus
|
|
285
|
+
|
|
286
|
+
Security.SSLGetNegotiatedProtocolVersion.argtypes = [
|
|
287
|
+
SSLContextRef,
|
|
288
|
+
POINTER(SSLProtocol)
|
|
289
|
+
]
|
|
290
|
+
Security.SSLGetNegotiatedProtocolVersion.restype = OSStatus
|
|
291
|
+
|
|
292
|
+
Security.SSLCopyPeerTrust.argtypes = [
|
|
293
|
+
SSLContextRef,
|
|
294
|
+
POINTER(SecTrustRef)
|
|
295
|
+
]
|
|
296
|
+
Security.SSLCopyPeerTrust.restype = OSStatus
|
|
297
|
+
|
|
298
|
+
Security.SecTrustSetAnchorCertificates.argtypes = [
|
|
299
|
+
SecTrustRef,
|
|
300
|
+
CFArrayRef
|
|
301
|
+
]
|
|
302
|
+
Security.SecTrustSetAnchorCertificates.restype = OSStatus
|
|
303
|
+
|
|
304
|
+
Security.SecTrustSetAnchorCertificatesOnly.argstypes = [
|
|
305
|
+
SecTrustRef,
|
|
306
|
+
Boolean
|
|
307
|
+
]
|
|
308
|
+
Security.SecTrustSetAnchorCertificatesOnly.restype = OSStatus
|
|
309
|
+
|
|
310
|
+
Security.SecTrustEvaluate.argtypes = [
|
|
311
|
+
SecTrustRef,
|
|
312
|
+
POINTER(SecTrustResultType)
|
|
313
|
+
]
|
|
314
|
+
Security.SecTrustEvaluate.restype = OSStatus
|
|
315
|
+
|
|
316
|
+
Security.SecTrustGetCertificateCount.argtypes = [
|
|
317
|
+
SecTrustRef
|
|
318
|
+
]
|
|
319
|
+
Security.SecTrustGetCertificateCount.restype = CFIndex
|
|
320
|
+
|
|
321
|
+
Security.SecTrustGetCertificateAtIndex.argtypes = [
|
|
322
|
+
SecTrustRef,
|
|
323
|
+
CFIndex
|
|
324
|
+
]
|
|
325
|
+
Security.SecTrustGetCertificateAtIndex.restype = SecCertificateRef
|
|
326
|
+
|
|
327
|
+
Security.SSLCreateContext.argtypes = [
|
|
328
|
+
CFAllocatorRef,
|
|
329
|
+
SSLProtocolSide,
|
|
330
|
+
SSLConnectionType
|
|
331
|
+
]
|
|
332
|
+
Security.SSLCreateContext.restype = SSLContextRef
|
|
333
|
+
|
|
334
|
+
Security.SSLSetSessionOption.argtypes = [
|
|
335
|
+
SSLContextRef,
|
|
336
|
+
SSLSessionOption,
|
|
337
|
+
Boolean
|
|
338
|
+
]
|
|
339
|
+
Security.SSLSetSessionOption.restype = OSStatus
|
|
340
|
+
|
|
341
|
+
Security.SSLSetProtocolVersionMin.argtypes = [
|
|
342
|
+
SSLContextRef,
|
|
343
|
+
SSLProtocol
|
|
344
|
+
]
|
|
345
|
+
Security.SSLSetProtocolVersionMin.restype = OSStatus
|
|
346
|
+
|
|
347
|
+
Security.SSLSetProtocolVersionMax.argtypes = [
|
|
348
|
+
SSLContextRef,
|
|
349
|
+
SSLProtocol
|
|
350
|
+
]
|
|
351
|
+
Security.SSLSetProtocolVersionMax.restype = OSStatus
|
|
352
|
+
|
|
353
|
+
Security.SecCopyErrorMessageString.argtypes = [
|
|
354
|
+
OSStatus,
|
|
355
|
+
c_void_p
|
|
356
|
+
]
|
|
357
|
+
Security.SecCopyErrorMessageString.restype = CFStringRef
|
|
358
|
+
|
|
359
|
+
Security.SSLReadFunc = SSLReadFunc
|
|
360
|
+
Security.SSLWriteFunc = SSLWriteFunc
|
|
361
|
+
Security.SSLContextRef = SSLContextRef
|
|
362
|
+
Security.SSLProtocol = SSLProtocol
|
|
363
|
+
Security.SSLCipherSuite = SSLCipherSuite
|
|
364
|
+
Security.SecIdentityRef = SecIdentityRef
|
|
365
|
+
Security.SecKeychainRef = SecKeychainRef
|
|
366
|
+
Security.SecTrustRef = SecTrustRef
|
|
367
|
+
Security.SecTrustResultType = SecTrustResultType
|
|
368
|
+
Security.SecExternalFormat = SecExternalFormat
|
|
369
|
+
Security.OSStatus = OSStatus
|
|
370
|
+
|
|
371
|
+
Security.kSecImportExportPassphrase = CFStringRef.in_dll(
|
|
372
|
+
Security, 'kSecImportExportPassphrase'
|
|
373
|
+
)
|
|
374
|
+
Security.kSecImportItemIdentity = CFStringRef.in_dll(
|
|
375
|
+
Security, 'kSecImportItemIdentity'
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
# CoreFoundation time!
|
|
379
|
+
CoreFoundation.CFRetain.argtypes = [
|
|
380
|
+
CFTypeRef
|
|
381
|
+
]
|
|
382
|
+
CoreFoundation.CFRetain.restype = CFTypeRef
|
|
383
|
+
|
|
384
|
+
CoreFoundation.CFRelease.argtypes = [
|
|
385
|
+
CFTypeRef
|
|
386
|
+
]
|
|
387
|
+
CoreFoundation.CFRelease.restype = None
|
|
388
|
+
|
|
389
|
+
CoreFoundation.CFGetTypeID.argtypes = [
|
|
390
|
+
CFTypeRef
|
|
391
|
+
]
|
|
392
|
+
CoreFoundation.CFGetTypeID.restype = CFTypeID
|
|
393
|
+
|
|
394
|
+
CoreFoundation.CFStringCreateWithCString.argtypes = [
|
|
395
|
+
CFAllocatorRef,
|
|
396
|
+
c_char_p,
|
|
397
|
+
CFStringEncoding
|
|
398
|
+
]
|
|
399
|
+
CoreFoundation.CFStringCreateWithCString.restype = CFStringRef
|
|
400
|
+
|
|
401
|
+
CoreFoundation.CFStringGetCStringPtr.argtypes = [
|
|
402
|
+
CFStringRef,
|
|
403
|
+
CFStringEncoding
|
|
404
|
+
]
|
|
405
|
+
CoreFoundation.CFStringGetCStringPtr.restype = c_char_p
|
|
406
|
+
|
|
407
|
+
CoreFoundation.CFStringGetCString.argtypes = [
|
|
408
|
+
CFStringRef,
|
|
409
|
+
c_char_p,
|
|
410
|
+
CFIndex,
|
|
411
|
+
CFStringEncoding
|
|
412
|
+
]
|
|
413
|
+
CoreFoundation.CFStringGetCString.restype = c_bool
|
|
414
|
+
|
|
415
|
+
CoreFoundation.CFDataCreate.argtypes = [
|
|
416
|
+
CFAllocatorRef,
|
|
417
|
+
c_char_p,
|
|
418
|
+
CFIndex
|
|
419
|
+
]
|
|
420
|
+
CoreFoundation.CFDataCreate.restype = CFDataRef
|
|
421
|
+
|
|
422
|
+
CoreFoundation.CFDataGetLength.argtypes = [
|
|
423
|
+
CFDataRef
|
|
424
|
+
]
|
|
425
|
+
CoreFoundation.CFDataGetLength.restype = CFIndex
|
|
426
|
+
|
|
427
|
+
CoreFoundation.CFDataGetBytePtr.argtypes = [
|
|
428
|
+
CFDataRef
|
|
429
|
+
]
|
|
430
|
+
CoreFoundation.CFDataGetBytePtr.restype = c_void_p
|
|
431
|
+
|
|
432
|
+
CoreFoundation.CFDictionaryCreate.argtypes = [
|
|
433
|
+
CFAllocatorRef,
|
|
434
|
+
POINTER(CFTypeRef),
|
|
435
|
+
POINTER(CFTypeRef),
|
|
436
|
+
CFIndex,
|
|
437
|
+
CFDictionaryKeyCallBacks,
|
|
438
|
+
CFDictionaryValueCallBacks
|
|
439
|
+
]
|
|
440
|
+
CoreFoundation.CFDictionaryCreate.restype = CFDictionaryRef
|
|
441
|
+
|
|
442
|
+
CoreFoundation.CFDictionaryGetValue.argtypes = [
|
|
443
|
+
CFDictionaryRef,
|
|
444
|
+
CFTypeRef
|
|
445
|
+
]
|
|
446
|
+
CoreFoundation.CFDictionaryGetValue.restype = CFTypeRef
|
|
447
|
+
|
|
448
|
+
CoreFoundation.CFArrayCreate.argtypes = [
|
|
449
|
+
CFAllocatorRef,
|
|
450
|
+
POINTER(CFTypeRef),
|
|
451
|
+
CFIndex,
|
|
452
|
+
CFArrayCallBacks,
|
|
453
|
+
]
|
|
454
|
+
CoreFoundation.CFArrayCreate.restype = CFArrayRef
|
|
455
|
+
|
|
456
|
+
CoreFoundation.CFArrayCreateMutable.argtypes = [
|
|
457
|
+
CFAllocatorRef,
|
|
458
|
+
CFIndex,
|
|
459
|
+
CFArrayCallBacks
|
|
460
|
+
]
|
|
461
|
+
CoreFoundation.CFArrayCreateMutable.restype = CFMutableArrayRef
|
|
462
|
+
|
|
463
|
+
CoreFoundation.CFArrayAppendValue.argtypes = [
|
|
464
|
+
CFMutableArrayRef,
|
|
465
|
+
c_void_p
|
|
466
|
+
]
|
|
467
|
+
CoreFoundation.CFArrayAppendValue.restype = None
|
|
468
|
+
|
|
469
|
+
CoreFoundation.CFArrayGetCount.argtypes = [
|
|
470
|
+
CFArrayRef
|
|
471
|
+
]
|
|
472
|
+
CoreFoundation.CFArrayGetCount.restype = CFIndex
|
|
473
|
+
|
|
474
|
+
CoreFoundation.CFArrayGetValueAtIndex.argtypes = [
|
|
475
|
+
CFArrayRef,
|
|
476
|
+
CFIndex
|
|
477
|
+
]
|
|
478
|
+
CoreFoundation.CFArrayGetValueAtIndex.restype = c_void_p
|
|
479
|
+
|
|
480
|
+
CoreFoundation.kCFAllocatorDefault = CFAllocatorRef.in_dll(
|
|
481
|
+
CoreFoundation, 'kCFAllocatorDefault'
|
|
482
|
+
)
|
|
483
|
+
CoreFoundation.kCFTypeArrayCallBacks = c_void_p.in_dll(CoreFoundation, 'kCFTypeArrayCallBacks')
|
|
484
|
+
CoreFoundation.kCFTypeDictionaryKeyCallBacks = c_void_p.in_dll(
|
|
485
|
+
CoreFoundation, 'kCFTypeDictionaryKeyCallBacks'
|
|
486
|
+
)
|
|
487
|
+
CoreFoundation.kCFTypeDictionaryValueCallBacks = c_void_p.in_dll(
|
|
488
|
+
CoreFoundation, 'kCFTypeDictionaryValueCallBacks'
|
|
489
|
+
)
|
|
490
|
+
|
|
491
|
+
CoreFoundation.CFTypeRef = CFTypeRef
|
|
492
|
+
CoreFoundation.CFArrayRef = CFArrayRef
|
|
493
|
+
CoreFoundation.CFStringRef = CFStringRef
|
|
494
|
+
CoreFoundation.CFDictionaryRef = CFDictionaryRef
|
|
495
|
+
|
|
496
|
+
except (AttributeError):
|
|
497
|
+
raise ImportError('Error initializing ctypes')
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
class CFConst(object):
|
|
501
|
+
"""
|
|
502
|
+
A class object that acts as essentially a namespace for CoreFoundation
|
|
503
|
+
constants.
|
|
504
|
+
"""
|
|
505
|
+
kCFStringEncodingUTF8 = CFStringEncoding(0x08000100)
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
class SecurityConst(object):
|
|
509
|
+
"""
|
|
510
|
+
A class object that acts as essentially a namespace for Security constants.
|
|
511
|
+
"""
|
|
512
|
+
kSSLSessionOptionBreakOnServerAuth = 0
|
|
513
|
+
|
|
514
|
+
kSSLProtocol2 = 1
|
|
515
|
+
kSSLProtocol3 = 2
|
|
516
|
+
kTLSProtocol1 = 4
|
|
517
|
+
kTLSProtocol11 = 7
|
|
518
|
+
kTLSProtocol12 = 8
|
|
519
|
+
|
|
520
|
+
kSSLClientSide = 1
|
|
521
|
+
kSSLStreamType = 0
|
|
522
|
+
|
|
523
|
+
kSecFormatPEMSequence = 10
|
|
524
|
+
|
|
525
|
+
kSecTrustResultInvalid = 0
|
|
526
|
+
kSecTrustResultProceed = 1
|
|
527
|
+
# This gap is present on purpose: this was kSecTrustResultConfirm, which
|
|
528
|
+
# is deprecated.
|
|
529
|
+
kSecTrustResultDeny = 3
|
|
530
|
+
kSecTrustResultUnspecified = 4
|
|
531
|
+
kSecTrustResultRecoverableTrustFailure = 5
|
|
532
|
+
kSecTrustResultFatalTrustFailure = 6
|
|
533
|
+
kSecTrustResultOtherError = 7
|
|
534
|
+
|
|
535
|
+
errSSLProtocol = -9800
|
|
536
|
+
errSSLWouldBlock = -9803
|
|
537
|
+
errSSLClosedGraceful = -9805
|
|
538
|
+
errSSLClosedNoNotify = -9816
|
|
539
|
+
errSSLClosedAbort = -9806
|
|
540
|
+
|
|
541
|
+
errSSLXCertChainInvalid = -9807
|
|
542
|
+
errSSLCrypto = -9809
|
|
543
|
+
errSSLInternal = -9810
|
|
544
|
+
errSSLCertExpired = -9814
|
|
545
|
+
errSSLCertNotYetValid = -9815
|
|
546
|
+
errSSLUnknownRootCert = -9812
|
|
547
|
+
errSSLNoRootCert = -9813
|
|
548
|
+
errSSLHostNameMismatch = -9843
|
|
549
|
+
errSSLPeerHandshakeFail = -9824
|
|
550
|
+
errSSLPeerUserCancelled = -9839
|
|
551
|
+
errSSLWeakPeerEphemeralDHKey = -9850
|
|
552
|
+
errSSLServerAuthCompleted = -9841
|
|
553
|
+
errSSLRecordOverflow = -9847
|
|
554
|
+
|
|
555
|
+
errSecVerifyFailed = -67808
|
|
556
|
+
errSecNoTrustSettings = -25263
|
|
557
|
+
errSecItemNotFound = -25300
|
|
558
|
+
errSecInvalidTrustSettings = -25262
|
|
559
|
+
|
|
560
|
+
# Cipher suites. We only pick the ones our default cipher string allows.
|
|
561
|
+
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = 0xC02C
|
|
562
|
+
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = 0xC030
|
|
563
|
+
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = 0xC02B
|
|
564
|
+
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = 0xC02F
|
|
565
|
+
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = 0x00A3
|
|
566
|
+
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = 0x009F
|
|
567
|
+
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = 0x00A2
|
|
568
|
+
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = 0x009E
|
|
569
|
+
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = 0xC024
|
|
570
|
+
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = 0xC028
|
|
571
|
+
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = 0xC00A
|
|
572
|
+
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = 0xC014
|
|
573
|
+
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = 0x006B
|
|
574
|
+
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = 0x006A
|
|
575
|
+
TLS_DHE_RSA_WITH_AES_256_CBC_SHA = 0x0039
|
|
576
|
+
TLS_DHE_DSS_WITH_AES_256_CBC_SHA = 0x0038
|
|
577
|
+
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = 0xC023
|
|
578
|
+
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = 0xC027
|
|
579
|
+
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = 0xC009
|
|
580
|
+
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = 0xC013
|
|
581
|
+
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = 0x0067
|
|
582
|
+
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = 0x0040
|
|
583
|
+
TLS_DHE_RSA_WITH_AES_128_CBC_SHA = 0x0033
|
|
584
|
+
TLS_DHE_DSS_WITH_AES_128_CBC_SHA = 0x0032
|
|
585
|
+
TLS_RSA_WITH_AES_256_GCM_SHA384 = 0x009D
|
|
586
|
+
TLS_RSA_WITH_AES_128_GCM_SHA256 = 0x009C
|
|
587
|
+
TLS_RSA_WITH_AES_256_CBC_SHA256 = 0x003D
|
|
588
|
+
TLS_RSA_WITH_AES_128_CBC_SHA256 = 0x003C
|
|
589
|
+
TLS_RSA_WITH_AES_256_CBC_SHA = 0x0035
|
|
590
|
+
TLS_RSA_WITH_AES_128_CBC_SHA = 0x002F
|
|
591
|
+
TLS_AES_128_GCM_SHA256 = 0x1301
|
|
592
|
+
TLS_AES_256_GCM_SHA384 = 0x1302
|
|
593
|
+
TLS_CHACHA20_POLY1305_SHA256 = 0x1303
|