Skip to content

OPC UA 1.04 Maintenance Update

Compare
Choose a tag to compare
@opcfoundation-org opcfoundation-org released this 17 Dec 11:25

New implementation of many X509 related functions based on new System.Formats.Asn1 library

  • Based on the new System.Formats.Asn1 library released with .NET Core 5 many ASN.1 encoding and decoding operations have been reimplemented to reduce the dependency on an external crypto library called bouncy castle.
  • The X509 code located in Security/Certificates was refactored and reimplemented to seperate the X509 ASN.1 encoder/decoder functions from Core into a new assembly called Opc.Ua.Security.Certificates with source code under MIT license.
  • New CertificateBuilder and CrlBuilder class APIs allow for simplified cert and crl creation and are prepared for future ECC support.
  • For applications which use the .NET Standard 2.1 version of the core library (e.g. .NET Core 3.1 applications) the built in CertificateRequest class is used to create certificates and the dependency on the bouncy castle library is completely removed.
    Note: The GDS server libraries still use bouncy castle to decode CSRs even on .NET Core 3. Reimplementation is tbd.

Breaking change for some Utils functions

  • many X509 helper functions which were located in Utils found a new home in the X509Utils class.

Released packages

OPCFoundation.NetStandard.Opc.Ua.Core
OPCFoundation.NetStandard.Opc.Ua.Security.Certificates
OPCFoundation.NetStandard.Opc.Ua.Configuration
OPCFoundation.NetStandard.Opc.Ua.Server
OPCFoundation.NetStandard.Opc.Ua.Client
OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes
OPCFoundation.NetStandard.Opc.Ua.Bindings.Https

For improved debug experience in combination with the nuget symbol server there exist also packages with the extension .Debug.
To reduce application footprint it is recommended to switch to individual package dependencies instead of the combined packages in previous releases.

Packages compatible with previous releases

OPCFoundation.NetStandard.Opc.Ua
OPCFoundation.NetStandard.Opc.Ua.Symbols
OPCFoundation.NetStandard.Opc.Ua.Client.ComplexTypes.Symbols

Changes:

  • acd1115 mark as release
  • f904139 Refactor CertificateFactory, remove bouncy castle dependency in Opc.Ua.Core for .NET Core 3.1 (#1209)

This list of changes was auto generated.