1//
2// RSATest.h
3//
4// Definition of the RSATest 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 RSATest_INCLUDED
14#define RSATest_INCLUDED
15
16
17#include "Poco/Crypto/Crypto.h"
18#include "Poco/CppUnit/TestCase.h"
19
20
21class RSATest: public CppUnit::TestCase
22{
23public:
24 RSATest(const std::string& name);
25 ~RSATest();
26
27 void testRSANewKeys();
28 void testRSANewKeysNoPassphrase();
29 void testRSASign();
30 void testRSASignSha256();
31 void testRSASignManipulated();
32 void testRSACipher();
33 void testRSACipherLarge();
34 void testRSACertificate();
35
36 void setUp();
37 void tearDown();
38
39 static CppUnit::Test* suite();
40
41private:
42};
43
44
45#endif // RSATest_INCLUDED
46