The handle should have been created by calling
TlsDatabase.createCertificateHandle on a gio.TlsDatabase object of
the same TLS backend. The handle is designed to remain valid across
instantiations of the database.
If the handle is no longer valid, or does not point to a certificate in
this database, then NULL will be returned.
Look up a certificate by its handle.
The handle should have been created by calling TlsDatabase.createCertificateHandle on a gio.TlsDatabase object of the same TLS backend. The handle is designed to remain valid across instantiations of the database.
If the handle is no longer valid, or does not point to a certificate in this database, then NULL will be returned.
This function can block, use TlsDatabase.lookupCertificateForHandleAsync to perform the lookup operation asynchronously.