OpcUaServerSecurity

Description

This object was introduced in InCore 2.3.

› Inherits:

Object

Overview

Properties

Methods

Signals

Enumerations

Properties

certificateFile

This property holds the path to the certificate file used for security policies other than OpcUaServerSecurity.PolicyNone.

› Type:

String

› Signal:

certificateFileChanged()

› Attributes:

Writable

nonDiscoveryAccessRequiresEncryption

This property holds whether the access to services other than the discovery service requires a security policy other than OpcUaServerSecurity.PolicyNone.

› Type:

Boolean

› Default:

false

› Signal:

nonDiscoveryAccessRequiresEncryptionChanged()

› Attributes:

Writable

privateKeyFile

This property holds the path to the private key file used for security policies other than OpcUaServerSecurity.PolicyNone.

› Type:

String

› Signal:

privateKeyFileChanged()

› Attributes:

Writable

secureChannelIssuerListFiles

This property holds paths to one or multiple issuer list file used for security policies other than OpcUaServerSecurity.PolicyNone.

› Type:

StringList

› Signal:

secureChannelIssuerListFilesChanged()

› Attributes:

Writable

secureChannelRevocationListFiles

This property holds paths to one or multiple revocation list file used for security policies other than OpcUaServerSecurity.PolicyNone.

› Type:

StringList

› Signal:

secureChannelRevocationListFilesChanged()

› Attributes:

Writable

secureChannelTrustListFiles

This property holds paths to one or multiple trust list file used for security policies other than OpcUaServerSecurity.PolicyNone.

› Type:

StringList

› Signal:

secureChannelTrustListFilesChanged()

› Attributes:

Writable

securityPolicies

This property holds the security policies to enable.

› Type:

SecurityPolicies

› Default:

OpcUaServerSecurity.SecurityPolicyNone

› Signal:

securityPoliciesChanged()

› Attributes:

Writable

sessionIssuerListFiles

This property holds paths to one or multiple issuer list file used for the user token policy OpcUaServerSecurity.UserTokenPolicyCertificate.

› Type:

StringList

› Signal:

sessionIssuerListFilesChanged()

› Attributes:

Writable

sessionRevocationListFiles

This property holds paths to one or multiple revocation list file used for the user token policy OpcUaServerSecurity.UserTokenPolicyCertificate.

› Type:

StringList

› Signal:

sessionRevocationListFilesChanged()

› Attributes:

Writable

sessionTrustListFiles

This property holds paths to one or multiple trust list file used for the user token policy OpcUaServerSecurity.UserTokenPolicyCertificate.

› Type:

StringList

› Signal:

sessionTrustListFilesChanged()

› Attributes:

Writable

userLoginRequiresEncryption

This property holds whether to allow user logins for unencrypted connections, i.e. clients connecting with OpcUaServerSecurity.PolicyNone.

› Type:

Boolean

› Default:

true

› Signal:

userLoginRequiresEncryptionChanged()

› Attributes:

Writable

userTokenPolicies

This property holds the user token policies to enable.

This property was introduced in InCore 2.8.

› Type:

UserTokenPolicies

› Default:

OpcUaServerSecurity.UserTokenPolicyAnonymous

› Signal:

userTokenPoliciesChanged()

› Attributes:

Writable

verifyApplicationUri

This property holds whether the the server should verify if the client’s application URI has a corresponding URI entry in the client certificate’s subject alternative name.

This property was introduced in InCore 2.8.

› Type:

Boolean

› Default:

true

› Signal:

verifyApplicationUriChanged()

› Attributes:

Writable

Enumerations

SecurityPolicies

Name

Value

Description

OpcUaServerSecurity.SecurityPolicyNone

1

OpcUaServerSecurity.SecurityPolicyBasic256Sha256

2

OpcUaServerSecurity.SecurityPolicyAes128Sha256RsaOaep

4

OpcUaServerSecurity.SecurityPolicyAes256Sha256RsaPss

8

UserTokenPolicies

Name

Value

Description

OpcUaServerSecurity.UserTokenPolicyAnonymous

1

OpcUaServerSecurity.UserTokenPolicyUsername

2

OpcUaServerSecurity.UserTokenPolicyCertificate

4

Example

See OpcUaServer example on how to use OpcUaServerSecurity.