QuickOPC User's Guide and Reference
CertificateAcceptancePolicy Property (_UAEndpointDescriptor)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComTypes Namespace > _UAEndpointDescriptor Interface : CertificateAcceptancePolicy Property
Determines which server certificates are accepted.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Property CertificateAcceptancePolicy As UACertificateAcceptancePolicy
'Usage
 
Dim instance As _UAEndpointDescriptor
Dim value As UACertificateAcceptancePolicy
 
instance.CertificateAcceptancePolicy = value
 
value = instance.CertificateAcceptancePolicy
[CanBeNull()]
UACertificateAcceptancePolicy CertificateAcceptancePolicy {get; set;}
[CanBeNull()]
property UACertificateAcceptancePolicy^ CertificateAcceptancePolicy {
   UACertificateAcceptancePolicy^ get();
   void set (    UACertificateAcceptancePolicy^ value);
}
Remarks

When null, a policy from the shared parameters is used.

DO NOT SET THIS PROPERTY. Currently, any non-null value different from the global settings will cause an error upon connection to the endpoint, because endpoint-specific certificate acceptance policy cannot be reliably implemented with the underlying UA stack.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also