IOPCUAClientConnectionCallback.VerifyServerCertificate (METH)

METHOD VerifyServerCertificate : OpcUa_StatusCode

This callback is used to allow a further verification of the UA servers certificate. There is no pre verification of the certificate against the certificate store of the PLC.

InOut:

Scope

Name

Type

Comment

Return

VerifyServerCertificate

OpcUa_StatusCode

Any status code expect OpcUa_Good will cause the connection to be termindated.

Input

hConnection

RTS_IEC_HANDLE

Handle the the UA connection.

hServerCertificate

RTS_IEC_HANDLE

Handle the UA server certificate. Can be used with any function of CmpX509Cert.