Commit Graph

111 Commits

Author SHA1 Message Date
Martin Regen cfd6cfa670 fix cr feedback, typos 2017-01-24 11:26:10 +01:00
Martin Regen 9a3c3531ee NullListener 2017-01-23 17:11:58 +01:00
Martin Regen 81abf02e97 UaSCBinary is now UaSCUaBinary according to UA-SC UA Binary in the spec 2017-01-23 17:10:49 +01:00
Martin Regen ddcaa9a63d TCPChannel is now UaSCBinary 2017-01-23 17:04:34 +01:00
Martin Regen 245324b7d7 TcpChannelToken is now ChannelToken 2017-01-23 16:59:33 +01:00
Martin Regen 06d9202eaf TcpChannelQuotas is now ChannelQuotas 2017-01-23 16:50:33 +01:00
Martin Regen 59bbf3feb0 TcpAsyncOperation is now ChannelAsyncOperation 2017-01-23 16:40:27 +01:00
Martin Regen b04df2b4d5 TcpClientChannel is now UaScBinaryClientChannel 2017-01-23 16:30:54 +01:00
Martin Regen 3622ea0fb0 eliminate MessageSocketError 2017-01-23 15:13:29 +01:00
Martin Regen d450ef96a8 make TransportChannel generic 2017-01-23 13:19:12 +01:00
Martin Regen dbc32544da refactoring the client channels. Works with Opc.Ua.Proxy. Allows to replace just the socket layer, so the channel, binary encoding and security can be reused. 2017-01-20 18:46:28 +01:00
Martin Regen 8d4bc674c4 add debugtype to project.json 2017-01-12 11:26:46 +01:00
Martin Regen f8876e2f35 reduce usage of Task.Run
build debugType portable
2017-01-12 11:24:16 +01:00
Martin Regen a9958bb683 fix an exception on Linux when the /private cert folder doesn't exist 2017-01-12 09:52:15 +01:00
Erich Barnstedt da44a1109e Fixing CR/LF once and for all! 2017-01-04 14:51:17 +01:00
Martin Regen 17123d28e1 Convert UTF-32 C# sources to UTF-8 (#14)
Causing problems when CRLF conversion is enabled and when diffing in PR.

* SampleServer.cs to UTF-8

* SampleServer.SampleModel.cs to UTF-8

* SampleServer.UserAuthentication.cs to UTF-8

* remove .cs extension from forced text attribute

* DataComparer.cs to UTF-8

* Program.cs to UTF-8
2017-01-03 15:23:44 +01:00
Martin Regen 93026dda2a BackCompat: Allow use of %CommonApplicationData% with .Net 4.6 apps, it is mapped to ProgramData 2016-12-22 17:08:29 +01:00
Martin Regen 660d952f29 ComIOP project compiles and the UA COM Server Wrapper is working
The Proxy is just compiling.
2016-12-22 17:05:30 +01:00
Erich Barnstedt 560063893a Merge pull request #100 from cristipogacean/master
Added support for LDS-ME (merged from https://github.com/cristipogacean/UA-.NET)
2016-12-19 15:47:32 +01:00
Martin Regen d2a35e93c9 custom transport channel needs a factory function to create a new instance per session 2016-12-19 13:51:53 +01:00
Cristian Pogacean 4773374018 Added support for LDS-ME.
RegisterServer2() is called as first option for LDS registration of the server.
The ClientControls was extended to use FindServersonNetwork() into the LDS-ME for discovering the OPC UA Servers announcing themselves using Bonjour services.
2016-12-18 20:37:57 +01:00
Martin Regen a7ce895f7c -Move all uanodes and txt resources into dlls
-delete the obsolete uanodes/txt files in project folders

note: clean build required, make sure all dll are updated in bin folders or resources in dll may not be found
2016-12-16 16:00:17 +01:00
Erich Barnstedt d7c2faf9d9 Merge pull request #94 from mregen/proto_master
Create self signed certs in Opc.Ua.Core
2016-12-09 08:31:55 +01:00
Martin Regen 5c370bd742 cert creation fixes
- certs were not created on Linux w. Openssl if a passcode was missing from the pkcs12 store
- stabilize the creation on windows where UWP is picky about the storage keys to use
- CR feedback
2016-12-08 18:35:31 +01:00
Martin Regen 2148d65084 improve cert handling of sample apps
- create self signed cert on first start (kudos to bouncy castle)
- fix path handling in many areas,
- ./ or ../ is treated as rooted dir
- special %LocalFolder% for UWP apps to allow to write certs in app temp storage
- all batch helpers to create certs removed
2016-12-07 18:29:24 +01:00
Erich Barnstedt e50ea96da2 Merge pull request #92 from mregen/proto_master
- use latest generated and schema files from UA Nodeset (10/19/16) (h…
2016-12-05 21:26:00 +01:00
Martin Regen 29c5519dae - use latest generated and schema files from UA Nodeset (10/19/16) (https://github.com/OPCFoundation/UA-Nodeset)
- remove some yet unsupported functionality for GDS/Pubsub
2016-12-05 14:52:51 +01:00
Erich Barnstedt c4481965ad Merge pull request #91 from OPCFoundation/prototyping
Support for custom transport channel and modified sample app to show usage
2016-12-05 12:51:09 +01:00
Martin Regen a62d11c3fb Basic256Sha256 support 2016-12-02 22:35:00 +01:00
Erich Barnstedt 78973da178 Added support for custom transport channel. 2016-12-02 17:15:35 +01:00
Martin Regen da6b068f9b - CTT testing, improve various test cases, mostly disagnostic related. 2016-12-01 17:14:35 +01:00
Martin Regen baf6f3f6e2 Merge master with prototypes 2016-11-29 12:04:05 +01:00
Martin Regen 55810c6bf0 Pass CTT Security/Security User X509 test cases 2016-11-13 22:08:39 +01:00
Martin Regen 71334315b3 fix CTT test Sessino Services/Session Base/Err-001.js
Create 2 sessions, use the same nonce twice! Expected BadNonceInvalid.
2016-11-12 16:42:19 +01:00
Martin Regen 468b4449d8 fix cert and uri handling
- linux: x509 parsing fixed
- cert app uri should be used if cert is available
- endpoints and uri should contain the hostname not localhost
2016-11-11 10:08:02 +01:00
jtkech cd4dbdcc9c Update Utils.cs 2016-10-27 00:38:44 +02:00
Martin Regen 4600ec2be1 Publisher samples stopped working when they can't serialize the NodeId... 2016-10-13 17:30:24 +02:00
Martin Regen 057912c825 - Fixes found during a CTT test pass. Many fixes also due to sync with .Net codebase.
- Sync codebase of Opc.Ua libraries to UA.Net 1.03.340 source on github.
-CTT stress failures and exceptions all fixed.
-Roughly 2 dozen CTT tests are still with red bubbles. Mainly very special cases.
2016-10-07 16:20:25 +02:00
Martin Regen 029c942a17 clean up the cleanup timer... 2016-09-19 14:13:33 +02:00
Erich Barnstedt 9cfd122255 Merge pull request #63 from mregen/buffermanager2
BufferManager fixes:
2016-09-14 14:09:32 +02:00
Erich Barnstedt 443c918d67 Merge pull request #60 from mregen/crl
Implement CRL support with Bouncy Castle. Tested with issuer certs fr…
2016-09-14 14:05:36 +02:00
Martin Regen 68ed5c07d5 cr feedback. keep set methods, but private. catch the bc exception and respect the throwOnError parameter. 2016-09-14 12:55:41 +02:00
Martin Regen aa4225a5e4 BufferManager fixes:
i)single buffers were never returned
ii)ProcessCloseSecureChannelRequest duplicates call to ReturnBuffer and hit exception
2016-09-14 12:34:56 +02:00
Martin Regen 509d48d2c8 Implement CRL support with Bouncy Castle. Tested with issuer certs from OPC.Ua.CertificateGenerator. Also port latest security updates from UA.Net project. 2016-09-13 17:29:16 +02:00
Erich Barnstedt 5d565637dd Changes required for running UA applications on ASP.Net in the cloud. 2016-09-13 10:08:31 +02:00
Martin Regen 17d04a3399 fix a duplicate ReturnBuffer call, improve the BufferManager tracing. 2016-09-09 15:17:26 +02:00
Martin Regen 050b8add33 Supress the ServiceResultException during graceful shutdown of the TCP channel, as we don't expect an answer from the server. 2016-09-07 17:42:17 +02:00
Martin Regen 291ab27d95 support [IPv6] addresses in URLs.
Let console server auto accept client certs to simplify testing
2016-09-02 12:18:26 +02:00
Martin Regen 771fc5809a fix exception during teardown of tcp listener 2016-09-01 12:38:49 +02:00
Erich Barnstedt 5966fa7dc0 Fix trace file configuration. 2016-08-19 10:05:05 +02:00