nn::ssl::Connection::GetCipherInfo Member Function

Syntax

nn::Result GetCipherInfo(
     char * pVersionBuf,
     size_t versionBufSize,
     char * pCipherKindStrBuf,
     size_t cipherKindStrBufSize,
     s32 * pAlgBits,
     s32 * pEffectiveBits
);

Arguments

Name Description
out pVersionBuf Buffer storing the version string.
in versionBufSize Size of pVersionBuf.
out pCipherKindStrBuf Buffer storing the string indicating the encryption type.
in cipherKindStrBufSize Size of pCipherKindStrBufSize.
out pAlgBits Buffer storing the number of bits in the encryption algorithm key.
out pEffectiveBits Buffer storing the number of bits of effective security of the cipher.

Return Values

Returns the processing result.

Description

Gets information about the encryption used for the target SSL communication. This function is intended for special use cases, and is not envisioned for use by normal users.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL