nn::http::Connection::DisableVerifyOptionForDebug Member Function

Syntax

nn::Result DisableVerifyOptionForDebug(
     u32 excludeVerifyOptions
);

Arguments

Name Description
in excludeVerifyOptions Options indicating what SSL verification methods to exclude. Specify a nn::ssl::VerifyOption enumerated type value representing the verification methods to exclude. (To exclude multiple values, set this argument to the bitwise OR of multiple values.) You can currently specify the following values for this argument.

nn::ssl::VERIFY_COMMON_NAME: Verifies whether the certificate's CommonName matches the name of the targeted host.
nn::ssl::VERIFY_SUBJECT_ALT_NAME: If the certificate includes a SubjectAltName description, it uses that first when verifying the CommonName.
nn::ssl::VERIFY_ROOT_CA:Verifies the certificate's Root CA.

Return Values

Returns the processing result.

Description

Removes the SSL communication verification contents for the specified bits.

The items that are verified by default were chosen for security reasons.
Do not exclude any items from verification except for debugging purposes.
Note: When using this API function to set options, you must do so before starting the communication session that the options are for (that is, you must call this function before calling Connect or ConnectAsync).

Revision History

2010/06/14
Initial version.

CONFIDENTIAL