lookup_certificate_issuer


Description:

public virtual TlsCertificate lookup_certificate_issuer (TlsCertificate certificate, TlsInteraction? interaction, TlsDatabaseLookupFlags flags, Cancellable? cancellable = null) throws Error

Lookup the issuer of certificate in the database.

The issuer property of certificate is not modified, and the two certificates are not hooked into a chain.

This function can block, use lookup_certificate_issuer_async to perform the lookup operation asynchronously.

Parameters:

this

a TlsDatabase

certificate

a TlsCertificate

interaction

used to interact with the user if necessary

flags

flags which affect the lookup operation

cancellable

a Cancellable, or null

Returns:

a newly allocated issuer TlsCertificate, or null. Use unref to release the certificate.