Type of issue
Current Behavior
The following methods of the ServerPushConfigurationClient are lacking and overload that accepts an arbitrary certificate group id:
ReadTrustListAsync
UpdateTrustListAsync
AddCertificateAsync
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
Type of issue
Current Behavior
The following methods of the
ServerPushConfigurationClientare lacking and overload that accepts an arbitrary certificate group id:ReadTrustListAsyncUpdateTrustListAsyncAddCertificateAsyncRemoveCertificateAsyncExpected Behavior
The described methods have an overload that accept a
NodeId certificateGroupIdfor 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 theNodeId certificateGroupIdis null.Method syntax could be like:
Steps To Reproduce
No response
Environment
Anything else?
No response