dOPC Client Toolkit
Close
ua.client.TdOPCUAClient.SecurityPolicy

Specifies the security policy of the connection.

property SecurityPolicy: TuaSecurityPolicy;
__property TuaSecurityPolicy SecurityPolicy;

If you set SecurityMode to Sign or SignAndEncrypt you need additionally to set SecurityPolicy to one of the following values:

Parameter
Value
None
uaSPBasic128Rsa15
(2) http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15
(no longer considered as secure) (deprecated)
uaSPBasic256
uaSPBasic256Sha256
uaSPAes128_Sha256_RsaOaep
(5) http://opcfoundation.org/UA/SecurityPolicy#Aes128_Sha256_RsaOaep
uaSPAes256_Sha256_RsaPss
(6) http://opcfoundation.org/UA/SecurityPolicy#Aes256_Sha256_RsaPss

 

If the OPC UA supports not the combination of SecurityMode and SecurityPolicy, the components raises an exception with a list of all supported security modes of the OPC UA server.

Kassl GmbH Copyright © 2021. All rights reserved.