Flush app registry before releasing file lock
[platform/framework/native/appfw.git] / inc / FSecPkcsPkcs08PrivateKeyInfo.h
index 3d7dc6c..e507597 100755 (executable)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2013 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -74,16 +73,16 @@ public:
        virtual ~Pkcs08PrivateKeyInfo(void);
 
        /**
-        * Initializes this instance of %Pkcs08PrivateKeyInfo with the encoded byte buffer that contains  @n
-        * pkcs08 private key info structure(PrivateKeyInfo) in ASN.1 DER format. @n
+        * Initializes this instance of %Pkcs08PrivateKeyInfo with the encoded byte buffer that contains pkcs08 private key info 
+        * structure(PrivateKeyInfo) in ASN.1 DER format. @n
         * It parses this encoded buffer and extracts the appropriate values of private key, its algorithm ID, and attributes.
         *
         * @since               2.1
         *
         * @return              An error code
-        * @param[in]   encodedData                                     An instance of Tizen::Base::ByteBuffer containing DER encoded PrivateKeyInfo structure
-        * @exception   E_SUCCESS                                               The method is successful.
-        * @exception   E_INVALID_ARG                           The specified input parameter is invalid.
+        * @param[in]   encodedData                             An instance of Tizen::Base::ByteBuffer containing DER encoded PrivateKeyInfo structure
+        * @exception   E_SUCCESS                               The method is successful.
+        * @exception   E_INVALID_ARG                   The specified input parameter is invalid.
         */
        result Construct(const Tizen::Base::ByteBuffer& encodedData);
 
@@ -93,16 +92,16 @@ public:
         * @since               2.1
         *
         * @return              An error code.
-        * @param[in]   keyAlgorithmId                  An instance of AlgorithmIdentifier holding algorithm identifier of the private key algorithm
-        * @param[in]   privateKey                                      An instance of Tizen::Base::ByteBuffer holding private key
-        * @exception   E_SUCCESS                                               The method is successful.
-        * @exception   E_INVALID_ARG                           A specified input parameter is invalid.
+        * @param[in]   keyAlgorithmId                  An instance of AlgorithmIdentifier holding the algorithm identifier of the private key algorithm
+        * @param[in]   privateKey                              An instance of Tizen::Base::ByteBuffer holding the private key
+        * @exception   E_SUCCESS                               The method is successful.
+        * @exception   E_INVALID_ARG                   A specified input parameter is invalid.
         */
        result Construct(const AlgorithmIdentifier& keyAlgorithmId, const Tizen::Base::ByteBuffer& privateKey);
 
        /**
-        * Gets the private key syntax version number of PrivateKeyInfo object @n
-        * that is used for storing private key and its related information and default value of this version is @c 0.
+        * Gets the private key syntax version number of PrivateKeyInfo object that is used for storing private key and its related 
+        * information and default value of this version is @c 0.
         *
         * @since               2.1
         *
@@ -112,7 +111,7 @@ public:
        int GetVersion(void) const;
 
        /**
-        * Gets the reference to AlgorithmIdentifier that identifies the secret key algorithm.
+        * Gets a reference to AlgorithmIdentifier that identifies the secret key algorithm.
         *
         * @since               2.1
         *
@@ -122,7 +121,7 @@ public:
        const AlgorithmIdentifier& GetPrivateKeyAlgorithm(void) const;
 
        /**
-        * Gets the reference to Tizen::Base::ByteBuffer that contains the private key in binary format.
+        * Gets a reference to Tizen::Base::ByteBuffer that contains the private key in binary format.
         *
         * @since               2.1
         *
@@ -132,7 +131,7 @@ public:
        const Tizen::Base::ByteBuffer& GetPrivateKey(void) const;
 
        /**
-        * Gets the attributes of the type Pkcs08Attribute that are extended information of the private key in context.
+        * Gets the attributes of the type Pkcs08Attribute that are the extended information of the private key in context.
         *
         * @since               2.1
         *
@@ -141,7 +140,7 @@ public:
        const Tizen::Base::Collection::ArrayList& GetAttributes(void) const;
 
        /**
-        * Adds the attributes in private key information that is extended information of the private key in context.
+        * Adds the attributes in private key information that is the extended information of the private key in context.
         *
         * @since               2.1
         *
@@ -151,7 +150,7 @@ public:
        result AddAttribute(const Pkcs08Attribute& attributes);
 
        /**
-        * Removes the attribute in private key information that is extended information of the private key in context.
+        * Removes the attributes from the private key information that is the extended information of the private key in context.
         *
         * @since               2.1
         *
@@ -159,7 +158,7 @@ public:
         * @param[in]   attributes                                      An instance of Pkcs08Attribute
         */
        result RemoveAttribute(const Pkcs08Attribute& attributes);      
-       
+
        /**
         * Gets the DER encoded %Pkcs08PrivateKeyInfo structure.
         *