Flush app registry before releasing file lock
[platform/framework/native/appfw.git] / inc / FSecDesEdeSecureRandom.h
index fdb7dce..e4b36e7 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               FSecDesEdeSecureRandom.h
+ * @file       FSecDesEdeSecureRandom.h
  * @brief      This is the header file for the %DesEdeSecureRandom class.
  *
  * This header file contains the declarations of the %DesEdeSecureRandom class.
@@ -54,30 +53,32 @@ public:
        /**
         *      This is the default constructor for this class.
         *
-        * @since               2.0
+        *      @since          2.0
         */
        DesEdeSecureRandom(void);
 
        /**
-        * This destructor overrides Tizen::Base::Object::~Object().
+        *      This destructor overrides Tizen::Base::Object::~Object().
         *
-        * @since               2.0
+        *      @since          2.0
         */
        virtual ~DesEdeSecureRandom(void);
 
        /**
-        * Generates a user-defined number of random bytes.
+        *      Generates the specified number of random bytes.
         *
-        * @since               2.0
+        *      @since          2.0
         *
-        * @return              A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
+        *      @return         A pointer to the Tizen::Base::ByteBuffer class that contains the output, @n
         *                              else @c null if an error occurs
-        * @param[in]   numBytes                        The number of random bytes to generate
-        * @exception   E_SUCCESS                       The method is successful.
-        * @exception   E_OUT_OF_MEMORY         The memory is insufficient.
-        * @exception   E_INVALID_ARG           The specified @c numBytes is @c 0 or negative.
-        *      @exception      E_SYSTEM                        A system error has occurred. @n 
-        *                                                                      The method has failed to operate with the OpenSSL library, or the Tizen::Base::ByteBuffer operation has failed.
+        *      @param[in]      numBytes                        The number of random bytes to generate
+        *      @exception      E_SUCCESS                       The method is successful.
+        *      @exception      E_OUT_OF_MEMORY         The memory is insufficient.
+        *      @exception      E_INVALID_ARG           The specified @c numBytes is @c 0 or negative.
+        *      @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.
+        *                                                                      - The Tizen::Base::ByteBuffer operation has failed.     
         */
        virtual Tizen::Base::ByteBuffer* GenerateRandomBytesN(int numBytes);