Commit Graph

100 Commits

Author SHA1 Message Date
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
Erich Barnstedt 32dfd746d2 Fixed a misleading exception in BufferManager and increased a timeout to make debugging easier. Also removed some dead code. 2016-08-18 17:06:53 +02:00
Recep Karabıçak b4c5f65286 set maximum buffer size properly when constructing a BufferManger
TakeBuffer method of the BufferManager before forwarding the call to the internal BufferManager increases the expected size
this causes it to be bigger than the maximum configured buffer size. At construction internal BufferManager should be configured properly.
2016-08-18 09:43:06 +03:00
Erich Barnstedt d9b688f527 Added 2 clone methods. 2016-08-08 23:33:30 +02:00
Erich Barnstedt bfecd8bc8b 1. Removed "TestPackage" from NuGet configuration.
2. Added generate cert script to project files.
3. Made "\\" platform independent, even for .Net4 samples (apart from GDS samples).
4. Fixed cert validation popups (yes/no was reversed!).
5. Got GDS server and client samples running (no connection yet).
6. Fixed configuration and popups in GDS client.
2016-08-05 10:58:51 +02:00
Erich Barnstedt 1adbef4819 Small fix to enable UserNameIdentityToken parsing. 2016-08-04 15:55:45 +02:00
Erich Barnstedt 4a0bc1429c Merge pull request #43 from mregen/standard
Got GDS compiling.
2016-08-04 06:18:36 -07:00
Erich Barnstedt f85f88d3b2 Got GDS compiling. 2016-08-04 15:08:56 +02:00
Erich Barnstedt 0c676ff278 Merge pull request #41 from mregen/standard
Got GDS common lib compiling.
2016-08-03 14:13:51 -07:00
Erich Barnstedt 95e17e632b Got GDS common lib compiling. 2016-08-03 23:10:24 +02:00
Erich Barnstedt 91aaf09409 Small project file fix. 2016-08-03 22:25:53 +02:00
Erich Barnstedt 2d3679e5f2 Manual merge of pull request #39. 2016-08-03 21:54:54 +02:00