open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
client_config_default.h
Go to the documentation of this file.
1/** This work is licensed under a Creative Commons CCZero 1.0 Universal License.
2 * See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
3 *
4 * Copyright 2017 (c) Fraunhofer IOSB (Author: Julius Pfrommer)
5 * Copyright 2017 (c) Stefan Profanter, fortiss GmbH
6 * Copyright 2018 (c) Mark Giraud, Fraunhofer IOSB
7 */
8
9#ifndef UA_CLIENT_CONFIG_DEFAULT_H_
10#define UA_CLIENT_CONFIG_DEFAULT_H_
11
12#include <open62541/client.h>
13
15
18
19/** If certificates are used for authentication, this is only possible when
20 * openssl or mbedtls is used. Libressl is currently not supported.*/
21#if defined(UA_ENABLE_ENCRYPTION_OPENSSL) || defined(UA_ENABLE_ENCRYPTION_MBEDTLS)
23UA_ClientConfig_setAuthenticationCert(UA_ClientConfig *config,
24 UA_ByteString certificateAuth, UA_ByteString privateKeyAuth);
25#endif
26
27#ifdef UA_ENABLE_ENCRYPTION
30 UA_ByteString localCertificate, UA_ByteString privateKey,
31 const UA_ByteString *trustList, size_t trustListSize,
32 const UA_ByteString *revocationList, size_t revocationListSize);
33#endif
34
36
37#endif /* UA_CLIENT_CONFIG_DEFAULT_H_ */
_UA_BEGIN_DECLS UA_StatusCode UA_ClientConfig_setDefault(UA_ClientConfig *config)
This work is licensed under a Creative Commons CCZero 1.0 Universal License.
UA_StatusCode UA_ClientConfig_setDefaultEncryption(UA_ClientConfig *config, UA_ByteString localCertificate, UA_ByteString privateKey, const UA_ByteString *trustList, size_t trustListSize, const UA_ByteString *revocationList, size_t revocationListSize)
If certificates are used for authentication, this is only possible when openssl or mbedtls is used.
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:100
#define _UA_END_DECLS
Definition config.h:107
uint32_t UA_StatusCode
Definition types.h:82