UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaEndpointSecuritySetting Class Reference

UaEndpointSecuritySetting. More...

#include <uaendpoint.h>

Public Member Functions

 UaEndpointSecuritySetting ()
 construction
 
 UaEndpointSecuritySetting (const UaEndpointSecuritySetting &other)
 construction More...
 
virtual ~UaEndpointSecuritySetting ()
 destruction
 
UaEndpointSecuritySettingoperator= (const UaEndpointSecuritySetting &other)
 Implements the operator = for UaEndpointSecuritySetting. More...
 
void setSecurityPolicy (UaString sSecurityPolicy)
 Set the security policy to support in the security setting. More...
 
UaStatus addMessageSecurityMode (OpcUa_UInt16 uMessageSecurityMode)
 Add a message security mode to support. More...
 
OpcUa_UInt16 numberOfMessageSecurityModes () const
 Get number of message security modes supported by the endpoint. More...
 

Protected Attributes

UaString m_sSecurityPolicy
 List of security policies to support in the endpoint. More...
 
OpcUa_UInt16 m_uMessageSecurityModes
 Security modes supported by the endpoint. More...
 

Detailed Description

Constructor & Destructor Documentation

UaEndpointSecuritySetting::UaEndpointSecuritySetting ( const UaEndpointSecuritySetting other)

construction

Parameters
otherthe UaEndpointSecuritySetting to assign.

Member Function Documentation

UaStatus UaEndpointSecuritySetting::addMessageSecurityMode ( OpcUa_UInt16  uMessageSecurityMode)

Add a message security mode to support.

Parameters
uMessageSecurityModeMessage security mode to add. Possible values are:
  • OPCUA_ENDPOINT_MESSAGESECURITYMODE_NONE 0x01
  • OPCUA_ENDPOINT_MESSAGESECURITYMODE_SIGN 0x02
  • OPCUA_ENDPOINT_MESSAGESECURITYMODE_SIGNANDENCRYPT 0x04
Returns
Error code
OpcUa_UInt16 UaEndpointSecuritySetting::numberOfMessageSecurityModes ( ) const

Get number of message security modes supported by the endpoint.

Returns
the number of message security modes supported by the endpoint.
UaEndpointSecuritySetting & UaEndpointSecuritySetting::operator= ( const UaEndpointSecuritySetting other)

Implements the operator = for UaEndpointSecuritySetting.

Parameters
otherthe UaEndpointSecuritySetting to assign.
Returns
Assignment operator.
void UaEndpointSecuritySetting::setSecurityPolicy ( UaString  sSecurityPolicy)

Set the security policy to support in the security setting.

Parameters
sSecurityPolicyThe security policy in case of open or renew.

Member Data Documentation

UaString UaEndpointSecuritySetting::m_sSecurityPolicy
protected

List of security policies to support in the endpoint.

OpcUa_UInt16 UaEndpointSecuritySetting::m_uMessageSecurityModes
protected

Security modes supported by the endpoint.


The documentation for this class was generated from the following files: