C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
The CertificateValidationCallback is an interface for retrieving information about certificate validation errors. More...
#include <uaclientsdk.h>
Inherited by UaClientSdk::UaSession [protected]
.
Public Member Functions | |
virtual bool | verificationError (SessionSecurityInfo *pInfo, OpcUa_Void *pvVerifyContext, const UaByteString &certificateChain, OpcUa_StatusCode uVerificationResult, OpcUa_UInt32 uDepth)=0 |
Callback method to inform about errors during certificate validation. More... | |
The CertificateValidationCallback is an interface for retrieving information about certificate validation errors.
If detailed information about certificate validation is needed, the SessionSecurityInfo::verifyServerCertificate() method can be called by passing this interface. For each single error during certificate validation, the verificationError() callback will be invoked containing detailed information about the error.
|
pure virtual |
Callback method to inform about errors during certificate validation.
[out] | pInfo | The SessionSecurityInfo where SessionSecurityInfo::verifyServerCertificate() was called. |
[out] | pvVerifyContext | The verification context. Use SessionSecurityInfo::getCurrentErrorInformationOpenSSL to get detailed error information when using an OpenSSL PKI provider. |
[out] | certificateChain | The certificate chain that was constructed during verification. |
[out] | uVerificationResult | The verification error. |
[out] | uDepth | The index of the certificate in the certificateChain the error occured on. |
Implemented in UaClientSdk::UaSession.