freeipa/ipalib/install
Stanislav Laznicka 5a44ca6383 Create a Certificate parameter
Up until now, Bytes parameter was used for certificate parameters
throughout the framework. However, the Bytes parameter does nothing
special for certificates, like validation, so this had to be done
for each of the parameters which were supposed to represent a
certificate.

This commit introduces a special Certificate parameter which takes
care of certificate validation so this does not have to be done
separately. It also makes sure that the certificates represented by
this parameter are always converted to DER format so that we can work
with them in a unified manner throughout the framework.

This commit also makes it possible to pass bytes directly during
instantiation of the Certificate parameter and they are still
represented correctly after their conversion in the _convert_scalar()
method.

https://pagure.io/freeipa/issue/4985

Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
2017-07-27 10:28:58 +02:00
..
__init__.py install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
certmonger.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
certstore.py Create a Certificate parameter 2017-07-27 10:28:58 +02:00
hostname.py Only warn when specified server IP addresses don't match intf 2017-06-06 18:10:33 +02:00
kinit.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00
service.py install: re-introduce option groups 2017-03-13 10:12:40 +01:00
sysrestore.py logging: do not log into the root logger 2017-07-14 15:55:59 +02:00