SSLC:ContextGetProtocolCipher

SSLC:ContextGetProtocolCipher

Request #

Index WordDescription
0Header code [0x001C00C4]
1SSL context handle
2Outprotocols_maxsize
3Outcipher_maxsize
4(Outprotocols_maxsize<<4) | 12
5Pointer to outprotocols buffer
6(Outcipher_maxsize<<4) | 12
7Pointer to outcipher buffer

Response #

Index WordDescription
0Header code
1Result 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.

Outprotocols 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”.

Outcipher contains the cipher suite currently being used. For example: “EDH-RSA-AES256-SHA”.