libiec61850  1.2.0
Data Structures | Typedefs | Enumerations | Functions
iso_connection_parameters.h File Reference
#include "tls_api.h"

Go to the source code of this file.

Data Structures

struct  AcseAuthenticationParameter
 
struct  TSelector
 COTP T selector. More...
 
struct  SSelector
 
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 úsed by AcseAuthenticator More...
 

Functions

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