9#ifndef UA_SECURITYPOLICIES_H_
10#define UA_SECURITYPOLICIES_H_
21#ifdef UA_ENABLE_ENCRYPTION
49#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
52UA_PubSubSecurityPolicy_Aes128Ctr(UA_PubSubSecurityPolicy *policy,
55UA_PubSubSecurityPolicy_Aes256Ctr(UA_PubSubSecurityPolicy *policy,
60#ifdef UA_ENABLE_TPM2_SECURITY
63UA_PubSubSecurityPolicy_Aes128CtrTPM(UA_PubSubSecurityPolicy *policy,
char *userpin,
unsigned long slotId,
64 char *encryptionKeyLabel,
char *signingKeyLabel,
const UA_Logger *logger);
66UA_PubSubSecurityPolicy_Aes256CtrTPM(UA_PubSubSecurityPolicy *policy,
char *userpin,
unsigned long slotId,
67 char *encryptionKeyLabel,
char *signingKeyLabel,
const UA_Logger *logger);
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
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)