Commit Graph

341 Commits

Author SHA1 Message Date
AlinMoldovean 33bfecea50 Add getter for stream in BinaryDecoder 2019-04-11 13:34:42 +03:00
AlinMoldovean f5a64e2e46 Fixes #666 - null pointer reference 2019-04-03 16:24:35 +03:00
AlinMoldovean c8ac8e6b5e Fixes #673 - Incorrect IssuedTokenType for JWT tokens 2019-04-02 16:49:40 +03:00
Alin Moldovean 50c9a67735 Merge pull request #681 from OctaviaStan/master
Add Extension property to NodeSet to enable usage of Extension proper…
2019-03-22 11:33:45 +02:00
Octavia Stan 7a30aa1d26 Add Extension property to NodeSet to enable usage of Extension property of an imported/exported UANode
Add correction to UserAccessLevel at import time if it was not specified
Add correction to UserWriteMask at import time if it was not specified
Use MethodDeclarationId from an UANode at import time
2019-03-21 12:35:59 +02:00
AlinMoldovean 65502ccd62 Update in CertificateValidator.Validate() to require the complete chain. 2019-03-19 16:31:31 +02:00
Martin Regen 64db8c73a9 IOP GDS cert related fixes (#674)
* do not require server capabilities
* fixes for cert creation key usage flags
2019-03-18 12:37:04 +01:00
AlinMoldovean 8b374a7448 Copyright year set to 2019 in license notices. 2019-02-14 12:34:33 +02:00
AlinMoldovean ec70f7d34f Fixes #639 - InvalidCastException when passing an enumeration 2019-02-13 18:26:40 +02:00
Thomas Zeugner 23551e7422 Use [Flags] on NodeStateChangeMasks (#642)
Tell the compiler that bitwise operators are allowed on NodeStateChangeMasks
2019-02-13 18:12:38 +02:00
Marc Schier def3126c5d Fix travis build and interop in binary decoder (#645)
* Fix interop where a server is responding with a 0 terminated string.  In particular xml document read with malformed string causes XML exception. 

* Do not check position before checking Stream.CanSeek when decoding to avoid exception.  This will use the memory allocation path to do random access read.

* Fix .travis build due to failing test on mono
2019-02-13 17:02:21 +01:00
Martin Regen a0c4631d28 enable Pss padding for Aes 256 profile on .Net4.x (#638) 2019-02-05 15:01:31 +01:00
Alin Moldovean ea1911c4a1 Update UA NodeSets and generated code with the latest fixes for V1.04 (#637) 2019-02-05 16:00:12 +02:00
Alin Moldovean 612b50694c Bugfix for NodeState.UserWriteMask getter (#631) 2019-01-23 11:27:01 +02:00
Michi 69025001ab EventFilter now considers BrowseName, NodeClass and NodeId of Variables when filtering an event (#619) 2019-01-15 15:45:35 +02:00
Alin Moldovean b8d911c569 Updates for V1.04 attributes in Client and Server (#614)
* Update for 1.04 attributes in ClientSession.ReadNode()

* Fix in ClientSession.ReadNode()

* Updates for 1.04 Attributes in server.

* Discard inner value for attributes with bad status codes in ClientSession.ReadNode().

* Remove unused attribute from AttributeWriteMask
2018-12-17 12:53:19 +02:00
Robin Mattheussen 94e2a74dc8 Added OnReferenceAdded and OnReferenceRemoved handlers to NodeState 2018-11-12 19:31:05 +01:00
Martin Regen 7deec9d782 Update Bouncy Castle to 1.8.4 (#583) 2018-11-09 09:42:58 +01:00
Martin Regen d007a41d15 Add Aes profile support (#574)
* add the Aes128 and Aes256 profiles
* Aes profies were tested on IoP workshop against Ascolab, Softing, Matrikon, Milo, ProSys and others
* Pss padding is not supported on all platforms, so autodetect if it is supported and filter out Aes256 if not
* not a breaking change: not specifying the SecurityProfileUri in the config xml will automatically add all supported profiles but not deprecated profiles (e.g. Basic256Sha256, Aes128, Aes256). Aes256 is only added if the platform supports Pss padding. This will simplify the maintenance of config xml, since automatically all supported and secure profiles are exposed.
2018-10-29 09:58:45 +01:00
Marc Schier a3810831ef Introduce interface between listener and channel and make channel ext… (#572)
* Introduce interface between listener and channel and make channel extendable

* Fix build

* Code review feedback

* Code review feedback
2018-10-26 21:09:21 -07:00
Michael Wiarda f12e537606 Update Stack/Opc.Ua.Core/Types/Encoders/JsonEncoder.cs
Corrected EncodingType for JsonEncoder
2018-10-21 19:11:08 +02:00
AlinMoldovean 31a8235007 Added DecimalDataType node in ReferenceServer.
Predefined nodes updated to include DecimalDataType structure.
2018-10-12 16:00:40 +03:00
AlinMoldovean 5f91c46a0c Fixes #540. Update in Utils.Clone() method. 2018-09-24 18:41:39 +03:00
Alin Moldovean a4443db382 Merge pull request #516 from OPCFoundation/jsonencoderqnfix
Write qualified name strings with quotation marks
2018-09-13 17:55:57 +03:00
Marc Schier a61ee3591f Write qualified name strings with quotation marks 2018-08-07 19:22:26 +02:00
AlinMoldovean 036320221b Create custom configuration settings and validators for user certificates. #383 2018-08-06 17:13:49 +03:00
Martin Regen 6ef3b7bbc5 follow guidance of CVE-2018-8356 and Microsoft Security Advisory 4021279 2018-07-31 14:51:20 +02:00
Martin Regen ced33e1957 Improvements for cloud based Gds and V1.04 nodes (#508)
- all changes for cloud based GDS
 - build version of .net standard libs is now set in version.props, it may require updates for the official builds.
  - add new stuff for v1.04 nodeset, e.g. QueryApplications Api
  - gds.client/gds.server common dll changes to support a cloud based GDS.
2018-07-31 13:32:21 +02:00
Alin Moldovean 85f77cdab4 Fix for Mantis #4317. Limit recursion level in ExtensionObject. (#496) 2018-07-09 17:33:56 +03:00
Alin Moldovean 0d08d40180 Update NodeSets and generated code with latest fixes for V1.04 (#487)
Update NodeSets and generated code with latest fixes for V1.04 Errata
2018-06-26 09:29:36 +03:00
AlinMoldovean 51e416da34 Fix for prevent downloading DTD references when decoding an XmlDocument. 2018-05-30 15:53:24 +03:00
Martin Regen da2afd82c2 catch an exception which may occur in rare cases (#439) 2018-05-05 09:28:50 +02:00
AlinMoldovean 8b72de7cae Fixes #231 - TraceOutput.StdOutAndFile removed since not supported 2018-05-03 17:26:52 +03:00
AlinMoldovean 49fb32fdce Assembly version set to 1.04.353 2018-05-03 15:11:48 +03:00
Alin Moldovean eb5d0b2ee9 Merge pull request #415 from OPCFoundation/v1.03
Integrate V1.03 to master
2018-03-30 13:28:38 +03:00
AlinMoldovean 27ff681320 Assembly version set to 1.03.352 2018-03-29 16:23:01 +03:00
Martin Regen 3c1159ec71 add v1.04 caps (#406) 2018-03-26 10:39:46 +02:00
Martin Regen fb8a3884d9 nonce should be compared without revealing timing information. (#407) 2018-03-26 09:08:25 +02:00
AlinMoldovean 3cdfe56f32 NodeSets and generated code updated to include UserCredentialCertificateType 2018-03-19 12:35:09 +02:00
Martin Regen ec5cdd5ab6 Merge pull request #403 from OPCFoundation/v1.03
reverse integrate V1.03 to master (v1.04)
2018-03-16 19:35:08 +01:00
Martin Regen e2a4020984 Fix V103 nohttps build (#401)
- Fix the NO_HTTPS build to reduce publish size if HTTPS is not needed
e.g. `dotnet build /p:NoHttps=true`
- Limit language Version to C#6 for VS 2015 compat
- add travis & appveyor cases for nohttps build
- enable GDS Https transport
- update nuspec
2018-03-16 10:21:32 +01:00
AlinMoldovean c2fbfaa0e6 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-15 13:55:25 +02:00
AlinMoldovean 3d41b8fc32 "XmlAnyAttributeAttribute" attributes removed from OPCBinarySchema - generates issues for Xamarin 2018-03-14 15:51:02 +02:00
Marc Schier 694cbeab91 Merge fix from master (#393) 2018-03-12 13:28:40 +01:00
Marc Schier 467acc5d13 Fix nesting level overflows when value is null (#392) 2018-03-12 11:31:40 +01:00
Martin Regen bc78cded47 Merge pull request #387 from OPCFoundation/v1.03
reverse integrate V1.03 to master
2018-03-08 20:53:35 +01:00
Martin Regen b068633b24 Fix https server start in quickstart apps (#386)
- add helper batch files to start / stop all apps
- distribute ports to be able to run all apps at the same time
- fix config files
- fix csproj to include libuv.dll for kestrel servers
- fix race condition in https listener
2018-03-08 20:50:04 +01:00
AlinMoldovean 6ba20ba31a fix tabs in ApplicationConfiguration.xsd 2018-03-07 18:53:36 +02:00
AlinMoldovean 17dc14bcc5 Implement #362 - Certificate chain support. 2018-03-07 18:44:00 +02:00
Martin Regen 21cc6cb178 Merge pull request #377 from OPCFoundation/v1.03
V1.03 reverse integrate to master
2018-03-02 14:28:39 +01:00