Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes
opcua.ua.uaprotocol_hand.SecureConnection Class Reference

List of all members.

Public Member Functions

def __init__
def close
def is_open
def message_to_binary
def open
def receive_from_header_and_body
def receive_from_socket
def select_policy
def set_channel
def set_policy_factories
def tcp_to_binary

Public Attributes

 channel

Private Member Functions

def _check_incoming_chunk
def _receive

Static Private Member Functions

def _policy_matches

Private Attributes

 _incoming_parts
 _max_chunk_size
 _old_tokens
 _open
 _peer_sequence_number
 _policies
 _security_policy
 _sequence_number

Detailed Description

Common logic for client and server

Definition at line 483 of file uaprotocol_hand.py.


Constructor & Destructor Documentation

def opcua.ua.uaprotocol_hand.SecureConnection.__init__ (   self,
  security_policy 
)

Definition at line 488 of file uaprotocol_hand.py.


Member Function Documentation

Definition at line 584 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection._policy_matches (   policy,
  uri,
  mode = None 
) [static, private]

Definition at line 538 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection._receive (   self,
  msg 
) [private]

Definition at line 672 of file uaprotocol_hand.py.

Definition at line 524 of file uaprotocol_hand.py.

Definition at line 527 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection.message_to_binary (   self,
  message,
  message_type = MessageType.SecureMessage,
  request_id = 0,
  algohdr = None 
)
Convert OPC UA secure message to binary.
The only supported types are SecureOpen, SecureMessage, SecureClose
if message_type is SecureMessage, the AlgoritmHeader should be passed as arg

Definition at line 560 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection.open (   self,
  params,
  server 
)
called on server side to open secure channel

Definition at line 505 of file uaprotocol_hand.py.

Convert MessageHeader and binary body to OPC UA TCP message (see OPC UA
specs Part 6, 7.1: Hello, Acknowledge or ErrorMessage), or a Message
object, or None (if intermediate chunk is received)

Definition at line 626 of file uaprotocol_hand.py.

Convert binary stream to OPC UA TCP message (see OPC UA
specs Part 6, 7.1: Hello, Acknowledge or ErrorMessage), or a Message
object, or None (if intermediate chunk is received)

Definition at line 658 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection.select_policy (   self,
  uri,
  peer_certificate,
  mode = None 
)

Definition at line 541 of file uaprotocol_hand.py.

Called on client side when getting secure channel data from server

Definition at line 499 of file uaprotocol_hand.py.

Set a list of available security policies.
Use this in servers with multiple endpoints with different security

Definition at line 530 of file uaprotocol_hand.py.

def opcua.ua.uaprotocol_hand.SecureConnection.tcp_to_binary (   self,
  message_type,
  message 
)
Convert OPC UA TCP message (see OPC UA specs Part 6, 7.1) to binary.
The only supported types are Hello, Acknowledge and ErrorMessage

Definition at line 550 of file uaprotocol_hand.py.


Member Data Documentation

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.

Definition at line 488 of file uaprotocol_hand.py.


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


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Sat Jun 8 2019 18:26:25