nn::ssl::CertStore::Finalize Member Function

Syntax

nn::Result Finalize(
     void
);

Arguments

None.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultFailToCreateCertStoreErr Error indicating failure to create certificate store. The function returns this value when Initialize has not yet been called. You must call Initialize after creating an instance of this class in order to use it. It may also be returned if the the total number of certificates registered in the SSL library is already at the maximum allowed by the system, or in other similar situations. Unregistering a locally registered certificate or trying again later (provided another module unregisters a certificate in the meantime) may succeed.
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

Finalizes the certificate store. This function must be called once after all use of the certificate store has finished.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL