31#ifndef _MODBUS_SERVER_SECURITY_H
32#define _MODBUS_SERVER_SECURITY_H
39#if (MODBUS_SERVER_TLS_SUPPORT == ENABLED)
40 #include "core/crypto.h"
41 #include "encoding/asn1.h"
42 #include "encoding/oid.h"
43 #include "pkix/x509_cert_parse.h"
52error_t modbusServerParseRoleOid(ModbusClientConnection *connection,
53 const uint8_t *data,
size_t length);
55error_t modbusServerOpenSecureConnection(ModbusServerContext *context,
56 ModbusClientConnection *connection);
58error_t modbusServerEstablishSecureConnection(ModbusClientConnection *connection);
error_t
Error codes.
Definition error.h:43