OPC UA EndpointDescription . 更多...
头: | #include <QOpcUaEndpointDescription> |
qmake: | QT += opcua |
enum | MessageSecurityMode { Invalid, None, Sign, SignAndEncrypt } |
|
|
QOpcUaEndpointDescription (const QOpcUaEndpointDescription & rhs ) | |
QOpcUaEndpointDescription & | operator= (const QOpcUaEndpointDescription & rhs ) |
QString | endpointUrl () const |
quint8 | securityLevel () const |
QOpcUaEndpointDescription::MessageSecurityMode | securityMode () const |
QString | securityPolicy () const |
QOpcUaApplicationDescription | server () const |
QByteArray | serverCertificate () const |
QOpcUaApplicationDescription & | serverRef () |
void | setEndpointUrl (const QString & endpointUrl ) |
void | setSecurityLevel (quint8 securityLevel ) |
void | setSecurityMode (QOpcUaEndpointDescription::MessageSecurityMode securityMode ) |
void | setSecurityPolicy (const QString & securityPolicy ) |
void | setServer (const QOpcUaApplicationDescription & server ) |
void | setServerCertificate (const QByteArray & serverCertificate ) |
void | setTransportProfileUri (const QString & transportProfileUri ) |
void | setUserIdentityTokens (const QVector<QOpcUaUserTokenPolicy> & userIdentityTokens ) |
QString | transportProfileUri () const |
QVector<QOpcUaUserTokenPolicy> | userIdentityTokens () const |
QVector<QOpcUaUserTokenPolicy> & | userIdentityTokensRef () |
bool | operator== (const QOpcUaEndpointDescription & rhs ) const |
端点描述包含端点和如何连接到它的有关信息。
This enum type holds the security mode supported by the endpoint.
常量 | 值 | 描述 |
---|---|---|
QOpcUaEndpointDescription::Invalid
|
0
|
The default value, will be rejected by the server. |
QOpcUaEndpointDescription::None
|
1
|
不安全。 |
QOpcUaEndpointDescription::Sign
|
2
|
Messages are signed but not encrypted. |
QOpcUaEndpointDescription::SignAndEncrypt
|
3
|
Messages are signed and encrypted. |
The URL for the endpoint.
访问函数:
QString | endpointUrl () const |
Security mode supported by this endpoint.
访问函数:
QOpcUaEndpointDescription::MessageSecurityMode | securityMode () const |
The URI of the security policy.
访问函数:
QString | securityPolicy () const |
The application description of the server.
访问函数:
QOpcUaApplicationDescription | server () const |
List of user identity tokens the endpoint will accept.
访问函数:
QVector<QOpcUaUserTokenPolicy> | userIdentityTokens () const |
Constructs an endpoint description from rhs .
设置值从 rhs in this endpoint description.
Returns the URL for the endpoint.
注意: Getter function for property endpointUrl.
另请参阅 setEndpointUrl ().
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.
另请参阅 setSecurityLevel ().
Returns the security mode supported by this endpoint.
注意: Getter function for property securityMode.
另请参阅 setSecurityMode ().
Returns the URI of the security policy.
注意: Getter function for property securityPolicy.
另请参阅 setSecurityPolicy ().
Returns the application description of the server.
注意: Getter function for property server.
另请参阅 setServer ().
Returns the application instance certificate of the server.
另请参阅 setServerCertificate ().
Returns a reference to the application description of the server.
Sets the URL for the endpoint to endpointUrl .
另请参阅 endpointUrl ().
Sets the security level to securityLevel .
另请参阅 securityLevel ().
Sets the security mode supported by this endpoint to securityMode .
另请参阅 securityMode ().
Sets the URI of the security policy to securityPolicy .
另请参阅 securityPolicy ().
Sets the application description of the server to server .
另请参阅 server ().
Sets the application instance certificate of the server to serverCertificate .
另请参阅 serverCertificate ().
Sets the URI of the transport profile supported by the endpoint to transportProfileUri .
另请参阅 transportProfileUri ().
Sets the user identity tokens to userIdentityTokens .
另请参阅 userIdentityTokens ().
Returns the URI of the transport profile supported by the endpoint.
另请参阅 setTransportProfileUri ().
Returns a list of user identity tokens the endpoint will accept.
注意: Getter function for property userIdentityTokens.
另请参阅 setUserIdentityTokens ().
Returns a reference to a list of user identity tokens the endpoint will accept.
返回
true
if this endpoint description has the same value as
rhs
.