[Server] Fix: Return full CertificateChain after Certificate Update #3510
Annotations
10 warnings
Build:
Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs#L648
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'UaSCUaBinaryClientChannel.ProcessOpenSecureChannelResponse(uint, ArraySegment<byte>)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Stack/Opc.Ua.Core/Stack/Configuration/SecurityConfigurationManager.cs#L95
Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Build:
Stack/Opc.Ua.Core/Stack/Tcp/TcpTransportListener.cs#L188
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'TcpTransportListener.UpdateChannelLastActiveTime(string)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/XmlEncoder.cs#L539
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/JsonEncoder.cs#L1103
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/BinaryEncoder.cs#L586
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Build:
Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs#L648
The behavior of 'string.Format(string, object)' could vary based on the current user's locale settings. Replace this call in 'UaSCUaBinaryClientChannel.ProcessOpenSecureChannelResponse(uint, ArraySegment<byte>)' with a call to 'string.Format(IFormatProvider, string, params object[])'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Stack/Opc.Ua.Core/Stack/Configuration/SecurityConfigurationManager.cs#L95
Avoid inexact read with 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Build:
Stack/Opc.Ua.Core/Stack/Tcp/TcpTransportListener.cs#L188
The behavior of 'Convert.ToUInt32(string)' could vary based on the current user's locale settings. Replace this call in 'TcpTransportListener.UpdateChannelLastActiveTime(string)' with a call to 'Convert.ToUInt32(string, IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
|
Build:
Stack/Opc.Ua.Core/Types/Encoders/XmlEncoder.cs#L539
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
|
Loading