Commit Graph

7 Commits

Author SHA1 Message Date
Julius Pfrommer
eb9409b435 Examples: Use _clear instead of _deleteMembers for the examples 2018-12-09 19:40:02 +01:00
Jose Cabral
1605455a74 Fixes #1925 and clean examples 2018-07-25 08:17:51 +02:00
Sharavanan A R
6d7f08b641 [FIX] Trust list verification for secure client application
- Update UA_ByteString_allocBuffer() to UA_STACKARRAY() in the files
   examples/encryption/client_basic128rsa15.c and examples/encryption/
   client_basic256sha256.c.
 - Handle return value for remote certificate verification in
   ua_client.c file.
 - Update create_self-signed.py to generate CA certificate in .der
   format.

Change-Id: I6e84694c99c561d237ecbafb63b957d19c2e74c9
Signed-off-by: Sharavanan A R <sharavanan.ar@kalycito.com>
2018-04-16 10:44:33 +02:00
StalderT
f144f0eabc fix securityPolicyUri selection (#1713)
* fix example selecting the correct endPoint

* fix ua_client_connect to use the correct policyUri

* fix load certificate order
2018-04-06 11:41:53 +02:00
StalderT
0702cc9bc2 unify include common.h 2018-04-05 12:51:14 +02:00
StalderT
da64add5c0 client basic 256sha256 / server sample / tests / various fixes (#1691)
* client basic 256sha256 / tests / various fixes

* fix server basic256sha256

* remove duplicated loadFile

* Fix fuzzing by making backup of message buffer

* Disable sonarcloud on PRs
2018-03-29 19:15:20 +02:00
Sharavanan A R
9093197f88 [FEATURE] Secure client implementation using basic128rsa15 policy
- The file examples/encryption/client_basic128rsa15.c provides a
   secure communication between client and server by using
   basic128rsa15 security policy.
 - The secure client-server communication is implemented
   based on the OPC UA specification Part 4, setion 6.
 - Line number 176 in file src/client/ua_client.c is commented as
   UA_SecureChannel_deleteMembers already done in
   UA_client_disconnect function.
 - Load revocation list is not supported in this commit.

Change-Id: I9aa06dce6ac000c290accc57f1147a919ec74f1e
Signed-off-by: Sharavanan A R <sharavanan.ar@kalycito.com>
2018-03-24 18:44:54 +01:00