gecko-dev/security/manager
David Keeler 1ef3597000 bug 1360623 - add hash algorithm constants to pykey for easier consumer use r=jcj
For signing, pykey.py delegates to 3rd party libraries. One of these libraries
expects hash algorithms to be specified in the form "SHA-256" whereas the other
expects "sha256". Consumers of pykey shouldn't need to be aware of this detail.
This patch introduces constants HASH_SHA1, HASH_SHA256, etc. and changes pykey
to determine which string literals to use itself.

MozReview-Commit-ID: 27laM2uXMwJ

--HG--
extra : rebase_source : 9b74f486f7535671fd26c59e3e9cc3b4459f15e0
2017-04-28 11:06:28 -07:00
..
locales Bug 641120 - Enhance PKCS #11 module load dialog. r=keeler 2017-04-18 22:18:53 +08:00
pki Bug 641120 - Enhance PKCS #11 module load dialog. r=keeler 2017-04-18 22:18:53 +08:00
ssl bug 1360623 - add hash algorithm constants to pykey for easier consumer use r=jcj 2017-04-28 11:06:28 -07:00
tools bug 1356499 - put NCSCCS pins into production mode r=mgoodwin 2017-04-25 14:33:07 -07:00
.eslintrc.js Bug 1354515 - Removed duplicate ESLint rules in security/manager r=standard8 2017-04-22 15:41:34 +05:30
.flake8 Bug 1322914 - Enable flake8 linting for security/manager. r=mgoodwin 2016-12-13 00:25:45 +08:00
android_stub.h Bug 1288644 - Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21. r=glandium 2016-07-22 16:40:21 +09:00
moz.build Bug 1344829 - add BUG_COMPONENT to security/* files. r=keeler 2017-03-09 05:33:30 -05:00