OPC Studio 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);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

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 member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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