libtase2  2.4.0
TASE.2/ICCP Protocol Source Code Library for C/C++
Loading...
Searching...
No Matches
iso_connection_parameters.h File Reference
#include "tls_config.h"
#include "hal_socket.h"
#include "libmms_common_api.h"
#include "asecurity.h"
#include <stdint.h>

Go to the source code of this file.

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)
 

Enumerations

enum  AcseAuthenticationMechanism {
  ACSE_AUTH_NONE = 0 , ACSE_AUTH_PASSWORD = 1 , ACSE_AUTH_CERTIFICATE = 2 , ACSE_AUTH_TLS = 3 ,
  ACSE_AUTH_MECH_UNKNOWN = 99
}
 authentication mechanism used by AcseAuthenticator More...
 
enum  AcseServiceUserDiagnostics {
  ACSE_USER_OK = 0 , ACSE_USER_NO_REASON_GIVEN = 1 , ACSE_USER_APP_CONTEXT_NAME_NOT_SUPPORTED = 2 , ACSE_USER_CALLING_AP_TITLE_NOT_RECOGNIZED = 3 ,
  ACSE_USER_CALLING_AP_INVOCATION_ID_NOT_RECOGNIZED = 4 , ACSE_USER_CALLING_AE_QUALIFIER_NOT_RECOGNIZED = 5 , ACSE_USER_CALLING_AE_INVOCATION_ID_NOT_RECOGNIZED = 6 , ACSE_USER_CALLED_AP_TITLE_NOT_RECOGNIZED = 7 ,
  ACSE_USER_CALLED_AP_INVOCATION_ID_NOT_RECOGNIZED = 8 , ACSE_USER_CALLED_AE_QUALIFIER_NOT_RECOGNIZED = 9 , ACSE_USER_CALLED_AE_INVOCATION_ID_NOT_RECOGNIZED = 10 , ACSE_USER_AUTH_MECH_NAME_NOT_RECOGNIZED = 11 ,
  ACSE_USER_AUTH_MECH_NAME_REQUIRED = 12 , ACSE_USER_AUTH_FAILURE = 13 , ACSE_USER_AUTH_REQUIRED = 14
}
 Diagnostic information for ACSE service user (authentication) result. More...
 

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