tlsclientopts

Contains the client options.

Service:Winsock 2

Syntax

  #include <winsock/novsock2.h>
  
  struct tlsclientopts
  {
     char    *wallet;
     int      walletlen;
     time_t   sidtimeout;
     int32    sidentries;
     char    *siddir;
     void    *options;
  };
  

Fields

wallet

Points to the client's authentication materials. It can contain certificates used to validate server and client certificates and a NICI-wrapped private key that is used to identify the client.

walletlen

Specifies the length of the wallet field.

sidtimeout

Specifies the number of seconds that session IDs are allowed to live.

sidentries

Specifies the maximum number of entries to keep in the session ID cache.

siddir

Is currently unused.

options

Points to a wallet-specific structure that tells TLS how to use the wallet. The first field must be WAL_PROV_*, which specifies which wallet provider to use.

Remarks

If WSAIoctl is called to get/ set the client data that TLS uses for the socket, the lpInBuffer parameter points to this structure.