IVerifyCertCallback.VerifyCertCallback (METH)

METHOD VerifyCertCallback : RTS_IEC_RESULT

This function is called to allow futher checks on the peers certificate. Return ERR_CERT_OK if the certificate is trustworthy. If not return any (expect ERR_CERT_OK) of the error codes found at CmpX509Cert.ERRORS

InOut:

Scope

Name

Type

Comment

Return

VerifyCertCallback

RTS_IEC_RESULT

Input

hCert

RTS_IEC_HANDLE

Handle to the peers certificate. Can be passed to all functions provieded by CmpX509Cert library.

verifyResult

RTS_IEC_RESULT

Result of the pre verification. See CmpX509Cert.ERRORS for details of the corresponding error codes.