[ckm] Refactor TestData to replace cert easily
[platform/core/test/security-tests.git] / src / ckm / test-certs.h
index 6f55c34..d84fc77 100644 (file)
@@ -28,20 +28,22 @@ namespace TestData
 {
 
 enum certificateID {
-    // test certificates
-    TEST_ROOT_CA = 0,               // TEST_ROOT_CA, expires 2035
-    TEST_IM_CA,                     // TEST_IM_CA, signed by TEST_ROOT_CA, expires 2035
-    TEST_LEAF,                      // TEST_LEAF, signed by TEST_IM_CA, expires 2035
+    // test certificates which made by us
+    TEST_ROOT_CA = 0,
+    TEST_IM_CA,
+    TEST_LEAF,
 
     // third party
-    GIAG2,                          // GIAG2, signed by GEOTRUST, expires 31 Dec 2016
-    MBANK,                          // MBANK, signed by SYMANTEC, expires 04 Feb 2016
-    SYMANTEC,                       // SYMANTEC, signed by VERISIGN, expires 30 Oct 2023
-    GEOTRUST,                       // GEOTRUST, GeoTrust Global CA - signed by EQUIFAX, expires 21 Aug 2018
-    EQUIFAX,                        // EQUIFAX (root CA), expires 22 Aug 2018
-    GOOGLE_COM,                     // GOOGLE_COM, *.google.com - signed by GIAG2, expires 13 Jan 2016
-
-    // footer - last element in the set
+    THIRD_PARTY_ROOT_CA,
+    THIRD_PARTY_IM_CA1,
+    THIRD_PARTY_IM_CA2,
+    THIRD_PARTY_LEAF,
+
+    // ocsp available certificate chain, thirt party
+    OCSP_AVAILABLE_IM,
+    OCSP_AVAILABLE_LEAF,
+
+    // footer
     NO_CERT
 };