Refactor and Fix Translation Code for PER and DER Formats
For private keys, both in PEM and DER format, we will use
PKCS#8. This patch corrects our DER format so it is now PKCS#8.
Also, move the secret type logic into translation methods and
complete the unit tests.
Reviewed: https:/ /review. openstack. org/174724 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=eb0e1ecf72d 4c328262354fad7 bd6d6348c938e1
Committed: https:/
Submitter: Jenkins
Branch: master
commit eb0e1ecf72d4c32 8262354fad7bd6d 6348c938e1
Author: Dave McCowan <email address hidden>
Date: Thu Apr 16 23:24:21 2015 -0400
Refactor and Fix Translation Code for PER and DER Formats
For private keys, both in PEM and DER format, we will use
PKCS#8. This patch corrects our DER format so it is now PKCS#8.
Also, move the secret type logic into translation methods and
complete the unit tests.
Closes-Bug: #1445575 5593345ca0d90a5 fa2fadb3465
Change-Id: Ifacbc496e1120b