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
VerifyServerCertificate2OpcUa_StatusCodeAny status code expect OpcUa_Good will cause the connection to be termindated.
Input
hConnectionRTS_IEC_HANDLEHandle the the UA connection.
hServerCertificateRTS_IEC_HANDLEHandle the UA server certificate. Can be used with any function of CmpX509Cert.
preVerificationResultOpcUa_StatusCodeResult 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).