nn::ssl::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.)
Currently, this argument can be set to the following values: nn::ssl::VERIFY_COMMON_NAME: Verifies that the certificate's CommonName value matches the host name specified with the AssignServer function.
nn::ssl::VERIFY_SUBJECT_ALT_NAME: Gives priority to the certificate's SubjectAltName (if one exists) during CommonName verification.
nn::ssl::VERIFY_ROOT_CA:Verifies the certificate's Root CA.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultProtocolFailedErr Indicates that the process failed. (An invalid argument, etc.)
ResultInternalSslIdErr The target SSL connection was invalid. (An internal library error.)
ResultIpcSessionErr Error indicating an uninitialized connection. 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 the functions in this library can be run without first running nn::ssl::Initialize.
A value other than the above. Unexpected error (see ssl_Result.h for error 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.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL