S2OPC OPCUA Toolkit
Data Fields
SOPC_CryptoProfile Struct Reference

SOPC_CryptoProfiles gather pointers to cryptographic functions of the security policies of OPC UA Services. More...

#include <sopc_crypto_profiles.h>

Data Fields

const SOPC_SecurityPolicy_ID SecurityPolicyID
 
FnSymmetricEncrypt *const pFnSymmEncrypt
 
FnSymmetricDecrypt *const pFnSymmDecrypt
 
FnSymmetricSign *const pFnSymmSign
 
FnSymmetricVerify *const pFnSymmVerif
 
FnGenerateRandom *const pFnGenRnd
 
FnDerivePseudoRandomData *const pFnDeriveData
 
FnAsymmetricEncrypt *const pFnAsymEncrypt
 
FnAsymmetricDecrypt *const pFnAsymDecrypt
 
FnAsymmetricSign *const pFnAsymSign
 
FnAsymmetricVerify *const pFnAsymVerify
 

Detailed Description

SOPC_CryptoProfiles gather pointers to cryptographic functions of the security policies of OPC UA Services.

Crypto profiles are defined as struct of pointers. These immutable struct are extern and const, because they are lib-specific (hence SOPC_CryptoProfile_Get and these variables are in different translation units). SOPC_CryptoProfile should be accessed through SOPC_CryptoProfile_Get ONLY, and should not be modified, as multiple calls to SOPC_CryptoProfile_Get returns the same instance.

This crypto profile only handles the OPC UA Services security policies. See SOPC_CryptoProfile_PubSub for the PubSub security policies.

Field Documentation

◆ SecurityPolicyID

const SOPC_SecurityPolicy_ID SOPC_CryptoProfile::SecurityPolicyID

◆ pFnSymmEncrypt

FnSymmetricEncrypt* const SOPC_CryptoProfile::pFnSymmEncrypt

◆ pFnSymmDecrypt

FnSymmetricDecrypt* const SOPC_CryptoProfile::pFnSymmDecrypt

◆ pFnSymmSign

FnSymmetricSign* const SOPC_CryptoProfile::pFnSymmSign

◆ pFnSymmVerif

FnSymmetricVerify* const SOPC_CryptoProfile::pFnSymmVerif

◆ pFnGenRnd

FnGenerateRandom* const SOPC_CryptoProfile::pFnGenRnd

◆ pFnDeriveData

FnDerivePseudoRandomData* const SOPC_CryptoProfile::pFnDeriveData

◆ pFnAsymEncrypt

FnAsymmetricEncrypt* const SOPC_CryptoProfile::pFnAsymEncrypt

◆ pFnAsymDecrypt

FnAsymmetricDecrypt* const SOPC_CryptoProfile::pFnAsymDecrypt

◆ pFnAsymSign

FnAsymmetricSign* const SOPC_CryptoProfile::pFnAsymSign

◆ pFnAsymVerify

FnAsymmetricVerify* const SOPC_CryptoProfile::pFnAsymVerify

The documentation for this struct was generated from the following file: