Skip to content

ServerPushConfigurationClient lacks overloads that accept an arbitrary certificate group id #3571

@Tyrrx

Description

@Tyrrx

Type of issue

  • Bug
  • Enhancement
  • Compliance
  • Question
  • Help wanted

Current Behavior

The following methods of the ServerPushConfigurationClient are lacking and overload that accepts an arbitrary certificate group id:

  1. ReadTrustListAsync
  2. UpdateTrustListAsync
  3. AddCertificateAsync
  4. RemoveCertificateAsync

Expected Behavior

The described methods have an overload that accept a NodeId certificateGroupId for specifying to with certificate group the operation is applied, so that a consumer of the library has the possibility to update / read trust lists or add / remove certificates of any server certificate group. In order to not break existing clients I would create an overload for that. I would also fall back to the default application group if the NodeId certificateGroupId is null.

Method syntax could be like:

public async Task<TrustListDataType> ReadTrustListAsync(
    NodeId certificateGroupId,
    TrustListMasks masks = TrustListMasks.All,
    long maxTrustListSize = 0,
    CancellationToken ct = default)
{}

Steps To Reproduce

No response

Environment

- OS: Linux (NixOS 25.11)
- Environment: Rider
- Runtime: .NET 8.0
- Nuget Version: 1.5.378.106
- Component: Opc.Ua.Gds.Client
- Server:
- Client: ServerPushConfigurationClient

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions