Modify unit test cases to cater for Certificate D-Bus object

Added test cases to the newly introduced Certificate class.

As much of the functionality is moved to Certificate class,
test cases were also modified to test on Certificate class.

Added test case for sucess and failure cases for Manager
certificate install.

Resolves ibm-openbmc/dev/issues/354
Change-Id: Ica77d26df5cd0162b3f9710b41a732e1cfa07d56
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
1 file changed
tree: 50073e7a2177c7e861adfe12d887263471cddede
  1. test/
  2. .clang-format
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. certificate.cpp
  8. certificate.hpp
  9. certs_manager.cpp
  10. certs_manager.hpp
  11. configure.ac
  12. LICENSE
  13. mainapp.cpp
  14. MAINTAINERS
  15. Makefile.am
  16. README.md
README.md

phosphor-certificate-manager

Certificate management allows to replace the existing certificate and private key file with another (possibly CA signed) Certificate key file. Certificate management allows the user to install both the server and client certificates.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.