tlsserveropts

Contains the server options.

Service:Winsock 2

Syntax

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

Fields

wallet

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

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 server data that TLS uses for the socket, the lpInBuffer parameter points to this structure.