12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef UA_PLUGIN_PKI_H_
- #define UA_PLUGIN_PKI_H_
- #include "ua_types.h"
- #include "ua_server.h"
- _UA_BEGIN_DECLS
- struct UA_CertificateVerification;
- typedef struct UA_CertificateVerification UA_CertificateVerification;
- struct UA_CertificateVerification {
- void *context;
-
- UA_StatusCode (*verifyCertificate)(void *verificationContext,
- const UA_ByteString *certificate);
-
- UA_StatusCode (*verifyApplicationURI)(void *verificationContext,
- const UA_ByteString *certificate,
- const UA_String *applicationURI);
-
- void (*deleteMembers)(UA_CertificateVerification *cv);
- };
- _UA_END_DECLS
- #endif
|