28#ifndef SOPC_PUBSUB_SECURITY_H_
29#define SOPC_PUBSUB_SECURITY_H_
39typedef struct SOPC_PubSub_SecurityType
45 uint32_t sequenceNumber;
46} SOPC_PubSub_SecurityType;
57typedef SOPC_PubSub_SecurityType* SOPC_UADP_GetSecurity_Func(uint32_t tokenId,
59 uint16_t writerGroupId);
66void SOPC_PubSub_Security_Clear(SOPC_PubSub_SecurityType* security);
87SOPC_Buffer* SOPC_PubSub_Security_Decrypt(
const SOPC_PubSub_SecurityType* keys,
SOPC_Buffer* src, uint32_t size);
97SOPC_ReturnStatus SOPC_PubSub_Security_GetSignSize(
const SOPC_PubSub_SecurityType* security,
126bool SOPC_PubSub_Security_Verify(
const SOPC_PubSub_SecurityType* security,
SOPC_Buffer* src, uint32_t payloadPosition);
Defines the cryptographic API. This API mainly relies on the SOPC_CryptoProvider, which is composed o...
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.
SOPC_SecurityMode_Type
Definition sopc_pubsub_conf.h:103
PubSub Security Keys Service configuration: define the SOPC_SKManager to use to retrieve the keys.
uint8_t SOPC_ExposedBuffer
Definition sopc_secret_buffer.h:36
Bytes buffer structure.
Definition sopc_buffer.h:38
Definition sopc_pubsub_conf.h:118
The SOPC_CryptoProvider context.
Definition sopc_crypto_provider.h:43
Definition sopc_pubsub_sks.h:47