IOPCUAClientConnectionCallback2.VerifyServerCertificate2 (METH)ΒΆ

METHOD VerifyServerCertificate2 : OpcUa_StatusCode

This callback is used to allow a further verification of the UA servers certificate. The servers is prevalidated using the given informaiton (endpoint url, and servers application description).

InOut:

Scope

Name

Type

Comment

Return

VerifyServerCertificate2

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.

preVerificationResult

OpcUa_StatusCode

Result of the of the pre validation for information. May be passed back directly as result of the method, if no changes should be applied (e.g. override some errors).