SSLC:ContextGetProtocolCipher

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x001C00C4]
1 SSL context handle
2 Outstr0_maxsize
3 Outstr1_maxsize
4 (Outstr0_maxsize<<4) | 12
5 Pointer to output str0
6 (Outstr1_maxsize<<4) | 12
7 Pointer to output str1

Response

Index Word Description
0 Header code
1 Result code

Description

This is only usable if the connection was already started successfully(SSLC:StartConnection*).

This copies two strings to the specified output buffers, each string is only copied if it was successfully loaded. The out sizes include the nul-terminator.

Str0 contains the protocol versions supported by SSL-module. What protocol version is currently being used or what protocol versions are actually supported by the server, do not affect this string. For example: "TLSv11/TLSv1/SSLv3".

Str1 contains the cipher suite currently being used. For example: "EDH-RSA-AES256-SHA".