platform/core/security/key-manager.git
9 years agoFix buildbreak on wayland x86_64 14/28114/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140926.144326 accepted/tizen/ivi/20141006.083203 submit/tizen/20140926.142609 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Krzysztof Jackiewicz [Fri, 26 Sep 2014 08:33:53 +0000 (10:33 +0200)]
Fix buildbreak on wayland x86_64

Change-Id: Id9ad5da78b5bee5bd1c15870c7857eb311ed1113

9 years agoClass naming scheme re-factoring: move towards better consistency. 78/27678/1 accepted/tizen/common/20140925.172038 submit/tizen/20140925.122603
Maciej J. Karpiuk [Wed, 17 Sep 2014 11:34:14 +0000 (13:34 +0200)]
Class naming scheme re-factoring: move towards better consistency.

Change-Id: I8ad4d19991c92f5268ef1f0a411258c848c83c64

9 years agoAdded base error code declaration. 92/27592/3
Maciej J. Karpiuk [Tue, 16 Sep 2014 09:43:15 +0000 (11:43 +0200)]
Added base error code declaration.

TODO: this is temporary solution.
The error code base should be eventually moved into tizen_error.h.

Change-Id: Ic587d539545fb3d34f6330ca23921e2d70083436

9 years agoBuild fixes, changes: 35/27535/4
Maciej J. Karpiuk [Mon, 15 Sep 2014 13:47:13 +0000 (15:47 +0200)]
Build fixes, changes:

* added pthread dependency;
* _FORTIFY_SOURCE disabled when in DEBUG mode;

Change-Id: Ibcc94a0aec92bbc4714566948b02377b105a0eb0

9 years agoRemove dependency to ckm-key-provider.h.
kyungwook tak [Fri, 12 Sep 2014 07:55:12 +0000 (16:55 +0900)]
Remove dependency to ckm-key-provider.h.

This commit removes dependency to device specific code.

Change-Id: If6443737e844feb0c9d0eb3a17693876b1a870da
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoChange AES CBC mode into AES GCM.
Bartlomiej Grzelewski [Tue, 9 Sep 2014 11:54:36 +0000 (13:54 +0200)]
Change AES CBC mode into AES GCM.

Change-Id: I1335d6fdb61ca29e8dfcdcd4901b485fb4ebf4ec

9 years agoAdd new DEK to encrypt database.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 14:33:13 +0000 (16:33 +0200)]
Add new DEK to encrypt database.

Database mustn't be encrypted with user Domain KEK so we need to
generate special DEK for database.

Change-Id: I9de405c44ed3a17eb11e70255962b908e199ae0d

9 years agoFix Prevent defects in ckmc APIs
kyungwook tak [Thu, 11 Sep 2014 05:22:19 +0000 (14:22 +0900)]
Fix Prevent defects in ckmc APIs

Change-Id: I305c5700b66a6b9539b30fc69d203b128240a15b
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoFix implementation of ckmc_get_*_alias_list.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 09:49:59 +0000 (11:49 +0200)]
Fix implementation of ckmc_get_*_alias_list.

List of fixes:
 * output parameter will now always be set to NULL
 * replace malloc/memset/memcpy with strndup call.

Change-Id: I8500386608c17abb4fafb0cd6aeee51ae16c2b3a

9 years agoFix memory allocation in CAPI.
Bartlomiej Grzelewski [Fri, 5 Sep 2014 09:49:59 +0000 (11:49 +0200)]
Fix memory allocation in CAPI.

In C-API memory was allocated with operator new but freed with free().

Change-Id: Ib7ab6742bbde1e97fb2a0479b907e748861464c4

9 years agoRemove deprecated manifest. Fix manifest installation.
Bartlomiej Grzelewski [Wed, 3 Sep 2014 13:16:28 +0000 (15:16 +0200)]
Remove deprecated manifest. Fix manifest installation.

List of changes:
 * Only packages that will be installed on target have manifest.
 * Only one manifest per package is allowed.
 * Remove installation of manifest from CMakeLists.txt.
   Manifest are required by rpm during package created and are not
   required during build time.

Change-Id: Ic742443718f3d53bff06590a44bdb73511788c64

9 years agoAdd move ctors/operators to MessageBuffer and BinaryQueue
Krzysztof Jackiewicz [Wed, 27 Aug 2014 09:37:25 +0000 (11:37 +0200)]
Add move ctors/operators to MessageBuffer and BinaryQueue

Default implementations of move constructors and operators were added to make
objects of these classess movable.

Change-Id: I03322ead292adc29bed8a859fb7bc640b16fd251

9 years agoMake socket connection function available
Krzysztof Jackiewicz [Mon, 25 Aug 2014 08:06:47 +0000 (10:06 +0200)]
Make socket connection function available

Socket connection logic is necessary for asynchronous interface but wrapping
sockets in SockRAII class is unwanted, therefore the connection function has
been extracted from SockRAII and made available for other components.

Change-Id: I9a65df3bb99687156f6d1d3d11bc8a701eb962b2

9 years agoAdd NONCOPYABLE macro
Krzysztof Jackiewicz [Thu, 21 Aug 2014 09:52:14 +0000 (11:52 +0200)]
Add NONCOPYABLE macro

Declaring class noncopyable requires explicit deletion of a constructor and
operator. To simplify it, the NONCOPYABLE macro has been added.

Change-Id: Iee4e1824238033f4f5719b96c88f18b4400213fb

9 years agoVersion 0.1.4
Bartlomiej Grzelewski [Mon, 1 Sep 2014 11:30:14 +0000 (13:30 +0200)]
Version 0.1.4

Add functions:
* Add parser for pkcs12 files (class PKCS12).

Change-Id: I5f5d72a2d5bd02012a2dfdd04529c56d7f4de9be

9 years agoAdd additional error logs in ocsp module.
Bartlomiej Grzelewski [Mon, 1 Sep 2014 09:43:29 +0000 (11:43 +0200)]
Add additional error logs in ocsp module.

Change-Id: I4a474d4cafd550d5db02e2c1b53f62f96ebfa83b

9 years agoImplementation of PKCS12 class.
Bartlomiej Grzelewski [Wed, 20 Aug 2014 15:00:02 +0000 (17:00 +0200)]
Implementation of PKCS12 class.

Change-Id: Ie377ced1fafb8f406211c264697f0c8219f04f03

9 years agoFix implementation create methods.
Bartlomiej Grzelewski [Fri, 22 Aug 2014 16:30:26 +0000 (18:30 +0200)]
Fix implementation create methods.

Old immplementation was able to throw exception if memory allocation
faid. New implementation will return empty shared_ptr. Fixes were applied to:
 * Key::create
 * Certificate::create
 * Control::create
 * Storage::create

Change-Id: I6c9634b3df0d84f59bb0500c022d7dc3f4e97c72

9 years agoFix doxygen documents
yuseok.jeon [Mon, 25 Aug 2014 06:09:21 +0000 (15:09 +0900)]
Fix doxygen documents

Change-Id: I17e769bc826c0840aa46b88e9131d9f953e35376
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoRun key-manager-listener by systemd instead key-manager.
Bartlomiej Grzelewski [Thu, 21 Aug 2014 15:32:36 +0000 (17:32 +0200)]
Run key-manager-listener by systemd instead key-manager.

Change-Id: Ifca5fc4d8ed8d17a1da80677d3acf2b2260243d6

9 years agoMove key-manager-listener to new package.
Bartlomiej Grzelewski [Thu, 21 Aug 2014 15:10:11 +0000 (17:10 +0200)]
Move key-manager-listener to new package.

Change-Id: I1e0e8988548664079f403684a0057ac65c177dd5

9 years agoRemove internel header include path which shouldn't be open in .pc file
kyungwook tak [Thu, 21 Aug 2014 06:55:22 +0000 (15:55 +0900)]
Remove internel header include path which shouldn't be open in .pc file

Change-Id: Iff5c3673c0b7d54e244d25b1d10c9f64fde94e93
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agofix doxygen documents for struct
Dong Sun Lee [Thu, 21 Aug 2014 01:45:06 +0000 (10:45 +0900)]
fix doxygen documents for struct

Change-Id: Ibe3ff15ea8289a09deffa0f48f3c26d74f2332a1
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoUpdate key-manager manifest file
kyungwook tak [Tue, 19 Aug 2014 09:46:57 +0000 (18:46 +0900)]
Update key-manager manifest file

Change-Id: I0feff86cb905db1d8c8a7b6d291411c5010a2b99
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove echo service.
Bartlomiej Grzelewski [Mon, 18 Aug 2014 09:04:24 +0000 (11:04 +0200)]
Remove echo service.

Change-Id: I13a25e3b8d8ddaba6f07d37191644dc813301a03

9 years agoFix build error by getting return value of system function
kyungwook tak [Tue, 19 Aug 2014 05:21:24 +0000 (14:21 +0900)]
Fix build error by getting return value of system function

Change-Id: Ib21801520253097f88fa5ec34c5299227dd02c03
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoAdd ocps socket to key-manager.service.
Bartlomiej Grzelewski [Mon, 18 Aug 2014 11:42:45 +0000 (13:42 +0200)]
Add ocps socket to key-manager.service.

Change-Id: I6758098ae5da599a43c7b18095da90e1296385fa

9 years agoRun key-manager-listener during key-manager start.
Bartlomiej Grzelewski [Tue, 12 Aug 2014 15:36:43 +0000 (17:36 +0200)]
Run key-manager-listener during key-manager start.

Change-Id: Ife90f0e5091448cee27761ed6fe858d781cfdd54

9 years agoFirst implementation of ckm-listener-daemon.
Bartlomiej Grzelewski [Thu, 7 Aug 2014 12:23:45 +0000 (14:23 +0200)]
First implementation of ckm-listener-daemon.

Change-Id: I80bb8dd113568a7059755a0d1a446c9feae25e6b

9 years agoWorkaround solution for locktype=None
Dong Sun Lee [Tue, 12 Aug 2014 06:08:25 +0000 (15:08 +0900)]
Workaround solution for locktype=None

Change-Id: Id57bd642a1df3d9b8f0e2bd7923974c2c6a92382
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoAdd include path 'client-capi' for control-client library
kyungwook tak [Mon, 11 Aug 2014 10:48:06 +0000 (19:48 +0900)]
Add include path 'client-capi' for control-client library

Change-Id: I1d7a2e11e56bf69464798a45a114357e63d6f8f2
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoAdd SafeBuffer test
Krzysztof Jackiewicz [Wed, 9 Jul 2014 13:30:40 +0000 (15:30 +0200)]
Add SafeBuffer test

Change-Id: I0bae252c754ebcf99b5206ad37a634447e611392

9 years agoRemove TransitoryString
Krzysztof Jackiewicz [Wed, 9 Jul 2014 10:15:04 +0000 (12:15 +0200)]
Remove TransitoryString

Change-Id: Icc38818df54e49f1ca7a8e71b14c4c2f7933eb74

9 years agoAdd api CKM::Control::removeApplicationData
Bartlomiej Grzelewski [Wed, 6 Aug 2014 13:27:45 +0000 (15:27 +0200)]
Add api CKM::Control::removeApplicationData

This api may be used during application uninstallation to remove
all application data from ckm datbase.

Change-Id: I5526744d9fface01621e755c7a09072ffb5c0548

9 years agoFix build break.
Bartlomiej Grzelewski [Thu, 7 Aug 2014 13:12:35 +0000 (15:12 +0200)]
Fix build break.

Fix error: "undefined reference to_ckmc_error".
This error occure when client was linked with control library only.

Change-Id: I9547290aef5a1ee41c94474d189562adf94ddea5

9 years agoFix duplicated sendToServer code in reset_user_password client api
kyungwook tak [Thu, 7 Aug 2014 08:37:49 +0000 (17:37 +0900)]
Fix duplicated sendToServer code in reset_user_password client api

Change-Id: I6fbd839623e89e78b1334f91702d7718589984b0
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoFix comments for doxygen
kyungwook tak [Thu, 7 Aug 2014 02:04:39 +0000 (11:04 +0900)]
Fix comments for doxygen

Change-Id: Ia0e016a4f5dea8ecff72e8d0c3c880dcc6beb5f5
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoCode refactoring:
Bartlomiej Grzelewski [Wed, 6 Aug 2014 13:26:23 +0000 (15:26 +0200)]
Code refactoring:

* Replace "throw 1" with "Throw(Exception::BrokenProtocol)".
* Remove const in virtual method in Control class.
* Simplified ControlImpl implementation.

Change-Id: I1236585980a0748283e0415ab815fdbb7a16b88c

9 years agoApply TIZEN_ERROR_KEY_MANAGER value of tizen.error.h
yuseok.jeon [Wed, 6 Aug 2014 07:02:49 +0000 (16:02 +0900)]
Apply TIZEN_ERROR_KEY_MANAGER value of tizen.error.h

Change-Id: Ib5893f934e34674ff0f9e94c6436ce0a37647cad
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoFix doc related to exportable flag
yuseok.jeon [Wed, 6 Aug 2014 02:27:26 +0000 (11:27 +0900)]
Fix doc related to exportable flag

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoFix implementation of exportable flag.
Bartlomiej Grzelewski [Mon, 4 Aug 2014 12:29:28 +0000 (14:29 +0200)]
Fix implementation of exportable flag.

Change-Id: I08337d7e1e0bfd5194748d824b0bebe598bb6edc

9 years agoFix error in ckmc_load_from_pkcs12_file
kyungwook tak [Wed, 30 Jul 2014 12:01:42 +0000 (21:01 +0900)]
Fix error in ckmc_load_from_pkcs12_file

Change-Id: I3747778d1f53b88f9001ce404c8f1603465ca292
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoFix doc include section
kyungwook tak [Wed, 30 Jul 2014 05:29:00 +0000 (14:29 +0900)]
Fix doc include section

Change-Id: I9965a9ff0c27a1939b1a3240bffd6a78d375b25c
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoFix rootstrap error
kyungwook tak [Mon, 28 Jul 2014 11:45:27 +0000 (20:45 +0900)]
Fix rootstrap error

Change-Id: Ia9ebea239c5190d53e7b0d7173e49723cc21bacc
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove compilation warrnings from sqlcipher.
Bartlomiej Grzelewski [Thu, 24 Jul 2014 10:41:13 +0000 (12:41 +0200)]
Remove compilation warrnings from sqlcipher.

Change-Id: Ie9b9edcc4c113b228fcebc79a672109842aaaf73

9 years agoReplace std::string with CKM::Password
Bartlomiej Grzelewski [Thu, 24 Jul 2014 16:53:55 +0000 (18:53 +0200)]
Replace std::string with CKM::Password

Change-Id: I695f3beb018d8a2b0a1fe4b17b99cd9cbd60c226

9 years agoTypedef password type
Zofia Abramowska [Wed, 23 Jul 2014 15:24:04 +0000 (17:24 +0200)]
Typedef password type

Change-Id: Ie5430448be3703646b7d04aaed27a8175a95e34f

9 years agoFix dependency about capi-base-common
kyungwook tak [Thu, 24 Jul 2014 08:57:43 +0000 (17:57 +0900)]
Fix dependency about capi-base-common

Change-Id: I2da5516a131907ef29d5b88441b3ac62b237f235
Signed-off-by: kyungwook tak <k.tak@samsung.com>
9 years agoRemove infinite loop from SqlConnection
Zofia Abramowska [Tue, 22 Jul 2014 15:03:30 +0000 (17:03 +0200)]
Remove infinite loop from SqlConnection

Change-Id: I9437401d609e9e2ec57fbb10416b440f0039afba

9 years agoerror names changed for tizen common error
Dong Sun Lee [Thu, 24 Jul 2014 04:38:04 +0000 (13:38 +0900)]
error names changed for tizen common error

Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agochanged to tizen compatible error type
Dong Sun Lee [Thu, 24 Jul 2014 02:47:49 +0000 (11:47 +0900)]
changed to tizen compatible error type

Change-Id: I10c23ffc36f97824dc5062709711d1ca70ee1c14
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoReflect ACR comments for enum and struct in core API
yuseok.jeon [Wed, 23 Jul 2014 12:52:07 +0000 (21:52 +0900)]
Reflect ACR comments for enum and struct in core API

Change-Id: I0ac91b03c310763e30d110f96bdbfd29d32299cc
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoRemove deprecated warning from ExecCommand
Zofia Abramowska [Mon, 21 Jul 2014 16:27:01 +0000 (18:27 +0200)]
Remove deprecated warning from ExecCommand

Change-Id: Ia65573cd5bcfeda269b29f0409fff472a4712e1a

9 years agoRewrite checking if row exists when deleting from db
Zofia Abramowska [Mon, 21 Jul 2014 12:51:13 +0000 (14:51 +0200)]
Rewrite checking if row exists when deleting from db

Change-Id: Id953004b2026b649505cada853413232f23519db

9 years agoUse SafeBuffer in C++ api. Rename SafeBuffer to RawBuffer.
Bartlomiej Grzelewski [Wed, 23 Jul 2014 08:53:20 +0000 (10:53 +0200)]
Use SafeBuffer in C++ api. Rename SafeBuffer to RawBuffer.

Change-Id: I99a880490552ab8ed3cc50b9a60adca8a8b62d97

9 years agoVersion 0.1.3
Bartlomiej Grzelewski [Tue, 22 Jul 2014 17:04:11 +0000 (19:04 +0200)]
Version 0.1.3

Change-Id: If29566b13e7fa5e5eb9fc7b6ba4641f65dcdc626

9 years agoChange RawBuffer into SafeBuffer.
Bartlomiej Grzelewski [Thu, 17 Jul 2014 12:27:47 +0000 (14:27 +0200)]
Change RawBuffer into SafeBuffer.

Change-Id: Iccf37f75713c7b573dcd6858fed3b9e530c2c936

9 years agoReplace private implemetation with interface.
Bartlomiej Grzelewski [Fri, 18 Jul 2014 13:12:53 +0000 (15:12 +0200)]
Replace private implemetation with interface.

Change-Id: Ib09abbfd83231ac16ae5b822a99ba18600351a73

9 years agoRemove unused header file key-aes.h
Bartlomiej Grzelewski [Fri, 18 Jul 2014 13:12:53 +0000 (15:12 +0200)]
Remove unused header file key-aes.h

Change-Id: I26c22b3ac7dc2049c313f54ca9d897c686470c70

9 years agoAdd API_ERROR_DB_ALIAS_UNKNOWN error handle code in data remove functions
yuseok.jeon [Fri, 18 Jul 2014 10:39:14 +0000 (19:39 +0900)]
Add API_ERROR_DB_ALIAS_UNKNOWN error handle code in data remove functions

Change-Id: I0eed434b775b6a2b38c970e293bbfed7fefe24c0
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agomodify Doxygen Overview Image
Dong Sun Lee [Fri, 18 Jul 2014 08:57:25 +0000 (17:57 +0900)]
modify Doxygen Overview Image

Change-Id: Ie6685f9dbcb1e704c11e16e329c19ada47b88d5d
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agotagged as Internal for control API
Dong Sun Lee [Fri, 18 Jul 2014 04:57:29 +0000 (13:57 +0900)]
tagged as Internal for control API

Change-Id: I8d3c7178e5232aed0b1aeac7030775dcf0d39f13
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agosplit doxygen module into 3 sub modules
Dong Sun Lee [Fri, 18 Jul 2014 04:25:41 +0000 (13:25 +0900)]
split doxygen module into 3 sub modules

Change-Id: I2c0aea8cbbc58b024c34c1f031b7179c05e490f5
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoadd doc directory for doxygen
Dong Sun Lee [Fri, 18 Jul 2014 00:28:17 +0000 (09:28 +0900)]
add doc directory for doxygen

Change-Id: I51403514aa64297379fbb076a3ef4a854f395531
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoVersion 0.1.2
Bartlomiej Grzelewski [Thu, 17 Jul 2014 15:56:11 +0000 (17:56 +0200)]
Version 0.1.2

Add functions:
* Manager::getCertificateChain
* Manager::ocspCheck

Change-Id: I03ebf9b816c44d032132e0df9f5aa53fa8ecc097

9 years agoFix implementation of SetKey.
Bartlomiej Grzelewski [Thu, 17 Jul 2014 15:34:56 +0000 (17:34 +0200)]
Fix implementation of SetKey.

Change-Id: I0075fe26c44313c38b0ee0d7d80b2a1fdf372415

9 years agoAdd SafeBuffer
Krzysztof Jackiewicz [Mon, 7 Jul 2014 07:14:12 +0000 (09:14 +0200)]
Add SafeBuffer

Change-Id: Ic7cb9941742472484cd3c10a2fb9a8e7cf6063e0

9 years agoChange smack labels for sockets.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:41:14 +0000 (15:41 +0200)]
Change smack labels for sockets.

Current status:
* key-manager::api-control (gives access to api CKM::Control)
* key-manager::api-ocsp (gives access to api CKM::Manager::ocspCheck)
* key-manager::api-storage (gives access to rest of api implemented in CKM::Manager)

Change-Id: I64a28042e358c88ced34b89d69d3b54f91124dc7

9 years agoReplace tabulators with spaces in ocsp.* files.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:35:21 +0000 (15:35 +0200)]
Replace tabulators with spaces in ocsp.* files.

Change-Id: I08ae78cdf69aa7bd759097f2f0a3841f6f80e99b

9 years agoAdd debug logs to ocsp.
Bartlomiej Grzelewski [Mon, 14 Jul 2014 14:18:33 +0000 (16:18 +0200)]
Add debug logs to ocsp.

Change-Id: Ie38b999a0abbf474024c505384c57c144143b9e2

9 years agoImplementation of primitives in CertificateImpl class.
Bartlomiej Grzelewski [Mon, 14 Jul 2014 14:15:15 +0000 (16:15 +0200)]
Implementation of primitives in CertificateImpl class.

Now you can extrat values of Subject/Issuer fiels directly from
CertificateImpl class.

Change-Id: I521df36d1fddd384ace13a5e338f3914221f5dbe

9 years agoFix compilation error in c-api.
Bartlomiej Grzelewski [Wed, 16 Jul 2014 13:04:15 +0000 (15:04 +0200)]
Fix compilation error in c-api.

Change-Id: I923ae176c42e447ae6a9e10da5d518b9bb32c41b

9 years agoChanges in Prefix ckm->ckmc in C API
Dong Sun Lee [Wed, 16 Jul 2014 08:35:32 +0000 (17:35 +0900)]
Changes in Prefix ckm->ckmc in C API

Change-Id: I5c1c60eb51ba46a73125b8a94ba09722b2604438
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoFix names of C language client APIs
yuseok.jeon [Wed, 16 Jul 2014 05:22:36 +0000 (14:22 +0900)]
Fix names of C language client APIs

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoAdd exceptions related to control APIs
yuseok.jeon [Tue, 15 Jul 2014 07:56:04 +0000 (16:56 +0900)]
Add exceptions related to control APIs

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoAdd systemd configuration for ocsp service.
Bartlomiej Grzelewski [Tue, 15 Jul 2014 12:15:57 +0000 (14:15 +0200)]
Add systemd configuration for ocsp service.

Change-Id: Id7ceda142619d38e8df08349fac4a1590ef55ef2

9 years agoOCSP implementation.
Bartlomiej Grzelewski [Fri, 11 Jul 2014 12:03:54 +0000 (14:03 +0200)]
OCSP implementation.

Change-Id: I4cf8d99b0c3ec262c7f65e5fc3b7ef2fca2b3287

9 years agoAdd explanations of C client APIs
yuseok.jeon [Mon, 14 Jul 2014 11:33:00 +0000 (20:33 +0900)]
Add explanations of C client APIs

Change-Id: If88a537ebc911e9f58051cef97e5ce3c81cadf88
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoFix build break.
Bartlomiej Grzelewski [Fri, 11 Jul 2014 14:30:19 +0000 (16:30 +0200)]
Fix build break.

Change-Id: I95a59f803d1f07841eecc4515de5378a6af431e8

9 years agoFix C language APIs of client
yuseok.jeon [Thu, 10 Jul 2014 06:29:39 +0000 (15:29 +0900)]
Fix C language APIs of client

Change-Id: I0fa3f99328d61f67ca97ac7bbdc851d09dbe5002

9 years agoFix bugs.
Bartlomiej Grzelewski [Thu, 10 Jul 2014 09:38:17 +0000 (11:38 +0200)]
Fix bugs.

Socket activation did not work because systemd sockets names did not
match socket names provided by services.

Change-Id: Ice4a0db2eee0ab7d6b5ef60be0e2a5dabb41d69d

9 years agoAdd crypto module.
Bartlomiej Grzelewski [Fri, 4 Jul 2014 16:54:03 +0000 (18:54 +0200)]
Add crypto module.

Reiplementation of crypto-logic (old name DBCryptoModule).

Change-Id: Id1bdd4d48ee342ede3cf8cb78ff6c30a294ec541

9 years agoAdded initial version of aesCrypt and Digest modules.
Sebastian Grabowski [Mon, 16 Jun 2014 13:33:34 +0000 (15:33 +0200)]
Added initial version of aesCrypt and Digest modules.

Added new classes for handling AES encryption and digest calculation.

Change-Id: Ic538130ff86eb53ee5c0446212e1cf628cca708e

9 years agoFix compilation errors in c-api.
Bartlomiej Grzelewski [Tue, 8 Jul 2014 12:02:41 +0000 (14:02 +0200)]
Fix compilation errors in c-api.

Change-Id: Id22a79b12decc43b3b16c50fc70c14814358fdf0

9 years agoFix errors find by valgrid.
Bartlomiej Grzelewski [Mon, 7 Jul 2014 19:21:41 +0000 (21:21 +0200)]
Fix errors find by valgrid.

Change-Id: Id123d90a8c59ac0b72c3d95823bf22c03de371d5

9 years agomake use of C++ error in C API
Dong Sun Lee [Mon, 7 Jul 2014 23:59:03 +0000 (08:59 +0900)]
make use of C++ error in C API

Change-Id: I32e2579ce15c97ede76b7bdc0ab33df6e654ac77
Signed-off-by: Dong Sun Lee <ds73.lee@samsung.com>
9 years agoRemove all namespaces from ckm-error.h header.
Bartlomiej Grzelewski [Mon, 7 Jul 2014 12:26:42 +0000 (14:26 +0200)]
Remove all namespaces from ckm-error.h header.

Change-Id: I90e6d818fa42e486356926107ae069e439010f02

9 years agoAdd C language APIs of client
yuseok.jeon [Mon, 7 Jul 2014 02:27:01 +0000 (11:27 +0900)]
Add C language APIs of client

Change-Id: I24ef238e49715624280cef1b4ea31f802be66ff5
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoVersion 0.1.1
Bartlomiej Grzelewski [Thu, 3 Jul 2014 16:51:43 +0000 (18:51 +0200)]
Version 0.1.1

Change-Id: Ief6b876ab47b96fe204fa1b16422230e198014b1

9 years agoCompilation fix for tizen.org
Bartlomiej Grzelewski [Thu, 3 Jul 2014 12:53:56 +0000 (14:53 +0200)]
Compilation fix for tizen.org

Change-Id: Ibbf2ca2ff1738b91d6ebb705bf585b96a8656261

9 years agoImplementation of getCertificateChain.
Bartlomiej Grzelewski [Thu, 3 Jul 2014 12:50:23 +0000 (14:50 +0200)]
Implementation of getCertificateChain.

Change-Id: Ib4f954ee9d0b35fd550fb67216ba1d420e1326db

9 years agoRelease version 0.1.0
Bartlomiej Grzelewski [Wed, 2 Jul 2014 17:23:13 +0000 (19:23 +0200)]
Release version 0.1.0

Change-Id: I14c6ebda6414350172940c6fa489809e7059a0d0

9 years agoRename RSAPadddingAlgorithms values.
Bartlomiej Grzelewski [Wed, 2 Jul 2014 17:04:06 +0000 (19:04 +0200)]
Rename RSAPadddingAlgorithms values.

Old values does not have any sense because there is no such algorithm
as XRSA.

Change-Id: I9e10dc4507f910ba8d37d2cb8746c2b0196af1b4

9 years agoAdd log colouring formatter for boost utf
Zofia Abramowska [Wed, 2 Jul 2014 09:09:44 +0000 (11:09 +0200)]
Add log colouring formatter for boost utf

Change-Id: I89a56caeed30e97e3046a5852652ec9f74ca727b

9 years agoRewrite key provider tests
Zofia Abramowska [Fri, 27 Jun 2014 15:48:23 +0000 (17:48 +0200)]
Rewrite key provider tests

Change-Id: I7d9919898df3e0bb80ce2d83af11061d70c6f533

9 years agoSimpliefied public headers names.
Bartlomiej Grzelewski [Wed, 2 Jul 2014 14:20:01 +0000 (16:20 +0200)]
Simpliefied public headers names.

key-manager.h was renamed to ckm-manager.h
key-manager-control.h was renamed to ckm-control.h

Change-Id: Ia76e6891dfe8196e2a5d7db8c55a50a1ab33afdd

9 years agoChange log tag to CKM.
Bartlomiej Grzelewski [Wed, 2 Jul 2014 12:41:33 +0000 (14:41 +0200)]
Change log tag to CKM.

Change-Id: I488ee6e5ebe4efbf9f342a5f9c29fd6c8f15e73c

9 years agoFunction verifySignature may take certificate alias now.
Bartlomiej Grzelewski [Wed, 2 Jul 2014 12:22:49 +0000 (14:22 +0200)]
Function verifySignature may take certificate alias now.

Change-Id: I1f8d9281acb77b69cb126ab0df61c6990f234cc7

9 years agoSplit client API into two parts(Control API and Store/Crypto API)
yuseok.jeon [Wed, 2 Jul 2014 02:36:15 +0000 (11:36 +0900)]
Split client API into two parts(Control API and Store/Crypto API)

Change-Id: I60d564a125a2bf493b941897d521ea9adae8a499
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoYou may extract public key from CertificateImpl now.
Bartlomiej Grzelewski [Tue, 1 Jul 2014 15:59:42 +0000 (17:59 +0200)]
You may extract public key from CertificateImpl now.

Change-Id: I3c0ed204e2622b0e8a6ca4be5c39f91d6c009def