Additional unit test for verification

1) Test passing private key only certificate file
2) Testing cerfiticate only certificate file
3) Modifying existing test to corrupt certificate file and verify

Change-Id: Ie421c881af53aaca6f439fc86897b0877f589537
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
1 file changed
tree: a220cf17b613d457fb627c5a1e78c0b23e0ed0ea
  1. test/
  2. .clang-format
  3. .gitignore
  4. argument.cpp
  5. argument.hpp
  6. bootstrap.sh
  7. certs_manager.cpp
  8. certs_manager.hpp
  9. configure.ac
  10. LICENSE
  11. mainapp.cpp
  12. Makefile.am
  13. 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`.