File Information
Library: IoT/OPC
Package: BasicClient
Header: IoT/OPC/BasicClient.h
Variables
certificate
std::string certificate;
Client certificate encoded in DER format.
password
std::string password;
Password for authentication.
privateKey
std::string privateKey;
Client private key encoded in DER format.
securityPolicyURI
std::string securityPolicyURI;
Security policy URI for secure server connection.
Currently supported values are:
- "" (empty string) - no security policy
- "http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15"
- "http://opcfoundation.org/UA/SecurityPolicy#Basic256Sha256"
serverURI
std::string serverURI;
The URI of the server, e.g. "opc.tcp://localhost:4840".
timeout
Poco::Timespan timeout = 0;
Connection timeout. Leave 0 for default.
trustedCertificates
std::vector < std::string > trustedCertificates;
Collection of trusted server certificates encoded in DER format.
username
std::string username;
Username for authentication.