Remove restrict mechanism.
[platform/core/security/key-manager.git] / src / manager / service / db-row.h
index 2787068..9e95aa2 100644 (file)
@@ -9,15 +9,14 @@ namespace CKM {
     struct DBRow {
         std::string alias;
         std::string smackLabel;
-        int restricted;
         int exportable;
         DBDataType dataType;        // cert/key/data
-        int algorithmType;          // AES mode ?
+        DBCMAlgType algorithmType;  // Algorithm type used for row data encryption
         int encryptionScheme;       // for example: (ENCR_BASE64 | ENCR_PASSWORD)
         RawBuffer iv;               // encoded in base64
         int dataSize;               // size of information without hash and padding
         RawBuffer data;
+        RawBuffer tag;              // tag for Aes Gcm algorithm
     };
 } // namespace CKM
 
-