Enable build with iniparser v 3.1
[platform/framework/native/appfw.git] / inc / FSecCryptoSha1Hash.h
index 494bd70..451311f 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);
@@ -40,7 +39,7 @@ namespace Tizen { namespace Security { namespace Crypto
  *
  *     The %Sha1Hash class implements the SHA-1 hash algorithm. @n
  *
- *  For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/hashing.htm">Hashing</a>.
+ *     For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/security/hashing.htm">Hashing</a>.
  *
  *     @see    IHash
  *     @see    Md5Hash
@@ -74,7 +73,7 @@ public:
         *      @since          2.0
         *
         *      @return         An error code
-        *      @param[in]      algorithm                               The name of the hash algorithm @n
+        *      @param[in]      algorithm                               The hash algorithm name @n
         *                                                                              For example "SHA2/224", "SHA2/256", "SHA2/384", or "SHA2/512".
         *      @exception      E_SUCCESS                               The method is successful.
         *      @exception      E_UNSUPPORTED_ALGORITHM The algorithm is not supported.
@@ -83,7 +82,7 @@ public:
        virtual result SetAlgorithm(const Tizen::Base::String& algorithm);
 
        /**
-        *      Gets the hashes of a data (single-part).
+        *      Gets the hashes of the specified data (single-part).
         *
         *      @since          2.0
         *
@@ -93,15 +92,16 @@ public:
         *      @exception      E_SUCCESS                               The method is successful.
         *      @exception      E_INVALID_ARG                   The input Tizen::Base::ByteBuffer is empty or contains invalid data.
         *      @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, or
-        *                                                                              the Tizen::Base::ByteBuffer operation has failed.
+        *      @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.
         *      @remarks        The specific error code can be accessed using the GetLastResult() method.
         */
        virtual Tizen::Base::ByteBuffer* GetHashN(const Tizen::Base::ByteBuffer& input) const;
 
        /**
-        *      Initializes a multiple-part hash operation.
+        *      Initializes the multiple-part hash operation.
         *
         *      @since          2.0
         *
@@ -114,7 +114,7 @@ public:
        virtual result Initialize(void);
 
        /**
-        *      Updates a multiple-part hash operation while processing another data part.
+        *      Updates the multiple-part hash operation while processing another data part.
         *
         *      @since          2.0
         *
@@ -123,14 +123,15 @@ public:
         *      @exception      E_SUCCESS                               The method is successful.
         *      @exception      E_INVALID_ARG                   The input Tizen::Base::ByteBuffer is empty or contains invalid data.
         *      @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, or
-        *                                                                              the Tizen::Base::ByteBuffer operation has failed.
+        *      @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 result Update(const Tizen::Base::ByteBuffer& input);
 
        /**
-        *      Finalizes a multiple-part hash operation.
+        *      Finalizes the multiple-part hash operation.
         *
         *      @since          2.0
         *
@@ -138,9 +139,10 @@ public:
         *                              else @c null if an error occurs
         *      @exception      E_SUCCESS                               The method is successful.
         *      @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, or
-        *                                                                              the Tizen::Base::ByteBuffer operation has failed.
+        *      @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.
         *      @remarks        The specific error code can be accessed using the GetLastResult() method.
         */
        virtual Tizen::Base::ByteBuffer* FinalizeN(void);