platform/core/security/key-manager.git
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

9 years agoFix createSignature/verify signature module.
Bartlomiej Grzelewski [Tue, 1 Jul 2014 10:15:18 +0000 (12:15 +0200)]
Fix createSignature/verify signature module.

* Fix implementation of ErrorToString.
* Fix protocol implementation in ckm-logic.
* Fix implementation of CryptoModule.

Change-Id: Ifd60709829ffe433bd982819a32dcac8223d07f2

9 years agoAdd openssl initialization in client library.
Bartlomiej Grzelewski [Mon, 30 Jun 2014 18:46:16 +0000 (20:46 +0200)]
Add openssl initialization in client library.

Change-Id: I1043801db5743d855902c85c16a9acb22c3ed3a0

9 years agoRemove function strictCAcheck.
Bartlomiej Grzelewski [Mon, 30 Jun 2014 14:33:08 +0000 (16:33 +0200)]
Remove function strictCAcheck.

This functionality is checked by default when FIBS mode is turned on.

Change-Id: I6f1ddcf06231c16613f968b8bc03fed141add762

9 years agofix CryptoService ititialize method
yuseok.jeon [Tue, 1 Jul 2014 07:08:19 +0000 (16:08 +0900)]
fix CryptoService ititialize method

Change-Id: I4c42f6a5023fc48d85132c60f556cdadb00c6438
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years ago Service implementation.
Radoslaw Bartosiak [Mon, 23 Jun 2014 13:31:31 +0000 (15:31 +0200)]
 Service implementation.

       * Add support for createSignature and verifySignature

Change-Id: Id85e45ffc166678d1a97596c2c134eafcc22024c

9 years agoAdd internal tests for sql and db
Zofia Abramowska [Tue, 10 Jun 2014 08:46:42 +0000 (10:46 +0200)]
Add internal tests for sql and db

Add internal tests for SqlConnection class and DBCrypto
(with Transaction) class.

Change-Id: I5950aa4ed6f9da9effe1aec0bfacaf1957a752f3

9 years agoChange some error messages to debug.
Bartlomiej Grzelewski [Thu, 26 Jun 2014 16:40:37 +0000 (18:40 +0200)]
Change some error messages to debug.

Add additional debug messages.

Change-Id: I8f92f0b55a5ff2f3a3fa4a85a1687cc27d090e48

9 years agoImplementation of getCertificateChain.
Bartlomiej Grzelewski [Wed, 25 Jun 2014 17:32:12 +0000 (19:32 +0200)]
Implementation of getCertificateChain.

Change-Id: Ie4b8b6f9d54decb3e8e09a04a3bab101630d355a

9 years agoAdd exceptions to OCSP module
yuseok.jeon [Thu, 26 Jun 2014 07:02:36 +0000 (16:02 +0900)]
Add exceptions to OCSP module

Change-Id: I94a15868fe08586fec4af802d7353d6a07ec1075
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoAdd exceptions to CryptoModule
yuseok.jeon [Thu, 26 Jun 2014 05:27:44 +0000 (14:27 +0900)]
Add exceptions to CryptoModule

Change-Id: I47239f59c8017be5d70ce09126de6ae72363a804
Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoPrepare test code for future additional binaries
Zofia Abramowska [Mon, 23 Jun 2014 13:23:59 +0000 (15:23 +0200)]
Prepare test code for future additional binaries

Remove unnecessary dependencies.
Change name of test sources.
Change name of test binary.
Fix formatting.

Change-Id: Iaa39359c224c13714095f4bbafdef742e046563e

9 years agoReplace deprecated auto_ptr with unique_ptr in SQLCOnnection.
Bartlomiej Grzelewski [Tue, 24 Jun 2014 15:34:20 +0000 (17:34 +0200)]
Replace deprecated auto_ptr with unique_ptr in SQLCOnnection.

Change-Id: I0303d7c1c40e3392173899bf42751800eab2e7b6

9 years agoChange error code names.
Bartlomiej Grzelewski [Tue, 24 Jun 2014 15:15:52 +0000 (17:15 +0200)]
Change error code names.

Old prefix was "KEY_MANAGER_API_"
New prefix is "CKM_API_"

Change-Id: I9bce2da2c08d6768ff0fd8ff160ea3dcafb559a7

9 years agoFix implementation of CKMLogic::createRSAKeyPair
Bartlomiej Grzelewski [Tue, 24 Jun 2014 15:01:07 +0000 (17:01 +0200)]
Fix implementation of CKMLogic::createRSAKeyPair

Change-Id: Iec20f8c36337df6d2c836482cb6b9caa5605ab07

9 years agoTransactions
Zofia Abramowska [Wed, 18 Jun 2014 12:17:06 +0000 (14:17 +0200)]
Transactions

Add transaction object to DBCyrpto class.
All public methods are also inside single transactions.

Change-Id: I9bebc69c4c9d3b1d0bce14e227f24c17b44e9afb

9 years agoThrow instead of return value
Zofia Abramowska [Wed, 18 Jun 2014 13:50:19 +0000 (15:50 +0200)]
Throw instead of return value

All public methods of DBCrypto throw instead of returning
value from key-manager api error codes.
Rewritten also ckm-logic to handle exceptions from DBCrypto.

Change-Id: Ie85cb8b4e448e23aa26782d8a5451a5fcfed81e8

9 years agoFix initialization method of CryptoService
yuseok.jeon [Tue, 24 Jun 2014 09:56:59 +0000 (18:56 +0900)]
Fix initialization method of CryptoService

Signed-off-by: yuseok.jeon <yuseok.jeon@samsung.com>
9 years agoFix initialization method of OCSP
root [Tue, 24 Jun 2014 01:34:10 +0000 (10:34 +0900)]
Fix initialization method of OCSP

Change-Id: I200b3d1f9250ee40796a7895ded605c124b972a2