@CHIP-RTOS C Library - TCP/IP API
Use this function to set cipher suite proposals
for a SSL session.
int SSL_SessionProp(int sessionID, int far *proposals, int count,
- Session ID for SSL session
- Array of integer with Session proposals
- Number of entries in the proposal array
- Output parameter: Failure
code, 0 on success.
- 0: Success
- When this API is not used, the
of proposals are used.
For a client session, the list of proposals are used to construct the Client
Hello message that is sent to the server.
For a server session, the list of proposals is not used unless the
SSL_SessionOpt API had
been used to enable option 2 "Server Proposals
With this SSL option then enabled, the server will select the first
cipher suite in its own proposal list that is also listed in
the client's Hello message. Otherwise ("Server Proposals
disabled) the server would have just selected the first supported
cipher suite in the client's ordered list, thereby accepting the
The full set of supported SSL cipher suites can be found
Note that the weak export ciphers suites with numbers 3, 8, 98 and 100
cannot be used with the SSL API due to that these require an ephemeral
RSA key and there are no provisions for loading such a key for the user's
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
Supported since or modified in @CHIP-RTOS version
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document