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