libtase2  2.4.0
TASE.2/ICCP Protocol Source Code Library for C/C++
Loading...
Searching...
No Matches
Functions for bilateral table (BLT) management

Functions

TASE2_API Tase2_BilateralTable Tase2_BilateralTable_create (const char *bltId, Tase2_Domain domain, const char *apTitle, int aeQualifier)
 Create a new bilateral table (Tase2_BilateralTable) instance.
 
TASE2_API void Tase2_BilateralTable_setIsoParameters (Tase2_BilateralTable self, Tase2_PSelector pSelector, Tase2_SSelector sSelector, Tase2_TSelector tSelector)
 Set the ISO protocol layer addresses to associate the endpoint to this BLT.
 
TASE2_API void Tase2_BilateralTable_addDataPoint (Tase2_BilateralTable self, Tase2_DataPoint dataPoint, bool allowRead, bool allowWrite)
 Add an indication point or protection equipment object to the BLT.
 
TASE2_API void Tase2_BilateralTable_addControlPoint (Tase2_BilateralTable self, Tase2_ControlPoint controlPoint, int16_t checkBackId, bool allowSetTag, bool allowGetTag, bool allowOperate, bool allowRead)
 Add a control point object to the BLT.
 
TASE2_API void Tase2_BilateralTable_addInformationMessage (Tase2_BilateralTable self, int32_t infoRef, int32_t localRef, bool vccScope)
 Add an information message object to the BLT.
 
TASE2_API bool Tase2_BilateralTable_addPeerCertificat (Tase2_BilateralTable self, Crypto_X509Certificate cert)
 Associate a peer X509 certificate with the BLT.
 
TASE2_API const char * Tase2_BilateralTable_getID (Tase2_BilateralTable self)
 Get the BLT ID.
 

Detailed Description

Function Documentation

◆ Tase2_BilateralTable_addControlPoint()

TASE2_API void Tase2_BilateralTable_addControlPoint ( Tase2_BilateralTable self,
Tase2_ControlPoint controlPoint,
int16_t checkBackId,
bool allowSetTag,
bool allowGetTag,
bool allowOperate,
bool allowRead )

Add a control point object to the BLT.

Parameters
selfThe Tase2_BilateralTable instance
controlPointthe control point instance
checkBackIdthe check back ID used as SBO select return value
allowSetTagallow set tag operation on this control point
allowGetTagallow get tag operation on this control point
allowOperateallow operate operation on this control point
allowReadallow read operation on this control point

◆ Tase2_BilateralTable_addDataPoint()

TASE2_API void Tase2_BilateralTable_addDataPoint ( Tase2_BilateralTable self,
Tase2_DataPoint dataPoint,
bool allowRead,
bool allowWrite )

Add an indication point or protection equipment object to the BLT.

Parameters
selfThe Tase2_BilateralTable instance
dataPointthe indication point or protection equipment object
allowReadallow read operation on this data point
allowWriteallow write operation on this data point

◆ Tase2_BilateralTable_addInformationMessage()

TASE2_API void Tase2_BilateralTable_addInformationMessage ( Tase2_BilateralTable self,
int32_t infoRef,
int32_t localRef,
bool vccScope )

Add an information message object to the BLT.

Parameters
selfThe Tase2_BilateralTable instance
infoRefinformation reference parameter (specifies application)
localReflocal reference parameter
vccScopeindicates if object has VCC scope (true) or ICC scope (false)

◆ Tase2_BilateralTable_addPeerCertificat()

TASE2_API bool Tase2_BilateralTable_addPeerCertificat ( Tase2_BilateralTable self,
Crypto_X509Certificate cert )

Associate a peer X509 certificate with the BLT.

Client presenting the associating certificates by TLS or A-Security during connection setup are accepted

◆ Tase2_BilateralTable_create()

TASE2_API Tase2_BilateralTable Tase2_BilateralTable_create ( const char * bltId,
Tase2_Domain domain,
const char * apTitle,
int aeQualifier )

Create a new bilateral table (Tase2_BilateralTable) instance.

NOTE: the bilateral table is associated with a client by the application reference (ap-title + ae-qualifier)

Parameters
bltIdThe bilateral table ID (should be unique). Can be accessed from the client by the "Bilateral_Table_ID" variable
domainThe Tase2_Domain that is associated with the client (only the associated client can access this domain)
apTitlethe ap-title as string (point separated values e.g. "1.1.1.999")
aeQualifierthe ae-qualifier value
Returns
the new bilateral table instance

◆ Tase2_BilateralTable_getID()

TASE2_API const char * Tase2_BilateralTable_getID ( Tase2_BilateralTable self)

Get the BLT ID.

Parameters
selfThe Tase2_BilateralTable instance
Returns
the BLT ID

◆ Tase2_BilateralTable_setIsoParameters()

TASE2_API void Tase2_BilateralTable_setIsoParameters ( Tase2_BilateralTable self,
Tase2_PSelector pSelector,
Tase2_SSelector sSelector,
Tase2_TSelector tSelector )

Set the ISO protocol layer addresses to associate the endpoint to this BLT.

NOTE: By default only AP-title and AE-qualifier are used to associate an endpoint with the BLT. You can change this behavior with the Tase2_Endpoint_setAddressMatchingRules function. When using the ISO layer addresses you have to set them with this function.

Parameters
selfThe Tase2_BilateralTable instance
pSelectorpresentation layer address
sSelectorsession layer address
tSelectorISO COTP layer address