open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
pki.h
Go to the documentation of this file.
1/** This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 *
5 * Copyright 2018 (c) Mark Giraud, Fraunhofer IOSB
6 */
7
8#ifndef UA_PLUGIN_PKI_H_
9#define UA_PLUGIN_PKI_H_
10
11#include <open62541/types.h>
13
15
16
17
20
22 void *context;
23
24 /* Verify the certificate against the configured policies and trust chain. */
25 UA_StatusCode (*verifyCertificate)(void *verificationContext,
26 const UA_ByteString *certificate);
27
28 /* Verify that the certificate has the applicationURI in the subject name. */
29 UA_StatusCode (*verifyApplicationURI)(void *verificationContext,
30 const UA_ByteString *certificate,
31 const UA_String *applicationURI);
32
33 /* Delete the certificate verification context */
35};
36
38
39#endif /* UA_PLUGIN_PKI_H_ */
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:89
#define _UA_END_DECLS
Definition config.h:96
UA_StatusCode(* verifyCertificate)(void *verificationContext, const UA_ByteString *certificate)
Definition pki.h:25
void(* clear)(UA_CertificateVerification *cv)
Definition pki.h:34
UA_StatusCode(* verifyApplicationURI)(void *verificationContext, const UA_ByteString *certificate, const UA_String *applicationURI)
Definition pki.h:29
uint32_t UA_StatusCode
Definition types.h:77