Remove restrict mechanism.
[platform/core/security/key-manager.git] / src / manager / service / db-row.h
1 #pragma once
2
3 #include <string>
4
5 #include <ckm/ckm-type.h>
6 #include <protocols.h>
7
8 namespace CKM {
9     struct DBRow {
10         std::string alias;
11         std::string smackLabel;
12         int exportable;
13         DBDataType dataType;        // cert/key/data
14         DBCMAlgType algorithmType;  // Algorithm type used for row data encryption
15         int encryptionScheme;       // for example: (ENCR_BASE64 | ENCR_PASSWORD)
16         RawBuffer iv;               // encoded in base64
17         int dataSize;               // size of information without hash and padding
18         RawBuffer data;
19         RawBuffer tag;              // tag for Aes Gcm algorithm
20     };
21 } // namespace CKM
22