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

Syntax

nn::Result DisableVerifyOptionForDebug(
     u32 excludeVerifyOptions
);

Arguments

Name Description
in excludeVerifyOptions Options indicating which 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 function's execution result. Returns a Result listed below.
Value Description
ResultSuccess Process was successful.
ResultNotConnectedErr Error indicating a Connection class instance for which the target URL is not assigned. The function has not done anything as it has been called on a Connection instance for which you have not yet successfully called Initialize.
ResultNotInitializedErr Error indicating that the library is not initialized. None of this library's functions can be used until you first call nn::http::Initialize.
A value other than the above. Unexpected error (See http_Result.h for details).

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