open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
securitypolicy_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-2018 (c) Mark Giraud, Fraunhofer IOSB
5 * Copyright 2017 (c) Stefan Profanter, fortiss GmbH
6 * Copyright 2018 (c) Daniel Feist, Precitec GmbH & Co. KG
7 */
8
9#ifndef UA_SECURITYPOLICIES_H_
10#define UA_SECURITYPOLICIES_H_
11
13
15
16UA_EXPORT UA_StatusCode
18 const UA_ByteString localCertificate,
19 const UA_Logger *logger);
20
21#ifdef UA_ENABLE_ENCRYPTION
22
23UA_EXPORT UA_StatusCode
25 const UA_ByteString localCertificate,
26 const UA_ByteString localPrivateKey,
27 const UA_Logger *logger);
28
29UA_EXPORT UA_StatusCode
31 const UA_ByteString localCertificate,
32 const UA_ByteString localPrivateKey,
33 const UA_Logger *logger);
34
35UA_EXPORT UA_StatusCode
37 const UA_ByteString localCertificate,
38 const UA_ByteString localPrivateKey,
39 const UA_Logger *logger);
40
41UA_EXPORT UA_StatusCode
43 const UA_ByteString localCertificate,
44 const UA_ByteString localPrivateKey,
45 const UA_Logger *logger);
46
47#endif
48
49#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
50
51UA_EXPORT UA_StatusCode
52UA_PubSubSecurityPolicy_Aes128Ctr(UA_PubSubSecurityPolicy *policy,
53 const UA_Logger *logger);
54UA_EXPORT UA_StatusCode
55UA_PubSubSecurityPolicy_Aes256Ctr(UA_PubSubSecurityPolicy *policy,
56 const UA_Logger *logger);
57
58#endif
59
60#ifdef UA_ENABLE_TPM2_SECURITY
61
62UA_EXPORT UA_StatusCode
63UA_PubSubSecurityPolicy_Aes128CtrTPM(UA_PubSubSecurityPolicy *policy, char *userpin, unsigned long slotId,
64 char *encryptionKeyLabel, char *signingKeyLabel, const UA_Logger *logger);
65UA_EXPORT UA_StatusCode
66UA_PubSubSecurityPolicy_Aes256CtrTPM(UA_PubSubSecurityPolicy *policy, char *userpin, unsigned long slotId,
67 char *encryptionKeyLabel, char *signingKeyLabel, const UA_Logger *logger);
68
69#endif
70
72
73#endif /* UA_SECURITYPOLICIES_H_ */
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:89
#define _UA_END_DECLS
Definition config.h:96
UA_EXPORT UA_StatusCode UA_SecurityPolicy_Basic256Sha256(UA_SecurityPolicy *policy, const UA_ByteString localCertificate, const UA_ByteString localPrivateKey, const UA_Logger *logger)
UA_EXPORT UA_StatusCode UA_SecurityPolicy_Basic128Rsa15(UA_SecurityPolicy *policy, const UA_ByteString localCertificate, const UA_ByteString localPrivateKey, const UA_Logger *logger)
UA_EXPORT UA_StatusCode UA_SecurityPolicy_Aes128Sha256RsaOaep(UA_SecurityPolicy *policy, const UA_ByteString localCertificate, const UA_ByteString localPrivateKey, const UA_Logger *logger)
_UA_BEGIN_DECLS UA_EXPORT UA_StatusCode UA_SecurityPolicy_None(UA_SecurityPolicy *policy, const UA_ByteString localCertificate, const UA_Logger *logger)
This work is licensed under a Creative Commons CCZero 1.0 Universal License.
UA_EXPORT UA_StatusCode UA_SecurityPolicy_Basic256(UA_SecurityPolicy *policy, const UA_ByteString localCertificate, const UA_ByteString localPrivateKey, const UA_Logger *logger)
uint32_t UA_StatusCode
Definition types.h:77