libiec61850  1.5.3
Data Structures | Typedefs | Enumerations | Functions
iso_connection_parameters.h File Reference
#include "tls_config.h"

Go to the source code of this file.

Data Structures

struct  AcseAuthenticationParameter
 
struct  TSelector
 COTP T selector. More...
 
struct  SSelector
 OSI session selector. More...
 
struct  PSelector
 OSI presentation (P) selector. More...
 
struct  IsoConnectionParameters
 

Typedefs

typedef bool(* AcseAuthenticator) (void *parameter, AcseAuthenticationParameter authParameter, void **securityToken, IsoApplicationReference *appReference)
 Callback function to authenticate a client. More...
 

Enumerations

enum  AcseAuthenticationMechanism { ACSE_AUTH_NONE = 0 , ACSE_AUTH_PASSWORD = 1 , ACSE_AUTH_CERTIFICATE = 2 , ACSE_AUTH_TLS = 3 }
 authentication mechanism used by AcseAuthenticator More...
 

Functions

LIB61850_API AcseAuthenticationParameter AcseAuthenticationParameter_create (void)
 
LIB61850_API void AcseAuthenticationParameter_destroy (AcseAuthenticationParameter self)
 
LIB61850_API void AcseAuthenticationParameter_setAuthMechanism (AcseAuthenticationParameter self, AcseAuthenticationMechanism mechanism)
 
LIB61850_API void AcseAuthenticationParameter_setPassword (AcseAuthenticationParameter self, char *password)
 
LIB61850_API IsoConnectionParameters IsoConnectionParameters_create (void)
 create a new IsoConnectionParameters instance (FOR LIBRARY INTERNAL USE) More...
 
LIB61850_API void IsoConnectionParameters_destroy (IsoConnectionParameters self)
 Destroy an IsoConnectionParameters instance (FOR LIBRARY INTERNAL USE) More...
 
LIB61850_API void IsoConnectionParameters_setTlsConfiguration (IsoConnectionParameters self, TLSConfiguration tlsConfig)
 
LIB61850_API void IsoConnectionParameters_setAcseAuthenticationParameter (IsoConnectionParameters self, AcseAuthenticationParameter acseAuthParameter)
 set the authentication parameter More...
 
LIB61850_API void IsoConnectionParameters_setTcpParameters (IsoConnectionParameters self, const char *hostname, int tcpPort)
 Set TCP parameters (FOR LIBRARY INTERNAL USE) More...
 
LIB61850_API void IsoConnectionParameters_setLocalTcpParameters (IsoConnectionParameters self, const char *localIpAddress, int localTcpPort)
 Set Local TCP parameters (FOR LIBRARY INTERNAL USE) More...
 
LIB61850_API void IsoConnectionParameters_setRemoteApTitle (IsoConnectionParameters self, const char *apTitle, int aeQualifier)
 set the remote AP-Title and AE-Qualifier More...
 
LIB61850_API void IsoConnectionParameters_setRemoteAddresses (IsoConnectionParameters self, PSelector pSelector, SSelector sSelector, TSelector tSelector)
 set remote addresses for the lower layers More...
 
LIB61850_API void IsoConnectionParameters_setLocalApTitle (IsoConnectionParameters self, const char *apTitle, int aeQualifier)
 set the local AP-Title and AE-Qualifier More...
 
LIB61850_API void IsoConnectionParameters_setLocalAddresses (IsoConnectionParameters self, PSelector pSelector, SSelector sSelector, TSelector tSelector)
 set local addresses for the lower layers More...