BALTECH Docs |
C API for BALTECH SDK
|
BRP_LIB brp_protocol brp_create_secure_channel | ( | int | security_level, |
brp_sec_key | key, | ||
int | sec_mode | ||
) |
Creates a new secured channel that allows you to establish an authenticated and encrypted connection over an insecure BRP channel.
This protocol layer will manage all AES authentication and encryption on top of another BRP protocol layer.
security_level | security level that shall be authenticated |
key | the key that shall be used to establish a secure channel |
sec_mode | a bitmask of BRP_SECMODE_ constants. should be BRP_SECMODE_STD by default. |