Return Certificate Signing Request(CSR) contents

Add support to return the CSR data from the file created by
GenerateCSR request.

CSRRead class implements CSR interface. InternalFailure
exception is thrown to the caller if CSR file does not exist
or for any read errors.

Change-Id: I20ddeb9570962bf04917c1b0e3a52c8f34f5efcd
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 82e370f..02cc10d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,8 @@
 noinst_HEADERS = \
 	certs_manager.hpp \
 	argument.hpp \
-	certificate.hpp
+	certificate.hpp \
+	csr.hpp
 
 bin_PROGRAMS = \
 	phosphor-certificate-manager
@@ -13,7 +14,8 @@
 	mainapp.cpp \
 	certs_manager.cpp \
 	argument.cpp \
-	certificate.cpp
+	certificate.cpp \
+	csr.cpp
 
 phosphor_certificate_manager_LDFLAGS = \
 	$(SDBUSPLUS_LIBS) \