Commit Graph

246 Commits

Author SHA1 Message Date
Martin Regen e156a3c3da PEM support (#33) 2017-11-15 21:08:43 +01:00
Martin Regen 09fbb05752 Gds work travis (#32)
fix appveyor and travis builds
2017-11-15 09:45:28 +01:00
Martin Regen d2356df0fb fix warnings 2017-11-12 19:44:05 +01:00
Martin Regen 35f737d5af implement UpdateCertificate and self signed test case 2017-11-11 00:40:34 +01:00
Martin Regen a5bb127089 Merge remote-tracking branch 'mregen/pushserver' into gds_work_certs 2017-11-07 16:37:16 +01:00
Martin Regen 915ad5b87c - add cert configuration nodes
- Update cert and sign request is still missing
- no security!
2017-11-07 16:33:15 +01:00
Martin Regen edc8c89838 - add unit test client with nunit framework
- implement RegisterServer test case
2017-10-25 11:59:49 +02:00
Martin Regen beaab50040 lower API surface to netstandard1.3/net46 2017-10-24 14:01:43 +02:00
AlinMoldovean 77fe94f48a Fixes #275 . A clone of the input NodeId should be created. 2017-10-24 14:29:02 +03:00
Martin Regen 84920ad7ff Opc.Ua.Gds constants and types now in Opc.Ua.Core 2017-10-20 13:14:02 +02:00
Martin Regen a2548cc12a GDS console server is working with memory db, but tables are not quite right yet 2017-10-18 16:21:40 +02:00
AlinMoldovean cc84901d74 Fix in ExpandedNodeId constructors - a clone of the input NodeId identifier should be created. 2017-10-16 15:33:46 +03:00
Martin Regen f694e6aefb Merge remote-tracking branch 'origin/master' into gds_work_certs 2017-10-12 13:42:13 +02:00
Martin Regen d2566c60bd X509store mac fix and travis improvements (#264)
* X509store mac os (#31)

* Fix problem when X509Store CurrentUser\\UA_MachineDefault cannot be created on macOS with .NetStandard2.0
Fix: Use CurrentUser\My instead for all machine certs to make console apps portable.

* prep console sample apps for smoke test
* update travis image
* run sample server and client as smoke test


* ignore travis osx build failure until travis is fixed
2017-10-12 11:16:09 +02:00
Martin Regen 8c57d477db fix a race condition during connect, when both addresses return quickly with an error condition TaskCompletionSource could be signaled twice, causing an exception.
Fix: Advance connection counters before connecting
2017-10-09 15:27:22 +02:00
Martin Regen 456441f7dd Merge branch 'gds_to_master' of https://github.com/mregen/UA-.NETStandardLibrary into gds_to_master 2017-10-06 08:37:31 +02:00
Martin Regen e8f8396911 add domain list to CSR 2017-10-06 08:37:23 +02:00
Martin Regen e55a6d6983 Merge branch 'gds_to_master' of https://github.com/mregen/UA-.NetStandardLibrary into gds_to_master 2017-10-05 23:27:17 +02:00
Martin Regen 9f24242c56 cr feedback (2) 2017-10-05 23:27:10 +02:00
Martin Regen f63f7e7e21 CR feedback 2017-10-05 23:09:24 +02:00
Martin Regen 868973d789 Merge from master 2017-10-02 16:31:21 +02:00
Martin Regen d85f37e11b Merge pull request #260 from mregen/issuertrust
Trust only issuer certificates in the trusted store.
2017-09-29 12:37:28 +02:00
Martin Regen e3f37d842b Merge pull request #259 from AlinMoldovean/Trace
Trace updates
2017-09-29 12:26:25 +02:00
Martin Regen 5832fc93ac Merge pull request #255 from mregen/adressesasync
Refactor connect code
2017-09-29 11:26:54 +02:00
Martin Regen d8949377db Merge pull request #256 from mregen/split_solution
Split Solution into Universal Windows and .Net/.NetCore
2017-09-28 17:06:19 +02:00
Martin Regen 72f5214cb7 Trust only issuer certificates in the trusted store.
Certs in issuer store are only used to verify the cert chain.
2017-09-28 17:02:20 +02:00
AlinMoldovean 366ff5cad7 Fixes #212 - Tracing event ported from UA .NET repository 2017-09-28 17:11:44 +03:00
AlinMoldovean a7ba1b27e8 Fixes #232 - Show also date in log entries. 2017-09-28 15:23:58 +03:00
AlinMoldovean d7f27a2f55 Use Reflection in Utils.Clone() to check if a MemberwiseClone method exists. 2017-09-27 17:23:27 +03:00
AlinMoldovean f9bae02357 Fixes #214 - TransportChannel not disposed in ClientBase 2017-09-27 16:58:57 +03:00
Martin Regen 84a6768a1c Split Solution into Universal Windows and .Net/.NetCore 2017-09-26 23:14:05 +02:00
Martin Regen e120dd3006 Callback also for error cases and allow to test all IP Adresses, if responses time out. 2017-09-26 22:29:33 +02:00
Martin Regen 2742d4585c enable sha256 in ref server and fix cert validation check 038 (#247)
* enable sha256 in ref server and fix cert validation check 038

* fix localisation issue in authority key parser

* IOP Workshop: ref server doesn't set source timestamp

* Fix localisation issue with cert extension parsing

* fix exception when issuer cert has no auth key serial number/issuer
2017-09-25 17:13:41 +02:00
Alexandru Dicu 34bb611958 Utils.Clone() bug (#249)
Steps to reproduce:
Create a variable instance of DataType = Opc.Ua.TimeZoneDataType
Read the variable

Actual result:
Opc.Ua.Utils.Clone() throws exception because the cast to Opc.Ua.TimeZoneDataType is not supported.

Expected result:
Variable instance of DataType = Opc.Ua.TimeZoneDataType can be read.
2017-09-25 10:36:24 +02:00
Martin Regen 13522a56d4 Merge pull request #29 from mregen/localisation-fix
IOP workshop fixes
2017-09-22 08:42:25 +02:00
Martin Regen 15bea98de0 fix exception when issuer cert has no auth key serial number/issuer 2017-09-22 08:36:33 +02:00
Martin Regen 6cdc0d488c multiple domain names in subject alternate name 2017-09-21 17:15:54 +02:00
Martin Regen b8f93a71da Fix localisation issue with cert extension parsing 2017-09-21 16:54:01 +02:00
Martin Regen 8917e1160f Merge updates from master 2017-09-21 11:11:46 +02:00
Martin Regen 37c623ef23 fix localisation issue in authority key parser 2017-09-21 11:08:07 +02:00
Martin Regen 02d47f1f09 enable sha256 in ref server and fix cert validation check 038 2017-09-20 15:16:32 +02:00
Martin Regen c0c6833b4c try more addresses if connection is refused 2017-09-17 22:35:51 +02:00
Martin Regen b3c9ce7bc7 Merge pull request #27 from EddiG/refactor
Refactor
2017-09-17 11:21:45 +02:00
Martin Regen 3bd6c31427 Fix issue in GDS client, a cert in a special folder cannot be read 2017-09-17 10:31:09 +02:00
Alin Moldovean ce426ae089 Merge pull request #245 from alexandrudicu/master
bugfix in AlarmsConditionState
2017-09-17 11:02:23 +03:00
Martin Regen d850f64f81 Support .netstandard2.0 (#237)
* add missing ref for build in VSO hosted VS 2017 build

* project to just build Dlls

* target multiple frameworks

* switch to net46/netstandard1.3

* fix projects to allow for netcoreapp 2.0 build

* fix networking for .Net Core 2.0:
SendAsync and ReceiveAsync now frequently return synchronously even if successful. These cases had not been properly handled yet, previous versions never hit these codepaths.

* fix travis build / nugets

* change travis build target

* fix Kestrel https option for netstandard 2.0
tested with Ua Expert against standard and ref server

* Handle special case correctly, when zero bytes are received its ok, or BadTimeout will occur

* simplify connect, reduce DiscoverEndpoint calls
2017-09-15 09:37:32 +02:00
Alexandru Dicu 6591f0aa4e AlarmsConditionsState bug
Based on the old code, the conditions are wrong and redundant. The lines 345 and 353 should check for null.
2017-09-15 07:29:14 +03:00
Martin Regen 731e238833 Make CRLs longer valid 2017-09-14 14:36:19 +02:00
Martin Regen cf37abbd81 Merge remote-tracking branch 'origin/proto_netstandard2.0' into gds_server2 2017-09-12 17:17:18 +02:00
Martin Regen 038914806d Handle special case correctly, when zero bytes are received its ok, or BadTimeout will occur 2017-09-12 09:39:59 +02:00