10#ifndef UA_PLUGIN_SECURITYPOLICY_H_
11#define UA_PLUGIN_SECURITYPOLICY_H_
57 size_t (*getLocalSignatureSize)(
const void *channelContext);
64 size_t (*getRemoteSignatureSize)(
const void *channelContext);
71 size_t (*getLocalKeyLength)(
const void *channelContext);
78 size_t (*getRemoteKeyLength)(
const void *channelContext);
109 size_t (*getLocalKeyLength)(
const void *channelContext);
117 size_t (*getRemoteKeyLength)(
const void *channelContext);
126 size_t (*getRemoteBlockSize)(
const void *channelContext);
135 size_t (*getRemotePlainTextBlockSize)(
const void *channelContext);
225 void **channelContext)
229 void (*deleteContext)(
void *channelContext);
323#ifdef UA_ENABLE_PUBSUB_ENCRYPTION
324struct UA_PubSubSecurityPolicy;
325typedef struct UA_PubSubSecurityPolicy UA_PubSubSecurityPolicy;
327struct UA_PubSubSecurityPolicy {
336 (*newContext)(
void *policyContext,
343 void (*deleteContext)(
void *wgContext);
349 (*setSecurityKeys)(
void *wgContext,
358 (*setMessageNonce)(
void *wgContext,
365 void (*clear)(UA_PubSubSecurityPolicy *policy);
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
_UA_BEGIN_DECLS const UA_String UA_SECURITY_POLICY_NONE_URI
This Source Code Form is subject to the terms of the Mozilla Public License, v.
UA_SecurityPolicyCryptoModule cryptoModule
UA_SecurityPolicyEncryptionAlgorithm encryptionAlgorithm
UA_SecurityPolicySignatureAlgorithm signatureAlgorithm
UA_SecurityPolicyCryptoModule cryptoModule
size_t secureChannelNonceLength
UA_SecurityPolicyChannelModule channelModule
UA_SecurityPolicySignatureAlgorithm certificateSigningAlgorithm
UA_ByteString localCertificate
void(* clear)(UA_SecurityPolicy *policy)
UA_SecurityPolicySymmetricModule symmetricModule
UA_SecurityPolicyAsymmetricModule asymmetricModule
UA_StatusCode(* updateCertificateAndPrivateKey)(UA_SecurityPolicy *policy, const UA_ByteString newCertificate, const UA_ByteString newPrivateKey)