AREthPreConfigureTlsConnection
Valid for: CANoe DE • CANoe4SW DE NoteThis function needs to be called in on start.
Function Syntax
Description
Preconfigures a connection between two AEPs as a (D)TLS connection. As a difference to AREthTlsAuthenticateAsServerWithConfiguration and AREthTlsAuthenticateAsClientWithConfiguration, different TLS configurations for different remotes can be used on the same AEP. Furthermore, it is possible to have some connections unsecured. The (D)TLS connection needs to be defined in both nodes, the client and the server node, independently. Works in combination with AREthTlsAuthenticateAsServerWithConfiguration and AREthTlsAuthenticateAsClientWithConfiguration where the existing functions configure the general behavior for an entire AEP. This function can override the general behavior declared in the other functions.Parameters
- localAEP: The local application endpoint.
- remoteAEP: The remote application Endpoint.
- tlsConfiguration: The name of the TLS configuration (not the certificate name).
- isServer: Marks whether the given local endpoint is (D)TLS server or client.
Return Values
- 0: Success
- !=0: Error