freeipa/ipalib
Rob Crittenden dd69c7dbe6 Make data type of certificates more obvious/predictable internally.
For the most part certificates will be treated as being in DER format.
When we load a certificate we will generally accept it in any format but
will convert it to DER before proceeding in normalize_certificate().

This also re-arranges a bit of code to pull some certificate-specific
functions out of ipalib/plugins/service.py into ipalib/x509.py.

This also tries to use variable names to indicate what format the certificate
is in at any given point:

dercert: DER
cert: PEM
nsscert: a python-nss Certificate object
rawcert: unknown format

ticket 32
2011-06-21 19:09:50 -04:00
..
plugins Make data type of certificates more obvious/predictable internally. 2011-06-21 19:09:50 -04:00
__init__.py Fix translatable strings in ipalib plugins. 2011-03-01 10:31:40 -05:00
aci.py Fix uninitialized attributes. 2011-04-21 10:41:29 +02:00
backend.py Fix lint false positives. 2011-04-13 15:58:45 +02:00
base.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
cli.py Improve interactive mode for DNS plugin 2011-06-02 09:00:35 +02:00
compat.py Fix lint false positives. 2011-04-13 15:58:45 +02:00
config.py Don't perform some API self-tests in production mode for performance reasons 2011-01-28 18:49:17 -05:00
constants.py Add support for tracking and counting entitlements 2011-02-02 10:00:38 -05:00
crud.py Add flags to enforce asking for object attribute 2011-01-26 09:29:39 -05:00
encoder.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
errors.py Raise DuplicateEntry Error when adding a duplicate sudo option 2011-06-16 19:21:07 -04:00
frontend.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
output.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
parameters.py JSON marshalling list 2011-06-10 14:37:54 -04:00
pkcs10.py Fix assorted bugs found by pylint 2011-01-25 14:01:36 -05:00
plugable.py Final i18n unit test fixes. 2011-03-01 10:31:43 -05:00
request.py Remove deprecated i18n code from ipalib/request and all references to it. 2011-03-01 10:31:36 -05:00
rpc.py Test for forwarded Kerberos credentials cache in wsgi code. 2011-05-18 09:35:04 +02:00
text.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
util.py Make data type of certificates more obvious/predictable internally. 2011-06-21 19:09:50 -04:00
x509.py Make data type of certificates more obvious/predictable internally. 2011-06-21 19:09:50 -04:00