Revert "Revert "Fix intApp TC failure""
[platform/framework/native/appfw.git] / inc / FSecIKeyPairGenerator.h
index 22439fb..e852930 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -16,7 +15,7 @@
 //
 
 /**
- * @file                       FSecIKeyPairGenerator.h
+ * @file               FSecIKeyPairGenerator.h
  * @brief              This is the header file for the %IKeyPairGenerator interface.
  *
  * This header file contains the declarations of the %IKeyPairGenerator interface.
@@ -48,8 +47,8 @@ class _OSP_EXPORT_ IKeyPairGenerator
 
 public:
        /**
-        * This polymorphic destructor should be overridden if required. This way, the destructors of the derived classes @n
-        * are called when the destructor of this interface is called.
+        * This polymorphic destructor should be overridden if required. @n 
+        * This way, the destructors of the derived classes are called when the destructor of this interface is called.
         *
         *      @since          2.0
         */
@@ -63,9 +62,10 @@ public:
         * @return              An error code
         * @param[in]   modulusBitSize          The modulus size in bits
         * @exception   E_SUCCESS                       The method is successful.
-        * @exception   E_INVALID_ARG           The specified @c modulusBitSize is invalid. @n
-        *                                                      The modulus size must be atleast greater than or equal to @c 1024 bits @n
-        *                                                      to generate cryptographically secure keys.
+        * @exception   E_INVALID_ARG           Either of the following conditions has occurred:
+        *                                                                      - The specified @c modulusBitSize is invalid.
+        *                                                                      - The modulus size must be atleast greater than or equal to @c 1024 bits 
+        *                                                                      to generate cryptographically secure keys.
         */
        virtual result Construct(int modulusBitSize) = 0;
 
@@ -79,9 +79,10 @@ public:
         * @exception   E_SUCCESS                                       The method is successful.
         * @exception   E_UNSUPPORTED_ALGORITHM         The requested algorithm is not supported.
         * @exception   E_OUT_OF_MEMORY                         The memory is insufficient.
-        * @exception   E_SYSTEM                                        A system error has occurred. @n
-        *                                                                                      The method has failed to operate with the OpenSSL library.
-        * @remarks The specific error code can be accessed using the GetLastResult() method.
+        * @exception   E_SYSTEM                                        Either of the following conditions has occurred:
+        *                                                                                      - A system error has occurred.
+        *                                                                                      - The method has failed to operate with the OpenSSL library.
+        * @remarks             The specific error code can be accessed using the GetLastResult() method.
         */
        virtual Tizen::Security::KeyPair* GenerateKeyPairN(void) const = 0;