Split x509.load_certificate() into PEM/DER functions
Splitting the load_certificate() function into two separate helps
us word the requirements for the input explicitly. It also makes
our backend similar to the one of python-cryptography so eventually
we can swap python-cryptography for IPA x509 module.
Reviewed-By: Fraser Tweedale <firstname.lastname@example.org>
Reviewed-By: Rob Crittenden <email@example.com>
Reviewed-By: Martin Basti <firstname.lastname@example.org>