tfSslServerRemoveClientAuthCa

Jump to: navigation, search

Table of Contents >> SSL Programmer's Reference


#include <trsocket.h>


int tfSslServerRemoveClientAuthCa (
int sessionId,
char TM_FAR * caIdPtr
);


Function Description

This function is valid only if both TM_USE_SSL_SERVER and TM_SSL_USE_ MUTUAL_AUTH are defined, and must be called against an SSL server session. It removes one CA each time when this function is called. This function just removes that CA from the CertificateRequest message. It does not actually remove the CA from stack.


Parameters

  • sessionId
    The session Id
  • caIdPtr
    The certificate name of CA to be removed


Returns

  • TM_ENOERROR
    Callback function is successfully registered
  • TM_EINVAL
    Invalid session Ids or invalid certificate name (we couldn’t find that certificate according to the name).


Table of Contents >> SSL Programmer's Reference