result of verification.
TlsDatabase.verifyChainFinish
gio.types.TlsCertificateFlags verifyChainFinish(gio.async_result.AsyncResult result)Finish an asynchronous verify chain operation. See [gio.tls_database.TlsDatabase.verifyChain] for more information.
If 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 [gio.types.TlsCertificateFlags.GenericError] and error will be set accordingly. error is not set when chain is successfully analyzed but found to be invalid.
Parameters
result | a #GAsyncResult. |
Returns
the appropriate #GTlsCertificateFlags which represents the
Throws
[ErrorWrap]