nn::ssl::Connection::SetClientCert Member Function

Syntax

nn::Result SetClientCert(
     ClientCert & clientCert
);

Arguments

Name Description
in clientCert Client certificate to set.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
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

Sets the client certificate to use in SSL communication.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL