1 | // |
2 | // EVPTest.h |
3 | // |
4 | // Definition of the EVPTest class. |
5 | // |
6 | // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. |
7 | // and Contributors. |
8 | // |
9 | // SPDX-License-Identifier: BSL-1.0 |
10 | // |
11 | |
12 | |
13 | #ifndef EVPTest_INCLUDED |
14 | #define EVPTest_INCLUDED |
15 | |
16 | |
17 | #include "Poco/Crypto/Crypto.h" |
18 | #include "Poco/CppUnit/TestCase.h" |
19 | |
20 | |
21 | class EVPTest: public CppUnit::TestCase |
22 | { |
23 | public: |
24 | EVPTest(const std::string& name); |
25 | ~EVPTest(); |
26 | |
27 | void testRSAEVPPKey(); |
28 | void testRSAEVPSaveLoadStream(); |
29 | void testRSAEVPSaveLoadStreamNoPass(); |
30 | |
31 | void testECEVPPKey(); |
32 | void testECEVPSaveLoadStream(); |
33 | void testECEVPSaveLoadStreamNoPass(); |
34 | void testECEVPSaveLoadFile(); |
35 | void testECEVPSaveLoadFileNoPass(); |
36 | |
37 | void setUp(); |
38 | void tearDown(); |
39 | |
40 | static CppUnit::Test* suite(); |
41 | |
42 | private: |
43 | }; |
44 | |
45 | |
46 | #endif // EVPTest_INCLUDED |
47 | |