mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-06 05:27:50 +00:00
44 lines
664 B
C++
44 lines
664 B
C++
//
|
|
// ECTest.h
|
|
//
|
|
//
|
|
// Definition of the ECTest class.
|
|
//
|
|
// Copyright (c) 2008, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef ECTest_INCLUDED
|
|
#define ECTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Crypto/Crypto.h"
|
|
#include "Poco/CppUnit/TestCase.h"
|
|
|
|
|
|
class ECTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
ECTest(const std::string& name);
|
|
~ECTest();
|
|
|
|
void testCurveNIDName();
|
|
void testECNewKeys();
|
|
void testECNewKeysNoPassphrase();
|
|
void testECDSASignSha256();
|
|
void testECDSASignManipulated();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // ECTest_INCLUDED
|