GTlsCertificateFlags verify_chain_finish ( GTlsDatabase* self, GAsyncResult* result, GError** error )
Finish an asynchronous verify chain operation. See
g_tls_database_verify_chain() for more information.
chain is found to be valid, then the return value will be 0. If
chain is found to be invalid, then the return value will indicate
the problems found. If the function is unable to determine whether
chain is valid or not (eg, because
cancellable is triggered
before it completes) then the return value will be
error will be set
error is not set when
chain is successfully analyzed
but found to be invalid.
Available since: 2.30
The data is owned by the caller of the function.
The return location for a recoverable error.
The argument can be
If the return location is not
NULL, then you must initialize it to a
The argument will be left initialized to
NULLby the virtual function if there are no errors.
In case of error, the argument will be set to a newly allocated
GError; the caller will take ownership of the data, and be responsible for freeing it.
GTlsCertificateFlags which represents the
result of verification.