libtase2
2.4.0
TASE.2/ICCP Protocol Source Code Library for C/C++
|
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. | |
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.
self | The Tase2_BilateralTable instance |
controlPoint | the control point instance |
checkBackId | the check back ID used as SBO select return value |
allowSetTag | allow set tag operation on this control point |
allowGetTag | allow get tag operation on this control point |
allowOperate | allow operate operation on this control point |
allowRead | allow read operation on this control point |
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.
self | The Tase2_BilateralTable instance |
dataPoint | the indication point or protection equipment object |
allowRead | allow read operation on this data point |
allowWrite | allow write operation on this data point |
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.
self | The Tase2_BilateralTable instance |
infoRef | information reference parameter (specifies application) |
localRef | local reference parameter |
vccScope | indicates if object has VCC scope (true) or ICC scope (false) |
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_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)
bltId | The bilateral table ID (should be unique). Can be accessed from the client by the "Bilateral_Table_ID" variable |
domain | The Tase2_Domain that is associated with the client (only the associated client can access this domain) |
apTitle | the ap-title as string (point separated values e.g. "1.1.1.999") |
aeQualifier | the ae-qualifier value |
TASE2_API const char * Tase2_BilateralTable_getID | ( | Tase2_BilateralTable | self | ) |
Get the BLT ID.
self | The 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.
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.
self | The Tase2_BilateralTable instance |
pSelector | presentation layer address |
sSelector | session layer address |
tSelector | ISO COTP layer address |