Commit Graph

8 Commits

Author SHA1 Message Date
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Stefan Profanter 9fb454760d Consistantly use UA_Boolean instead of bool 2018-06-26 11:52:52 +02:00
Stefan Profanter 880b5fb33c Merge remote-tracking branch 'upstream/0.3' into feature/unit-tests/securechannel 2018-04-12 11:56:50 +02:00
Mark Giraud 37e8654da8 SecurityPolicy Interface change (#1613)
* Always use functions to get sizes and lengths.

This makes for better encapsulation and unifies the interface usage for
asymmetric and symmetric modules

* Add nonce length to SecurityPolicy and use it.

Previousely the key length was used as nonce length, which was
incorrect.
This only worked for basic128rsa15.

* Add certificate signing algorithm to interface

* Remove unnecessary functions from SecurityPolicy interface

* allow session to switch over to a new securechannel
2018-02-26 22:14:39 +01:00
Mark 1764a93548 Added sendSymmetric tests for mode and parameters 2017-12-11 15:39:56 +01:00
Mark b0a358d4c5 Added tests for the generateNonce function 2017-11-30 10:08:50 +01:00
Mark 3d6ad6a0cb Add tests and possibility to set key sizes in test
New tests that test for correct message structure and correct padding calculation.
Also, it is now possible to set key sizes and so forth in each test.
Defaults are provided by the setup functions.
2017-11-30 10:08:50 +01:00
Mark e7f80f9779 -Added testing SecurityPolicy
-Added generateNewKeys test
2017-11-30 10:08:50 +01:00