Virtual Method

GioTlsDatabaselookup_certificates_issued_by

Declaration

GList*
lookup_certificates_issued_by (
  GTlsDatabase* self,
  GByteArray* issuer_raw_dn,
  GTlsInteraction* interaction,
  GTlsDatabaseLookupFlags flags,
  GCancellable* cancellable,
  GError** error
)

Description

Look up certificates issued by this issuer in the database.

This function can block, use g_tls_database_lookup_certificates_issued_by_async() to perform the lookup operation asynchronously.

Available since:2.30

Parameters

issuer_raw_dn An array of guint8
 

A GByteArray which holds the DER encoded issuer DN.

 The data is owned by the caller of the function.
interaction GTlsInteraction
 

Used to interact with the user if necessary.

 The argument can be NULL.
 The data is owned by the caller of the function.
flags GTlsDatabaseLookupFlags
 

Flags which affect the lookup operation.

cancellable GCancellable
 

A GCancellable, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: A list of GTlsCertificate*
 

A newly allocated list of GTlsCertificate objects. Use g_object_unref() on each certificate, and g_list_free() on the release the list.

 The caller of the function takes ownership of the data, and is responsible for freeing it.