Generate a key and certificate signing request(CSR)
This patch provides the d-bus interface to create and export CSR.
Change-Id: I37c9bf58de8d1222700dbb35c869e0a1e3d5f2da
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/xyz/openbmc_project/Certs/CSR.interface.yaml b/xyz/openbmc_project/Certs/CSR.interface.yaml
new file mode 100644
index 0000000..82f8dd3
--- /dev/null
+++ b/xyz/openbmc_project/Certs/CSR.interface.yaml
@@ -0,0 +1,18 @@
+description: >
+ Implement to retrieve the Certificate Signing Request(CSR).
+
+methods:
+ - name: CSR
+ description: >
+ Method to get the CSR string.
+
+ Object which implements this interface should implement
+ xyz.openbmc_project.Object.Delete to allow the deletion of CSR objects.
+
+ returns:
+ - name: CSRString
+ type: string
+ description: >
+ CSR string in the Base-64 encoded PEM format.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure