C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
OpcUa::TrustListTypeCallback Class Referenceabstract

Callback interface for events regarding TrustList updates. More...

#include <opcua_trustlisttype.h>

Public Member Functions

virtual UaStatus afterTrustListWrite (const ServiceContext &serviceContext, OpcUa_UInt32 masks, TrustListType *pTrustList)=0
 Event indicating that the trust list was updated with a write operation. More...
 
virtual UaStatus afterAddCertificate (const ServiceContext &serviceContext, UaByteString &Certificate, OpcUa_Boolean IsTrustedCertificate, TrustListType *pTrustList)=0
 Event indicating that a certificate was added to the trust list. More...
 
virtual UaStatus afterRemoveCertificate (const ServiceContext &serviceContext, const UaString &Thumbprint, OpcUa_Boolean IsTrustedCertificate, TrustListType *pTrustList)=0
 Event indicating that a certificate was removed from the trust list. More...
 

Detailed Description

Callback interface for events regarding TrustList updates.

Member Function Documentation

virtual UaStatus OpcUa::TrustListTypeCallback::afterAddCertificate ( const ServiceContext serviceContext,
UaByteString Certificate,
OpcUa_Boolean  IsTrustedCertificate,
TrustListType pTrustList 
)
pure virtual

Event indicating that a certificate was added to the trust list.

Parameters
serviceContextGeneral context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
[in]CertificateThe DER encoded certificate to add.
[in]IsTrustedCertificateIf TRUE, the certificate is added to the trusted certificate s list.
If FALSE, the certificate is added to the Issuer certificate s list.
[in]pTrustListAffected TrustList Node.
virtual UaStatus OpcUa::TrustListTypeCallback::afterRemoveCertificate ( const ServiceContext serviceContext,
const UaString Thumbprint,
OpcUa_Boolean  IsTrustedCertificate,
TrustListType pTrustList 
)
pure virtual

Event indicating that a certificate was removed from the trust list.

Parameters
serviceContextGeneral context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
[in]ThumbprintThe SHA1 hash of the certificate to remove.
[in]IsTrustedCertificateIf TRUE, the certificate is removed from the trusted certificates list.
If FALSE, the certificate is removed from the Issuer certificate s list.
[in]pTrustListAffected TrustList Node.
virtual UaStatus OpcUa::TrustListTypeCallback::afterTrustListWrite ( const ServiceContext serviceContext,
OpcUa_UInt32  masks,
TrustListType pTrustList 
)
pure virtual

Event indicating that the trust list was updated with a write operation.

Parameters
serviceContextGeneral context for the service calls containing information like the session object, return diagnostic mask and timeout hint.
[in]masksThe parts of the trust list that were updated.
Options are OpcUa_TrustListMasks_TrustedCertificates, OpcUa_TrustListMasks_TrustedCrls OpcUa_TrustListMasks_IssuerCertificates and OpcUa_TrustListMasks_IssuerCrls
[in]pTrustListAffected TrustList Node.

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