QOpcUaEndpointDescription#
The OPC UA EndpointDescription . More…
Synopsis#
Functions#
def
__eq__
(arg__1)def
endpointUrl
()def
securityLevel
()def
securityMode
()def
securityPolicy
()def
server
()def
serverCertificate
()def
serverRef
()def
setEndpointUrl
(endpointUrl)def
setSecurityLevel
(securityLevel)def
setSecurityMode
(securityMode)def
setSecurityPolicy
(securityPolicy)def
setServer
(server)def
setServerCertificate
(serverCertificate)def
setTransportProfileUri
(transportProfileUri)def
setUserIdentityTokens
(userIdentityTokens)def
transportProfileUri
()def
userIdentityTokens
()def
userIdentityTokensRef
()
Detailed Description#
An endpoint description contains information about an endpoint and how to connect to it.
- class PySide6.QtOpcUa.QOpcUaEndpointDescription#
PySide6.QtOpcUa.QOpcUaEndpointDescription(arg__1)
- Parameters
Constructs an endpoint description from rhs
.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.MessageSecurityMode#
This enum type holds the security mode supported by the endpoint.
Constant
Description
QOpcUaEndpointDescription.Invalid
The default value, will be rejected by the server.
QOpcUaEndpointDescription.None
No security.
QOpcUaEndpointDescription.Sign
Messages are signed but not encrypted.
QOpcUaEndpointDescription.SignAndEncrypt
Messages are signed and encrypted.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.endpointUrl()#
- Return type
str
The URL for the endpoint.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.__eq__(arg__1)#
- Parameters
- Return type
bool
Returns true
if this endpoint description has the same value as rhs
.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.securityLevel()#
- Return type
quint8
Returns a relative index assigned by the server. It describes how secure this endpoint is compared to other endpoints of the same server. An endpoint with strong security measures has a higher security level than one with weaker or no security measures.
Security level 0 indicates an endpoint for backward compatibility purposes which should only be used if the client does not support the security measures required by more secure endpoints.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.securityMode()#
- Return type
Security mode supported by this endpoint.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.securityPolicy()#
- Return type
str
The URI of the security policy.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.server()#
- Return type
The application description of the server.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.serverCertificate()#
- Return type
Returns the application instance certificate of the server.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.serverRef()#
- Return type
Returns a reference to the application description of the server.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setEndpointUrl(endpointUrl)#
- Parameters
endpointUrl – str
Sets the URL for the endpoint to endpointUrl
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityLevel(securityLevel)#
- Parameters
securityLevel –
quint8
Sets the security level to securityLevel
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityMode(securityMode)#
- Parameters
securityMode –
MessageSecurityMode
Sets the security mode supported by this endpoint to securityMode
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setSecurityPolicy(securityPolicy)#
- Parameters
securityPolicy – str
Sets the URI of the security policy to securityPolicy
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setServer(server)#
- Parameters
Sets the application description of the server to server
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setServerCertificate(serverCertificate)#
- Parameters
serverCertificate –
PySide6.QtCore.QByteArray
Sets the application instance certificate of the server to serverCertificate
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setTransportProfileUri(transportProfileUri)#
- Parameters
transportProfileUri – str
Sets the URI of the transport profile supported by the endpoint to transportProfileUri
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.setUserIdentityTokens(userIdentityTokens)#
- Parameters
userIdentityTokens –
Sets the user identity tokens to userIdentityTokens
.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.transportProfileUri()#
- Return type
str
Returns the URI of the transport profile supported by the endpoint.
See also
- PySide6.QtOpcUa.QOpcUaEndpointDescription.userIdentityTokens()#
- Return type
List of user identity tokens the endpoint will accept.
- PySide6.QtOpcUa.QOpcUaEndpointDescription.userIdentityTokensRef()#
- Return type
Returns a reference to a list of user identity tokens the endpoint will accept.