ConnectionHandler.VerifyServerCertificate (METH)

METHOD VerifyServerCertificate : CmpOPCUAStack_Interfaces.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

CmpOPCUAStack_Interfaces.OpcUa_StatusCode

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

Input

hConnection

SysTypes.RTS_IEC_HANDLE

Handle the the UA connection.

hServerCertificate

SysTypes.RTS_IEC_HANDLE

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