www.beck-ipc.com

@CHIP-RTOS C Library - 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: Success
-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

    SC12SC13SC11SC1x3SC2x
    n/an/an/aV0.91V1.00

Supported by @CHIP-RTOS C Library since version

    CLIB
    V2.02

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document