Add unit tests related to Pkcs 12 02/237602/6
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 1 Jul 2020 20:53:14 +0000 (22:53 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Thu, 9 Jul 2020 16:38:08 +0000 (18:38 +0200)
commitced9201d584a028f36669eeee5c9f7b2f8829899
tree7c98593ffdaa7e439e4a010f70c8212b2111ee68
parent156f84e84b94b84bab2bed85628393e3cb6e6207
Add unit tests related to Pkcs 12

* Implement unit tests.
* Add p12 test files for different types of keys.
* Slightly refactor PKCS12Serializable API.

Change-Id: I87e4d9ee50e75aff8cc4e042bb239983a1f3c4d9
src/manager/common/protocols.cpp
src/manager/common/protocols.h
src/manager/service/ckm-logic.cpp
unit-tests/CMakeLists.txt
unit-tests/resources/dsa.p12 [new file with mode: 0644]
unit-tests/resources/ecdsa.p12 [new file with mode: 0644]
unit-tests/resources/rsa.p12 [new file with mode: 0644]
unit-tests/test_pkcs12.cpp [new file with mode: 0644]