MessageSecurityMode#

class MessageSecurityMode(value)#

Bases: object

A semantic OPC UA integer value with typed constants and equality.

Construct a semantic value from its native integer representation.

Parameters:

value (int)

Native numeric value or flag bits.

Returns:

object – The corresponding typed wrapper.

Examples

>>> from instro.opcua.types import AttributeId
>>> AttributeId(13) == AttributeId.VALUE
True

Attributes

NONE = MessageSecurityMode(1)#
SIGN = MessageSecurityMode(2)#
SIGN_AND_ENCRYPT = MessageSecurityMode(3)#
value#