UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaPkiProviderCertificateValidationCallback Class Referenceabstract

The UaPkiProviderCertificateValidationCallback is an interface for retrieving information about certificate validation errors. More...

#include <uapkiprovider.h>

Inherited by UaEndpoint.

Public Member Functions

virtual bool certificateVerificationError (OpcUa_Void *pvVerifyContext, const UaByteString &certificateChain, OpcUa_StatusCode uVerificationResult, OpcUa_UInt32 uDepth)=0
 Callback method to inform about errors during certificate validation. More...
 

Detailed Description

The UaPkiProviderCertificateValidationCallback is an interface for retrieving information about certificate validation errors.

If detailed information about certificate validation is needed, the UaPkiProvider::setCertificateValidationCallback() method can be called to set this callback interface. For each single error during certificate validation, the certificateVerificationError() callback will be invoked containing detailed information about the error.

Member Function Documentation

virtual bool UaPkiProviderCertificateValidationCallback::certificateVerificationError ( OpcUa_Void *  pvVerifyContext,
const UaByteString certificateChain,
OpcUa_StatusCode  uVerificationResult,
OpcUa_UInt32  uDepth 
)
pure virtual

Callback method to inform about errors during certificate validation.

Returns
true if a certificate validation error should be ignored, false otherwise. If an error is ignored, validation continues, otherwise verification will be stopped.
Parameters
[out]pvVerifyContextThe verification context. Can be used to get further error details.
[out]certificateChainThe certificate chain that was constructed during verification.
[out]uVerificationResultThe verification error.
[out]uDepthThe index of the certificate in the certificateChain the error occured on.

Implemented in UaEndpoint.


The documentation for this class was generated from the following file: