SSLC:CreateContext

SSLC:CreateContext

Request #

Index WordDescription
0Header code [0x000200C2]
1Socket descriptor
2u32 input_opt
3Host-name size, including null-terminator.
4(Size<<4) | 10
5Pointer to input host-name buffer

Response #

Index WordDescription
0Header code
1Result code
2Output SSL context handle

Description #

This creates a session context. The specified sockfd must be used with SOCU:AddGlobalSocket before SSLC:CreateContext.

The context opt field also used by SSLC:ContextClearOpt is set to: input_opt | 0x1b. For user-processes the default value for input_opt is 0x0.