ANSI C UA Server SDK  1.5.1.313
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
UaServer_Endpoint Struct Reference

Contains the configuration of one endpoint. More...

#include <uaserver.h>

Data Fields

OpcUa_String sEndpointUrl
 URL of the Endpoint; this URL is used for Discovery and to open the Endpoints in the UA stack if no sBindUrl is configured. More...
 
OpcUa_String sBindUrl
 Optional URL that allows to define a specific address the stack should use to bind to. More...
 
OpcUa_UInt uNoOfSecurityPolicyConfigurations
 Number of configured SecurityPolicyConfigurations that will be supported by the endpoint. More...
 
OpcUa_Endpoint_SecurityPolicyConfiguration * pSecurityPolicyConfigurations
 The configured SecurityPolicyConfigurations. More...
 
OpcUa_UInt uNoOfUserTokenPolicy
 Number of configured UserTokenPolicies that will be supported by the endpoint. More...
 
OpcUa_UserTokenPolicypUserTokenPolicy
 The configured UserTokenPolicies. More...
 
OpcUa_String ServerCertificateLocation
 Path to the certificate of the server. More...
 
OpcUa_String ServerPrivateKeyLocation
 Path to the private key of the server. More...
 
OpcUa_CertificateStoreConfiguration PkiConfig
 The PkiConfig structure. More...
 
OpcUa_String PkiConfigName
 Identifier for the configuration set in PkiConfig.
 
OpcUa_Boolean bTrustAllClientCertificates
 This option can be activated if certificates are used only for message security but not for application authentication. More...
 
OpcUa_Boolean bDisableErrorCertificateTimeInvalid
 Flag used to disable the client certificate validation error BadCertificateTimeInvalid. More...
 
OpcUa_Boolean bDisableErrorCertificateIssuerTimeInvalid
 Flag used to disable the client certificate validation error BadCertificateIssuerTimeInvalid. More...
 
OpcUa_Boolean bDisableErrorCertificateRevocationUnknown
 Flag used to disable the client certificate validation error BadCertificateRevocationUnknown. More...
 
OpcUa_Boolean bDisableErrorCertificateIssuerRevocationUnknown
 Flag used to disable the client certificate validation error BadCertificateIssuerRevocationUnknown. More...
 

Detailed Description

Contains the configuration of one endpoint.

Field Documentation

OpcUa_Boolean UaServer_Endpoint::bDisableErrorCertificateIssuerRevocationUnknown

Flag used to disable the client certificate validation error BadCertificateIssuerRevocationUnknown.

OpcUa_Boolean UaServer_Endpoint::bDisableErrorCertificateIssuerTimeInvalid

Flag used to disable the client certificate validation error BadCertificateIssuerTimeInvalid.

OpcUa_Boolean UaServer_Endpoint::bDisableErrorCertificateRevocationUnknown

Flag used to disable the client certificate validation error BadCertificateRevocationUnknown.

OpcUa_Boolean UaServer_Endpoint::bDisableErrorCertificateTimeInvalid

Flag used to disable the client certificate validation error BadCertificateTimeInvalid.

OpcUa_Boolean UaServer_Endpoint::bTrustAllClientCertificates

This option can be activated if certificates are used only for message security but not for application authentication.

If set to true, all client certificates will be accepted automatically and they are not stored. It is strongly recommended to use this option only together with user authentication.

OpcUa_CertificateStoreConfiguration UaServer_Endpoint::PkiConfig

The PkiConfig structure.

OpcUa_Endpoint_SecurityPolicyConfiguration* UaServer_Endpoint::pSecurityPolicyConfigurations

The configured SecurityPolicyConfigurations.

OpcUa_UserTokenPolicy* UaServer_Endpoint::pUserTokenPolicy

The configured UserTokenPolicies.

OpcUa_String UaServer_Endpoint::sBindUrl

Optional URL that allows to define a specific address the stack should use to bind to.

Can be used to bind the endpoint to a specific network card or to localhost only.
[gethostname] can be used as placeholder for the computer name.

OpcUa_String UaServer_Endpoint::sEndpointUrl

URL of the Endpoint; this URL is used for Discovery and to open the Endpoints in the UA stack if no sBindUrl is configured.

[gethostname] can be used as placeholder for the computer name.
The following configuration alternatives are available:

  • opc.tcp://MyComputer:48020
    The endpoint is bound to all IP addresses on all network interfaces. If the host has a dual protocol enabled TCP/IP stack this includes all network protocol families. If this functionality is not available, the configured preferred protocol (IPv4 of IPv6; part of the UA stack configuration) is used and the endpoint will only be reachable on network interfaces supporting this protocol type. The URL with the host name is returned to clients during discovery.
  • opc.tcp://[gethostname]:48020
    The SDK replaces [gethostname] with the host name. Apart from that it behaves exactly like the option above.
  • opc.tcp://192.168.0.15:48020
    The endpoint is bound only to the IPv4 address and the URL with the IP address is returned to clients during discovery.
  • opc.tcp://[fe80::20ec:3acb:55d9:a3da]:48020
    The endpoint is bound only to the IPv6 address and the URL with the IP address is returned to clients during discovery.
OpcUa_String UaServer_Endpoint::ServerCertificateLocation

Path to the certificate of the server.

OpcUa_String UaServer_Endpoint::ServerPrivateKeyLocation

Path to the private key of the server.

OpcUa_UInt UaServer_Endpoint::uNoOfSecurityPolicyConfigurations

Number of configured SecurityPolicyConfigurations that will be supported by the endpoint.

OpcUa_UInt UaServer_Endpoint::uNoOfUserTokenPolicy

Number of configured UserTokenPolicies that will be supported by the endpoint.


The documentation for this struct was generated from the following file: