This patch provides code that can be shared between:
https://pagure.io/dogtagpki/issue/2605
and
https://pagure.io/dogtagpki/issue/2604
Note: default is DES3 for now; will switch over to AES when the cmc
feature further materializes.
thanks,
Christina