29#ifndef SOPC_PUBSUB_SKS_H_
30#define SOPC_PUBSUB_SKS_H_
35#ifndef SOPC_PUBSUB_SKS_DEFAULT_GROUPID
36#define SOPC_PUBSUB_SKS_DEFAULT_GROUPID 1
39#ifndef SOPC_PUBSUB_SKS_DEFAULT_TOKENID
40#define SOPC_PUBSUB_SKS_DEFAULT_TOKENID 1
44#define SOPC_PUBSUB_SKS_CURRENT_TOKENID SOPC_SK_MANAGER_CURRENT_TOKEN_ID
SOPC_PubSubSKS_Keys * SOPC_PubSubSKS_GetSecurityKeys(uint32_t groupid, uint32_t tokenId)
Return security key from a security group id. This function is automatically called by Publisher and ...
void SOPC_PubSubSKS_Clear(void)
Clear the PubSubSKS and set SKManager to NULL.
void SOPC_PubSubSKS_Keys_Delete(SOPC_PubSubSKS_Keys *keys)
Clear a SOPC_PubSubSKS_Keys the given parameter can be freed after the function returns.
void SOPC_PubSubSKS_Init(void)
Initialise the PubSubSKS.
void SOPC_PubSubSKS_SetSkManager(SOPC_SKManager *skm)
Set the Security Keys Manager to use to retrieve the keys for UADP secure exchanges Only one SK Manag...
struct SOPC_PubSubSKS_Keys SOPC_PubSubSKS_Keys
SecretBuffer (mangled key) and ExposedBuffer (contiguous deciphered buffered) APIs.
struct SOPC_SecretBuffer SOPC_SecretBuffer
Definition sopc_secret_buffer.h:35
Security Keys Manager: manages local storage of the keys retrieved from the Security Keys Provider fo...
Definition sopc_pubsub_sks.h:47
SOPC_SecretBuffer * signingKey
Definition sopc_pubsub_sks.h:52
SOPC_SecretBuffer * encryptKey
Definition sopc_pubsub_sks.h:53
SOPC_SecretBuffer * keyNonce
Definition sopc_pubsub_sks.h:54
uint32_t tokenId
Definition sopc_pubsub_sks.h:50
Definition sopc_sk_manager.h:86