@CHIP-RTOS C Library V2.06 - TCP/IP API
SSL_AddClientCA
Call this function to add client CAs to ServerHello message. int SSL_AddClientCA(int sessionID, void far *caIdPtr,
int *error); Parameters
sessionID
- Session ID for SSL session
caIdPtr
- Pointer to client CA certificate identity name
error
- Output parameter: Failure
code, 0 on success.
Return Value
- 0: Suceess
-1: failed
Comments
- If client authentication option is used to enable client authentication
on a SSL server session, this call can be used to add CAs to the ServerHello message
(called CertificateRequest).
This function must be called against an SSL server session. The SSL server will list
CA's Distinguished Name to the client in his ServerHello message . This function can
be called multiple times to add multiple potential CAs for client certificates.
Before you can use this call, the client CAs certificate must be added to the PKI.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V0.91 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|