libtase2
2.4.0
TASE.2/ICCP Protocol Source Code Library for C/C++
|
Data Structures | |
struct | ItuObjectIdentifier |
ITU (International Telecommunication Union) object identifier (OID) More... | |
struct | IsoApplicationReference |
ISO application reference (specifies an ISO application endpoint) More... | |
struct | AcseAuthenticationParameter |
struct | TSelector |
COTP T selector. More... | |
struct | SSelector |
struct | PSelector |
struct | IsoApplicationAddress |
Typedefs | |
typedef AcseServiceUserDiagnostics(* | AcseAuthenticator) (void *parameter, AcseAuthenticationParameter authParameter, void **securityToken, IsoApplicationAddress localAppAddr, IsoApplicationAddress remoteAppAddr, Socket socket) |
Callback function to authenticate a peer. | |
typedef ASecurityConfiguration(* | AcseALSConfigurationProvider) (void *parameter, IsoApplicationAddress localAppRef, IsoApplicationAddress remoteAppRef, Socket socket) |
Functions | |
LIBMMS_API void | ItuObjectIdentifier_setFromString (ItuObjectIdentifier *self, const char *str) |
LIBMMS_API char * | ItuObjectIdentifier_toString (ItuObjectIdentifier *self) |
Convert OID to string. | |
const char * | AcseServiceUserDiagnostics_toString (AcseServiceUserDiagnostics diag) |
AcseAuthenticationParameter | AcseAuthenticationParameter_create (void) |
void | AcseAuthenticationParameter_destroy (AcseAuthenticationParameter self) |
void | AcseAuthenticationParameter_setAuthMechanism (AcseAuthenticationParameter self, AcseAuthenticationMechanism mechanism) |
void | AcseAuthenticationParameter_setPassword (AcseAuthenticationParameter self, char *password) |
LIBMMS_API void | IsoApplicationAddress_setApTitle (IsoApplicationAddress self, const char *apTitle) |
set the AP-Title | |
LIBMMS_API void | IsoApplicationAddress_setAeQualifier (IsoApplicationAddress self, int aeQualifier) |
set the AE-Qualifier | |
LIBMMS_API void | IsoApplicationAddress_setAeInvocationId (IsoApplicationAddress self, int aeInvocationId) |
set the AE-invocation-identifier | |
LIBMMS_API void | IsoApplicationAddress_setApInvocationId (IsoApplicationAddress self, int apInvocationId) |
set the AP-invocation-identifier | |
LIBMMS_API void | IsoApplicationAddress_setLowerLayerAddresses (IsoApplicationAddress self, PSelector pSelector, SSelector sSelector, TSelector tSelector) |
set addresses for the lower layers | |
typedef ASecurityConfiguration(* AcseALSConfigurationProvider) (void *parameter, IsoApplicationAddress localAppRef, IsoApplicationAddress remoteAppRef, Socket socket) |
typedef AcseServiceUserDiagnostics(* AcseAuthenticator) (void *parameter, AcseAuthenticationParameter authParameter, void **securityToken, IsoApplicationAddress localAppAddr, IsoApplicationAddress remoteAppAddr, Socket socket) |
Callback function to authenticate a peer.
parameter | user provided parameter - set when user registers the authenticator |
authParameter | the authentication parameters provided by the client |
securityToken | pointer where to store an application specific security token - can be ignored if not used. |
remoteAppAddr | ISO application address of the peer (ap-title + ae-qualifier, ...) |
authentication mechanism used by AcseAuthenticator
Diagnostic information for ACSE service user (authentication) result.
AcseAuthenticationParameter AcseAuthenticationParameter_create | ( | void | ) |
void AcseAuthenticationParameter_destroy | ( | AcseAuthenticationParameter | self | ) |
void AcseAuthenticationParameter_setAuthMechanism | ( | AcseAuthenticationParameter | self, |
AcseAuthenticationMechanism | mechanism ) |
void AcseAuthenticationParameter_setPassword | ( | AcseAuthenticationParameter | self, |
char * | password ) |
const char * AcseServiceUserDiagnostics_toString | ( | AcseServiceUserDiagnostics | diag | ) |
LIBMMS_API void IsoApplicationAddress_setAeInvocationId | ( | IsoApplicationAddress | self, |
int | aeInvocationId ) |
set the AE-invocation-identifier
aeInvocationId | the AE-invocation-identifier |
LIBMMS_API void IsoApplicationAddress_setAeQualifier | ( | IsoApplicationAddress | self, |
int | aeQualifier ) |
set the AE-Qualifier
aeQualifier | the AP-qualifier |
LIBMMS_API void IsoApplicationAddress_setApInvocationId | ( | IsoApplicationAddress | self, |
int | apInvocationId ) |
set the AP-invocation-identifier
aeInvocationId | the AP-invocation-identifier |
LIBMMS_API void IsoApplicationAddress_setApTitle | ( | IsoApplicationAddress | self, |
const char * | apTitle ) |
set the AP-Title
If apTitle is NULL the parameter the AP-Title and AE-Qualifier will not be transmitted. This seems to be required by some server devices.
self | the IsoConnectionParameters instance |
apTitle | the AP-Title OID as string. |
LIBMMS_API void IsoApplicationAddress_setLowerLayerAddresses | ( | IsoApplicationAddress | self, |
PSelector | pSelector, | ||
SSelector | sSelector, | ||
TSelector | tSelector ) |
set addresses for the lower layers
This function can be used to set the addresses for the lower layer protocols (presentation, session, and transport layer). Calling this function is optional and not recommended. If not called the default parameters are used.
self | the IsoConnectionParameters instance |
pSelector | the P-Selector (presentation layer address) |
sSelector | the S-Selector (session layer address) |
tSelector | the T-Selector (ISO transport layer address) |
LIBMMS_API void ItuObjectIdentifier_setFromString | ( | ItuObjectIdentifier * | self, |
const char * | str ) |
LIBMMS_API char * ItuObjectIdentifier_toString | ( | ItuObjectIdentifier * | self | ) |
Convert OID to string.