Add GTlsMetaDatabase
@xclaesse
Submitted by Xavier Claessens Link to original bug (#750580)
Description
I don't think it is possible atm to have a GTlsDatabase that accepts certs from the system and a set of extra files.
It could be useful to add a meta database that contains a list of GTlsDatabase. Its verify_chain() vmethod would call verify_chain() in each of its child databases and return as soon as one doesn't reply with G_TLS_CERTIFICATE_UNKNOWN_CA.
Backend implementations of this GTlsMetaDatabase would only have to override a add/remove_database() vmethod to verify that GTlsDatabase we are adding comes from the same backend.
I'm not sure if this makes sense or if I'm on crack... If you think it's a good idea I could work on a patch.