nn::http::Connection::SetVerifyOption Member Functionnn::Result SetVerifyOption( u32 verifyOption );
| Name | Description | |
|---|---|---|
| in | verifyOption | SSL server verification options. These verification options are disabled in the default server verification. (If using the default server verification, this argument can be omitted. ) Specify a nn::ssl::VerifyOption enumerated type value representing the verification options to perform. (To specify multiple options, use the bitwise OR of the desired values.) Currently, this argument can be set to the following values: nn::ssl::VERIFY_DATE: Verifies whether the certificate has expired.nn::ssl::USE_SESSION_CACHE: Resume any existing session. (If you disconnect and reconnect to the same host, the system will attempt to resume the previous session.)nn::ssl::VERIFY_EV: Carries out EV certificate authentication. (This authentication will fail unless the server certificate is linked to an EV certificate.)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). |
Sets options that relate to SSL server verification.
※ The authentication operations below are defined in the nn::ssl::VerifyOption enumerated type and implemented by default.
・CommonName authentication (nn::ssl::VERIFY_COMMON_NAME)
・RootCA authentication (nn::ssl::VERIFY_ROOT_CA)
・SubjectAlternativeName authentication (nn::ssl::VERIFY_SUBJECT_ALT_NAME)
CONFIDENTIAL