<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gck" version="2"/>
  <include name="Gio" version="2.0"/>
  <package name="gcr-4"/>
  <c:include name="gcr/gcr.h"/>
  <doc:format name="unknown"/>
  <namespace name="Gcr"
             version="4"
             shared-library="libgcr-4.so.4"
             c:identifier-prefixes="Gcr"
             c:symbol-prefixes="gcr">
    <class name="AccessDescription"
           c:symbol-prefix="access_description"
           c:type="GcrAccessDescription"
           version="4.3.91"
           parent="GObject.Object"
           glib:type-name="GcrAccessDescription"
           glib:get-type="gcr_access_description_get_type"
           glib:type-struct="AccessDescriptionClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-authority-info-access.c"
           line="37">Describes a location for fetching extra information from the Certificate Authority.

This object is usually part of a
[class@Gcr.CertificateExtensionAuthorityInfoAccess] object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="167"/>
      <method name="get_location"
              c:identifier="gcr_access_description_get_location">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-info-access.c"
             line="109">Returns the location, described by a [class@Gcr.GeneralName].</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="176"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-info-access.c"
               line="114">the location</doc>
          <type name="GeneralName" c:type="GcrGeneralName*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="AccessDescription" c:type="GcrAccessDescription*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_method_name"
              c:identifier="gcr_access_description_get_method_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-info-access.c"
             line="94">Returns a user-friendly name of the method for accesssing the resource, if
known.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="174"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-info-access.c"
               line="100">A method name</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="AccessDescription" c:type="GcrAccessDescription*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_method_oid"
              c:identifier="gcr_access_description_get_method_oid">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-info-access.c"
             line="80">Returns the OID string that describes the method for accessing the resource.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="172"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-info-access.c"
               line="85">The method OID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="AccessDescription" c:type="GcrAccessDescription*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="AccessDescriptionClass"
            c:type="GcrAccessDescriptionClass"
            glib:is-gtype-struct-for="AccessDescription">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="167"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <function-macro name="CERTIFICATE"
                    c:identifier="GCR_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CERTIFICATE_CHAIN"
                    c:identifier="GCR_CERTIFICATE_CHAIN"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate-chain.h" line="51"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CERTIFICATE_CHAIN_CLASS"
                    c:identifier="GCR_CERTIFICATE_CHAIN_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate-chain.h" line="52"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CERTIFICATE_CHAIN_GET_CLASS"
                    c:identifier="GCR_CERTIFICATE_CHAIN_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate-chain.h" line="55"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CERTIFICATE_GET_INTERFACE"
                    c:identifier="GCR_CERTIFICATE_GET_INTERFACE"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate.h" line="40"/>
      <parameters>
        <parameter name="inst">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CHECK_VERSION"
                    c:identifier="GCR_CHECK_VERSION"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="40">Checks the version of the Gcr library that is being compiled
against.

```
#if !GCR_CHECK_VERSION (3, 0, 0)
#warning Old Gcr version, disabling functionality
#endif
```</doc>
      <source-position filename="gcr/gcr-version.h" line="38"/>
      <parameters>
        <parameter name="major">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="42">the major version to check for</doc>
        </parameter>
        <parameter name="minor">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="43">the minor version to check for</doc>
        </parameter>
        <parameter name="micro">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="44">the micro version to check for</doc>
        </parameter>
      </parameters>
    </function-macro>
    <interface name="Certificate"
               c:symbol-prefix="certificate"
               c:type="GcrCertificate"
               glib:type-name="GcrCertificate"
               glib:get-type="gcr_certificate_get_type"
               glib:type-struct="CertificateIface">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate.c"
           line="43">An interface that represents an X.509 certificate.

Objects can implement this interface to make a certificate usable with the
GCR library.

Various methods are available to parse out relevant bits of the certificate.
However no verification of the validity of a certificate is done here. Use
your favorite crypto library to do this.

You can use [class@SimpleCertificate] to simply load a certificate for which
you already have the raw certificate data.

The #GcrCertificate interface has several properties that must be implemented.
You can use a mixin to implement these properties if desired. See the
[func@Certificate.mixin_class_init] and [func@Certificate.mixin_get_property]
functions.</doc>
      <source-position filename="gcr/gcr-certificate.h" line="70"/>
      <function name="mixin_class_init"
                c:identifier="gcr_certificate_mixin_class_init"
                introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="1532">Initialize the certificate mixin for the class. This mixin implements the
various required properties for the certificate.

Call this function near the end of your derived class_init function. The
derived class must implement the #GcrCertificate interface.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="138"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object_class" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1534">The GObjectClass for this class</doc>
            <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
          </parameter>
        </parameters>
      </function>
      <function name="mixin_get_property"
                c:identifier="gcr_certificate_mixin_get_property"
                introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="1559">Implementation to get various required certificate properties. This should
be called from your derived class get_property function, or used as a
get_property virtual function.

Example of use as called from derived class get_property function:

&lt;informalexample&gt;&lt;programlisting&gt;
static void
my_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec)
{
	switch (prop_id) {

	...

	default:
		gcr_certificate_mixin_get_property (obj, prop_id, value, pspec);
		break;
	}
}
&lt;/programlisting&gt;&lt;/informalexample&gt;

Example of use as get_property function:

&lt;informalexample&gt;&lt;programlisting&gt;
static void
my_class_init (MyClass *klass)
{
	GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
	gobject_class-&gt;get_property = gcr_certificate_mixin_get_property;

	...
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
        <source-position filename="gcr/gcr-certificate.h" line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="obj" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1561">The object</doc>
            <type name="GObject.Object" c:type="GObject*"/>
          </parameter>
          <parameter name="prop_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1562">The property id</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1563">The value to fill in.</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
          <parameter name="pspec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1564">The param specification.</doc>
            <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="get_der_data" invoker="get_der_data">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="258">Gets the raw DER data for an X.509 certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="265">raw DER data of the X.509 certificate</doc>
          <array length="0" zero-terminated="0" c:type="const guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="260">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="n_data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="261">a pointer to a location to store the size of the resulting DER data.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_basic_constraints"
              c:identifier="gcr_certificate_get_basic_constraints">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="894">Get the basic constraints for the certificate if present. If %FALSE is
returned then no basic constraints are present and the @is_ca and
@path_len arguments are not changed.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="127"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="904">whether basic constraints are present or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="896">the certificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="is_ca"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="897">location to place a %TRUE if is an authority</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
          <parameter name="path_len"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="898">location to place the max path length</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_der_data" c:identifier="gcr_certificate_get_der_data">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="258">Gets the raw DER data for an X.509 certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="265">raw DER data of the X.509 certificate</doc>
          <array length="0" zero-terminated="0" c:type="const guint8*">
            <type name="guint8" c:type="guint8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="260">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="n_data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="261">a pointer to a location to store the size of the resulting DER data.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_expiry_date"
              c:identifier="gcr_certificate_get_expiry_date"
              glib:get-property="expiry-date">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="635">Get the expiry date of this certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="106"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="641">An expiry date of this certificate.</doc>
          <type name="GLib.DateTime" c:type="GDateTime*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="637">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_fingerprint"
              c:identifier="gcr_certificate_get_fingerprint">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="718">Calculate the fingerprint for this certificate.

The caller should free the returned data using g_free() when
it is no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="120"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="729">the raw binary fingerprint</doc>
          <array length="1" zero-terminated="0" c:type="guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="720">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="721">the type of algorithm for the fingerprint.</doc>
            <type name="GLib.ChecksumType" c:type="GChecksumType"/>
          </parameter>
          <parameter name="n_length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="722">The length of the resulting fingerprint.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_fingerprint_hex"
              c:identifier="gcr_certificate_get_fingerprint_hex">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="757">Calculate the fingerprint for this certificate, and return it
as a hex string.

The caller should free the returned data using g_free() when
it is no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="124"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="768">an allocated hex string which contains the fingerprint.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="759">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="760">the type of algorithm for the fingerprint.</doc>
            <type name="GLib.ChecksumType" c:type="GChecksumType"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_interface_elements"
              c:identifier="gcr_certificate_get_interface_elements">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="1302">Get the list of sections from the certificate that can be shown to the user
interface.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="131"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1309">A #GList of
#GcrCertificateSection</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="CertificateSection"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1304">the #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issued_date"
              c:identifier="gcr_certificate_get_issued_date">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="613">Get the issued date of this certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="104"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="619">A issued date of this certificate.</doc>
          <type name="GLib.DateTime" c:type="GDateTime*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="615">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issuer_cn"
              c:identifier="gcr_certificate_get_issuer_cn">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="302">Get the common name of the issuer of this certificate.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="79"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="311">The allocated issuer CN, or %NULL if no issuer CN present.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="304">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issuer_dn"
              c:identifier="gcr_certificate_get_issuer_dn">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="438">Get the full issuer DN of the certificate as a (mostly)
readable string.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="81"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="448">The allocated issuer DN of the certificate.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="440">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issuer_name"
              c:identifier="gcr_certificate_get_issuer_name"
              glib:get-property="issuer-name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="277">Get a name to represent the issuer of this certificate.

This will try to lookup the common name, orianizational unit,
organization in that order.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="77"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="286">the allocated issuer name, or %NULL if no issuer name</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="279">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issuer_part"
              c:identifier="gcr_certificate_get_issuer_part">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="319">Get a part of the DN of the issuer of this certificate.

Examples of a @part might be the 'OU' (organizational unit)
or the 'CN' (common name). Only the value of that part
of the DN is returned.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="83"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="333">the allocated part of the issuer DN, or %NULL if no
         such part is present</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="321">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="part" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="322">a DN type string or OID.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_issuer_raw"
              c:identifier="gcr_certificate_get_issuer_raw">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="365">Get the raw DER data for the issuer DN of the certificate.

The data should be freed by using g_free() when no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="86"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="374">allocated memory
         containing the raw issuer</doc>
          <array length="0" zero-terminated="0" c:type="guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="367">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="n_data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="368">The length of the returned data.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_key_size" c:identifier="gcr_certificate_get_key_size">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="687">Get the key size in bits of the public key represented
by this certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="694">The key size of the certificate.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="689">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_public_key_info"
              c:identifier="gcr_certificate_get_public_key_info">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="657">Returns the subject public key info (SPKI) of the certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="663">The SPKI of the certificate.</doc>
          <type name="SubjectPublicKeyInfo" c:type="GcrSubjectPublicKeyInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="659">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_serial_number"
              c:identifier="gcr_certificate_get_serial_number">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="827">Get the raw binary serial number of the certificate.

The caller should free the returned data using g_free() when
it is no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="110"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="837">the raw binary serial number.</doc>
          <array length="0" zero-terminated="0" c:type="guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="829">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="n_length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="830">the length of the returned data.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_serial_number_hex"
              c:identifier="gcr_certificate_get_serial_number_hex">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="865">Get the serial number of the certificate as a hex string.

The caller should free the returned data using g_free() when
it is no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="113"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="874">an allocated string containing the serial number as hex.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="867">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subject_cn"
              c:identifier="gcr_certificate_get_subject_cn">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="464">Get the common name of the subject of this certificate.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="94"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="473">The allocated subject CN, or %NULL if no subject CN present.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="466">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subject_dn"
              c:identifier="gcr_certificate_get_subject_dn">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="538">Get the full subject DN of the certificate as a (mostly)
readable string.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="96"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="548">The allocated subject DN of the certificate.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="540">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subject_name"
              c:identifier="gcr_certificate_get_subject_name"
              glib:get-property="subject-name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="481">Get a name to represent the subject of this certificate.

This will try to lookup the common name, orianizational unit,
organization in that order.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="92"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="490">the allocated subject name, or %NULL if no subject name</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="483">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_subject_part"
              c:identifier="gcr_certificate_get_subject_part">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="506">Get a part of the DN of the subject of this certificate.

Examples of a @part might be the 'OU' (organizational unit)
or the 'CN' (common name). Only the value of that part
of the DN is returned.

The string returned should be freed by the caller when no longer
required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="98"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="520">the allocated part of the subject DN, or %NULL if no
         such part is present.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="508">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="part" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="509">a DN type string or OID.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_subject_raw"
              c:identifier="gcr_certificate_get_subject_raw">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="578">Get the raw DER data for the subject DN of the certificate.

The data should be freed by using g_free() when no longer required.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="101"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="587">allocated memory
         containing the raw subject</doc>
          <array length="0" zero-terminated="0" c:type="guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="580">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="n_data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="581">The length of the returned data.</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_version" c:identifier="gcr_certificate_get_version">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="796">Get the version of the X.509 certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="802">the version of the certificate</doc>
          <type name="gulong" c:type="gulong"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="798">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_issuer" c:identifier="gcr_certificate_is_issuer">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="400">Check if @issuer could be the issuer of this certificate. This is done by
comparing the relevant subject and issuer fields. No signature check is
done. Proper verification of certificates must be done via a crypto
library.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="410">whether @issuer could be the issuer of the certificate.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="402">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
          <parameter name="issuer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="403">a possible issuer #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_extensions"
              c:identifier="gcr_certificate_list_extensions"
              version="4.3.90">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="1459">Creates a [class@CertificateExtensionList] that can be used to inspect the
extensions of this certificate.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="134"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1465">The certificate's extensions</doc>
          <type name="CertificateExtensionList"
                c:type="GcrCertificateExtensionList*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="mixin_emit_notify"
              c:identifier="gcr_certificate_mixin_emit_notify">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="1510">Implementers of the #GcrCertificate mixin should call this function to notify
when the certificate has changed to emit notifications on the various
properties.</doc>
        <source-position filename="gcr/gcr-certificate.h" line="136"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="1512">the #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="description" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="209">A readable description for this certificate</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="expiry-date"
                transfer-ownership="none"
                getter="get_expiry_date">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="236">The expiry date of the certificate</doc>
        <type name="GLib.DateTime"/>
      </property>
      <property name="issuer-name"
                transfer-ownership="none"
                getter="get_issuer_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="227">Common name part of the certificate issuer</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="label" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="200">A readable label for this certificate.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="subject-name"
                transfer-ownership="none"
                getter="get_subject_name">
        <type name="utf8" c:type="gchar*"/>
      </property>
    </interface>
    <class name="CertificateChain"
           c:symbol-prefix="certificate_chain"
           c:type="GcrCertificateChain"
           parent="GObject.Object"
           glib:type-name="GcrCertificateChain"
           glib:get-type="gcr_certificate_chain_get_type"
           glib:type-struct="CertificateChainClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-chain.c"
           line="35">Represents a chain of certificates, normally used to
validate the trust in a certificate. An X.509 certificate chain has one
endpoint certificate (the one for which trust is being verified) and then
in turn the certificate that issued each previous certificate in the chain.

This functionality is for building of certificate chains not for validating
them. Use your favorite crypto library to validate trust in a certificate
chain once its built.

The order of certificates in the chain should be first the endpoint
certificates and then the signing certificates.

Create a new certificate chain with [ctor@CertificateChain.new] and then
add the certificates with [method@CertificateChain.add].

You can then use [method@CertificateChain.build] to build the remainder of
the chain. This will lookup missing certificates in PKCS#11 modules and
also check that each certificate in the chain is the signer of the previous
one. If a trust anchor, pinned certificate, or self-signed certificate is
found, then the chain is considered built. Any extra certificates are
removed from the chain.

Once the certificate chain has been built, you can access its status
through [method@CertificateChain.get_status]. The status signifies whether
the chain is anchored on a trust root, self-signed, incomplete etc. See
[enum@CertificateChainStatus] for information on the various statuses.

It's important to understand that the building of a certificate chain is
merely the first step towards verifying trust in a certificate.</doc>
      <source-position filename="gcr/gcr-certificate-chain.h" line="70"/>
      <constructor name="new" c:identifier="gcr_certificate_chain_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="523">Create a new #GcrCertificateChain.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="74"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="528">a newly allocated certificate chain</doc>
          <type name="CertificateChain" c:type="GcrCertificateChain*"/>
        </return-value>
      </constructor>
      <method name="add" c:identifier="gcr_certificate_chain_add">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="536">Add @certificate to the chain. The order of certificates in the chain are
important. The first certificate should be the endpoint certificate, and
then come the signers (certificate authorities) each in turn. If a root
certificate authority is present, it should come last.

Adding a certificate an already built chain (see
[method@Gcr.CertificateChain.build]) resets the type of the certificate chain
to %GCR_CERTIFICATE_CHAIN_UNKNOWN</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="538">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
          <parameter name="certificate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="539">a #GcrCertificate to add to the chain</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </parameter>
        </parameters>
      </method>
      <method name="build"
              c:identifier="gcr_certificate_chain_build"
              throws="1"
              glib:async-func="build_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="659">Complete a certificate chain. Once a certificate chain has been built
its status can be examined.

This operation will lookup missing certificates in PKCS#11
modules and also that each certificate in the chain is the signer of the
previous one. If a trust anchor, pinned certificate, or self-signed certificate
is found, then the chain is considered built. Any extra certificates are
removed from the chain.

It's important to understand that building of a certificate chain does not
constitute verifying that chain. This is merely the first step towards
trust verification.

The @purpose is a string like %GCR_PURPOSE_CLIENT_AUTH and is the purpose
for which the certificate chain will be used. Trust anchors are looked up
for this purpose. This argument is required.

The @peer is usually the host name of the peer whith which this certificate
chain is being used. It is used to look up pinned certificates that have
been stored for this peer. If %NULL then no pinned certificates will
be considered.

If the %GCR_CERTIFICATE_CHAIN_NO_LOOKUPS flag is specified then no
lookups for anchors or pinned certificates are done, and the resulting chain
will be neither anchored or pinned. Additionally no missing certificate
authorities are looked up in PKCS#11

This call will block, see [method@Gcr.CertificateChain.build_async] for the
asynchronous version.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="698">whether the operation completed successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="661">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
          <parameter name="purpose" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="662">the purpose the certificate chain will be used for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="peer"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="663">the peer the certificate chain will be used with, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="664">chain completion flags</doc>
            <type name="CertificateChainFlags"
                  c:type="GcrCertificateChainFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="665">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="build_async"
              c:identifier="gcr_certificate_chain_build_async"
              glib:finish-func="build_finish"
              glib:sync-func="build">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="730">Complete a certificate chain. Once a certificate chain has been built
its status can be examined.

This will lookup missing certificates in PKCS#11
modules and also that each certificate in the chain is the signer of the
previous one. If a trust anchor, pinned certificate, or self-signed certificate
is found, then the chain is considered built. Any extra certificates are
removed from the chain.

It's important to understand that building of a certificate chain does not
constitute verifying that chain. This is merely the first step towards
trust verification.

The @purpose is a string like %GCR_PURPOSE_CLIENT_AUTH and is the purpose
for which the certificate chain will be used. Trust anchors are looked up
for this purpose. This argument is required.

The @peer is usually the host name of the peer whith which this certificate
chain is being used. It is used to look up pinned certificates that have
been stored for this peer. If %NULL then no pinned certificates will
be considered.

If the %GCR_CERTIFICATE_CHAIN_NO_LOOKUPS flag is specified then no
lookups for anchors or pinned certificates are done, and the resulting chain
will be neither anchored or pinned. Additionally no missing certificate
authorities are looked up in PKCS#11

When the operation is finished, @callback will be called. You can then call
gcr_certificate_chain_build_finish() to get the result of the operation.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="97"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="732">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
          <parameter name="purpose" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="733">the purpose the certificate chain will be used for</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="peer"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="734">the peer the certificate chain will be used with, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="735">chain completion flags</doc>
            <type name="CertificateChainFlags"
                  c:type="GcrCertificateChainFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="736">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="737">this will be called when the operation completes.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="738">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="build_finish"
              c:identifier="gcr_certificate_chain_build_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="795">Finishes an asynchronous operation started by
gcr_certificate_chain_build_async().</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="804">whether the operation succeeded</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="797">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="798">the #GAsyncResult passed to the callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_anchor"
              c:identifier="gcr_certificate_chain_get_anchor">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="581">If the certificate chain has been built and is of status
%GCR_CERTIFICATE_CHAIN_ANCHORED, then this will return the anchor
certificate that was found. This is not necessarily a root certificate
authority. If an intermediate certificate authority in the chain was
found to be anchored, then that certificate will be returned.

If an anchor is returned it does not mean that the certificate chain has
been verified, but merely that an anchor has been found.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="594">the anchor certificate, or %NULL if not anchored.</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="583">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_certificate"
              c:identifier="gcr_certificate_chain_get_certificate">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="641">Get a certificate in the chain. It is an error to call this function
with an invalid index.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="649">the certificate</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="643">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="644">index of the certificate to get</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_endpoint"
              c:identifier="gcr_certificate_chain_get_endpoint">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="607">Get the endpoint certificate in the chain. This is always the first
certificate in the chain. The endpoint certificate cannot be anchored.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="614">the endpoint certificate, or %NULL if the chain
         is empty</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="609">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_length"
              c:identifier="gcr_certificate_chain_get_length"
              glib:get-property="length">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="626">Get the length of the certificate chain.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="632">the length of the certificate chain</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="628">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_status"
              c:identifier="gcr_certificate_chain_get_status">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="561">Get the status of a certificate chain. If the certificate chain has not
been built, then the status will be %GCR_CERTIFICATE_CHAIN_UNKNOWN.

A status of %GCR_CERTIFICATE_CHAIN_ANCHORED does not mean that the
certificate chain has been verified, but merely that an anchor has been
found.</doc>
        <source-position filename="gcr/gcr-certificate-chain.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-chain.c"
               line="572">the status of the certificate chain.</doc>
          <type name="CertificateChainStatus"
                c:type="GcrCertificateChainStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-chain.c"
                 line="563">the #GcrCertificateChain</doc>
            <type name="CertificateChain" c:type="GcrCertificateChain*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="length"
                transfer-ownership="none"
                getter="get_length"
                default-value="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="458">The length of the certificate chain.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="status"
                introspectable="0"
                transfer-ownership="none"
                default-value="GCR_CERTIFICATE_CHAIN_UNKNOWN">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="447">The certificate chain status. See #GcrCertificateChainStatus</doc>
        <type/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="CertificateChainPrivate"
              c:type="GcrCertificateChainPrivate*"/>
      </field>
    </class>
    <record name="CertificateChainClass"
            c:type="GcrCertificateChainClass"
            glib:is-gtype-struct-for="CertificateChain">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-chain.c"
           line="69">The class for #GcrCertificateChain.</doc>
      <source-position filename="gcr/gcr-certificate-chain.h" line="70"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="71">The parent class</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <bitfield name="CertificateChainFlags" c:type="GcrCertificateChainFlags">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-chain.c"
           line="506">Flags to be used with the [method@Gcr.CertificateChain.build] operation.</doc>
      <source-position filename="gcr/gcr-certificate-chain.h" line="48"/>
      <member name="none" value="0" c:identifier="GCR_CERTIFICATE_CHAIN_NONE">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="508">no flags</doc>
      </member>
      <member name="no_lookups"
              value="1"
              c:identifier="GCR_CERTIFICATE_CHAIN_NO_LOOKUPS">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="509">If this flag is specified then no
lookups for anchors or pinned certificates are done, and the resulting chain
will be neither anchored or pinned. Additionally no missing certificate
authorities are looked up in PKCS#11.</doc>
      </member>
    </bitfield>
    <record name="CertificateChainPrivate"
            c:type="GcrCertificateChainPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-certificate-chain.h" line="59"/>
    </record>
    <enumeration name="CertificateChainStatus"
                 c:type="GcrCertificateChainStatus">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-chain.c"
           line="476">The status of a built certificate chain. Will be set to
%GCR_CERTIFICATE_CHAIN_UNKNOWN for certificate chains that have not been
built.</doc>
      <source-position filename="gcr/gcr-certificate-chain.h" line="43"/>
      <member name="unknown"
              value="0"
              c:identifier="GCR_CERTIFICATE_CHAIN_UNKNOWN">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="478">The certificate chain's status is unknown.
When a chain is not yet built it has this status. If a chain is modified after
being built, it has this status.</doc>
      </member>
      <member name="incomplete"
              value="1"
              c:identifier="GCR_CERTIFICATE_CHAIN_INCOMPLETE">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="481">A full chain could not be loaded. The
chain does not end with a self-signed certificate, a trusted anchor, or a
pinned certificate.</doc>
      </member>
      <member name="distrusted"
              value="2"
              c:identifier="GCR_CERTIFICATE_CHAIN_DISTRUSTED">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="486">The certificate chain contains a revoked
or otherwise explicitly distrusted certificate. The entire chain should
be distrusted.</doc>
      </member>
      <member name="selfsigned"
              value="3"
              c:identifier="GCR_CERTIFICATE_CHAIN_SELFSIGNED">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="484">The chain ends with a self-signed
certificate. No trust anchor was found.</doc>
      </member>
      <member name="pinned"
              value="4"
              c:identifier="GCR_CERTIFICATE_CHAIN_PINNED">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="491">The chain represents a pinned certificate. A
pinned certificate is an exception which trusts a given certificate
explicitly for a purpose and communication with a certain peer.</doc>
      </member>
      <member name="anchored"
              value="5"
              c:identifier="GCR_CERTIFICATE_CHAIN_ANCHORED">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-chain.c"
             line="489">The chain ends with an anchored
certificate. The anchored certificate is not necessarily self-signed.</doc>
      </member>
    </enumeration>
    <class name="CertificateExtension"
           c:symbol-prefix="certificate_extension"
           c:type="GcrCertificateExtension"
           version="4.3.90"
           parent="GObject.Object"
           glib:type-name="GcrCertificateExtension"
           glib:get-type="gcr_certificate_extension_get_type"
           glib:type-struct="CertificateExtensionClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension.c"
           line="33">An object that describes a certificate extension.

By default, a certificate extension exposes 3 things: an OID,
whether it's marked as critical, and the raw value.

For known extensions, gcr tries to provide subclasses with the appropriate
API.

See also [method@Certificate.list_extensions].</doc>
      <source-position filename="gcr/gcr-certificate-extension.h" line="42"/>
      <method name="get_description"
              c:identifier="gcr_certificate_extension_get_description"
              version="4.3.90">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="234">Returns a user-displayable description of the OID that identifies the
extension, if known.</doc>
        <source-position filename="gcr/gcr-certificate-extension.h" line="46"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension.c"
               line="240">A user-facing description, or `null` if
  unknown</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtension"
                  c:type="GcrCertificateExtension*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_oid"
              c:identifier="gcr_certificate_extension_get_oid"
              glib:get-property="oid"
              version="4.3.90">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="185">Returns the OID that identifies the extension</doc>
        <source-position filename="gcr/gcr-certificate-extension.h" line="44"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtension"
                  c:type="GcrCertificateExtension*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="gcr_certificate_extension_get_value"
              glib:get-property="value"
              version="4.3.90">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="256">Returns the raw value in bytes of the extension.</doc>
        <source-position filename="gcr/gcr-certificate-extension.h" line="48"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension.c"
               line="261">The raw value date</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtension"
                  c:type="GcrCertificateExtension*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_critical"
              c:identifier="gcr_certificate_extension_is_critical"
              glib:get-property="critical">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="276">Returns wether the certificate extension is marked critical.</doc>
        <source-position filename="gcr/gcr-certificate-extension.h" line="50"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension.c"
               line="281">`true` if the extension is marked critical</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtension"
                  c:type="GcrCertificateExtension*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="critical"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="is_critical"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="160">Whether this certificate is critical.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="oid"
                transfer-ownership="none"
                getter="get_oid"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="150">The Object Identifier (OID) that identifies the extension.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="value"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_value">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension.c"
             line="170">The raw value in bytes of the extension.</doc>
        <type name="GLib.Bytes"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <class name="CertificateExtensionAuthorityInfoAccess"
           c:symbol-prefix="certificate_extension_authority_info_access"
           c:type="GcrCertificateExtensionAuthorityInfoAccess"
           version="4.3.91"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionAuthorityInfoAccess"
           glib:get-type="gcr_certificate_extension_authority_info_access_get_type"
           glib:type-struct="CertificateExtensionAuthorityInfoAccessClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-authority-info-access.c"
           line="124">A certificate extension describing the Authority Information Access (AIA).

This extensions specifies a list of resources of a certificate's issuer that
one may use to retrieve extra information, such as missing intermediate
certificates in a certificate chain, or to determine certifiate revocation
status.

Each access point is exposed as a [class@Gcr.AccessDescription] object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="179"/>
      <implements name="Gio.ListModel"/>
      <method name="get_description"
              c:identifier="gcr_certificate_extension_authority_info_access_get_description">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-info-access.c"
             line="253">Returns the description at a given position</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="184"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-info-access.c"
               line="258">The description at position @position</doc>
          <type name="AccessDescription" c:type="GcrAccessDescription*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionAuthorityInfoAccess"
                  c:type="GcrCertificateExtensionAuthorityInfoAccess*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <property name="n-items" transfer-ownership="none" default-value="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-info-access.c"
             line="232">The number of items. See [method@Gio.ListModel.get_n_items].</doc>
        <type name="guint" c:type="guint"/>
      </property>
    </class>
    <record name="CertificateExtensionAuthorityInfoAccessClass"
            c:type="GcrCertificateExtensionAuthorityInfoAccessClass"
            glib:is-gtype-struct-for="CertificateExtensionAuthorityInfoAccess">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="179"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionAuthorityKeyIdentifier"
           c:symbol-prefix="certificate_extension_authority_key_identifier"
           c:type="GcrCertificateExtensionAuthorityKeyIdentifier"
           version="4.3.91"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionAuthorityKeyIdentifier"
           glib:get-type="gcr_certificate_extension_authority_key_identifier_get_type"
           glib:type-struct="CertificateExtensionAuthorityKeyIdentifierClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
           line="37">A certificate extension that contains the authority key identifier (SKI).

This extension may expose the authority key identifier directly, which
should match the subject key identifier of the parent certificate.

It _may_ also expose a combination of issuer name and serial number of the
used certificate instead. This is rare however.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="109"/>
      <method name="get_authority_cert_issuer"
              c:identifier="gcr_certificate_extension_authority_key_identifier_get_authority_cert_issuer">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
             line="108">Returns the issuer, described by a list of [class@Gcr.GeneralName]s.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="116"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
               line="113">The names of issuer, if set</doc>
          <type name="GeneralNames" c:type="GcrGeneralNames*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionAuthorityKeyIdentifier"
                  c:type="GcrCertificateExtensionAuthorityKeyIdentifier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_authority_cert_serial_number"
              c:identifier="gcr_certificate_extension_authority_key_identifier_get_authority_cert_serial_number">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
             line="123">Returns the serial number of the certificate that was used to sign this
certificate.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="118"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
               line="129">The serial number, if set</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionAuthorityKeyIdentifier"
                  c:type="GcrCertificateExtensionAuthorityKeyIdentifier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_key_id"
              c:identifier="gcr_certificate_extension_authority_key_identifier_get_key_id">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
             line="93">Returns the raw bytes containing the authority key identifier, if present.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="114"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-authority-key-identifier.c"
               line="98">The authority key identifier if present.</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionAuthorityKeyIdentifier"
                  c:type="GcrCertificateExtensionAuthorityKeyIdentifier*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionAuthorityKeyIdentifierClass"
            c:type="GcrCertificateExtensionAuthorityKeyIdentifierClass"
            glib:is-gtype-struct-for="CertificateExtensionAuthorityKeyIdentifier">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="109"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionBasicConstraints"
           c:symbol-prefix="certificate_extension_basic_constraints"
           c:type="GcrCertificateExtensionBasicConstraints"
           version="4.3.90"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionBasicConstraints"
           glib:get-type="gcr_certificate_extension_basic_constraints_get_type"
           glib:type-struct="CertificateExtensionBasicConstraintsClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-basic-constraints.c"
           line="37">A certificate extension that can be used to identify the type of the
certificate subject (whether it is a certificate authority or not).</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="62"/>
      <method name="get_path_len_constraint"
              c:identifier="gcr_certificate_extension_basic_constraints_get_path_len_constraint">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-basic-constraints.c"
             line="84">Returns the maximum number of CAs that are allowed in the chain below this
certificate.

If this is not set, this method returns -1.

Note that this field doesn't really make sense if
[method@Gcr.CertificateExtensionBasicConstraints.is_ca] is false.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-basic-constraints.c"
               line="95">The value of "pathLenConstraint", or -1 if not set.</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionBasicConstraints"
                  c:type="GcrCertificateExtensionBasicConstraints*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_ca"
              c:identifier="gcr_certificate_extension_basic_constraints_is_ca">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-basic-constraints.c"
             line="68">Returns whether the certificate us a certificate authority (CA) certificate
or an end entity certificate.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-basic-constraints.c"
               line="74">The value of "cA".</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionBasicConstraints"
                  c:type="GcrCertificateExtensionBasicConstraints*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionBasicConstraintsClass"
            c:type="GcrCertificateExtensionBasicConstraintsClass"
            glib:is-gtype-struct-for="CertificateExtensionBasicConstraints">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="62"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionCertificatePolicies"
           c:symbol-prefix="certificate_extension_certificate_policies"
           c:type="GcrCertificateExtensionCertificatePolicies"
           version="4.3.91"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionCertificatePolicies"
           glib:get-type="gcr_certificate_extension_certificate_policies_get_type"
           glib:type-struct="CertificateExtensionCertificatePoliciesClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-certificate-policies.c"
           line="208">A certificate extension that lists certificate policies.

Each certificate policy is exposed as a [class@Gcr.CertificatePolicy]
object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="156"/>
      <implements name="Gio.ListModel"/>
      <method name="get_policy"
              c:identifier="gcr_certificate_extension_certificate_policies_get_policy">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="333">Returns the policy at a given position</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-certificate-policies.c"
               line="338">The policy at position @position</doc>
          <type name="CertificatePolicy" c:type="GcrCertificatePolicy*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionCertificatePolicies"
                  c:type="GcrCertificateExtensionCertificatePolicies*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <property name="n-items" transfer-ownership="none" default-value="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="312">The number of items. See [method@Gio.ListModel.get_n_items].</doc>
        <type name="guint" c:type="guint"/>
      </property>
    </class>
    <record name="CertificateExtensionCertificatePoliciesClass"
            c:type="GcrCertificateExtensionCertificatePoliciesClass"
            glib:is-gtype-struct-for="CertificateExtensionCertificatePolicies">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="156"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <record name="CertificateExtensionClass"
            c:type="GcrCertificateExtensionClass"
            glib:is-gtype-struct-for="CertificateExtension">
      <source-position filename="gcr/gcr-certificate-extension.h" line="42"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="padding">
        <array zero-terminated="0" fixed-size="8">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="CertificateExtensionCrlDistributionPoints"
           c:symbol-prefix="certificate_extension_crl_distribution_points"
           c:type="GcrCertificateExtensionCrlDistributionPoints"
           version="4.3.91"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionCrlDistributionPoints"
           glib:get-type="gcr_certificate_extension_crl_distribution_points_get_type"
           glib:type-struct="CertificateExtensionCrlDistributionPointsClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
           line="206">A certificate extension that lists CRL distribution points.

Each distribution point is exposed as a [class@Gcr.DistributionPoint]
object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="202"/>
      <implements name="Gio.ListModel"/>
      <method name="get_distribution_point"
              c:identifier="gcr_certificate_extension_crl_distribution_points_get_distribution_point">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
             line="331">Returns the CRL distribution point at a given position.

It is illegal to call this on an invalid position.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="207"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
               line="338">The distribution point at position @position</doc>
          <type name="DistributionPoint" c:type="GcrDistributionPoint*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionCrlDistributionPoints"
                  c:type="GcrCertificateExtensionCrlDistributionPoints*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <property name="n-items" transfer-ownership="none" default-value="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
             line="310">The number of items. See [method@Gio.ListModel.get_n_items].</doc>
        <type name="guint" c:type="guint"/>
      </property>
    </class>
    <record name="CertificateExtensionCrlDistributionPointsClass"
            c:type="GcrCertificateExtensionCrlDistributionPointsClass"
            glib:is-gtype-struct-for="CertificateExtensionCrlDistributionPoints">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="202"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionExtendedKeyUsage"
           c:symbol-prefix="certificate_extension_extended_key_usage"
           c:type="GcrCertificateExtensionExtendedKeyUsage"
           version="4.3.90"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionExtendedKeyUsage"
           glib:get-type="gcr_certificate_extension_extended_key_usage_get_type"
           glib:type-struct="CertificateExtensionExtendedKeyUsageClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-extended-key-usage.c"
           line="37">A certificate extension that can be used to restrict an extended set of
usages of a given certificate.

Similar to [class@Gcr.CertificateExtensionKeyUsage], this extension defined
an additional set of purposes for which this certificate may be used.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="87"/>
      <method name="get_descriptions"
              c:identifier="gcr_certificate_extension_extended_key_usage_get_descriptions">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-extended-key-usage.c"
             line="109">Returns a user-friendly list of description of the key usages.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="94"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-extended-key-usage.c"
               line="114">The descriptions.</doc>
          <array c:type="GStrv">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionExtendedKeyUsage"
                  c:type="GcrCertificateExtensionExtendedKeyUsage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_oids"
              c:identifier="gcr_certificate_extension_extended_key_usage_get_oids">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-extended-key-usage.c"
             line="84">Returns the list of OIDs of the extended key usages.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="92"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-extended-key-usage.c"
               line="89">The OIDs.</doc>
          <array c:type="GStrv">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionExtendedKeyUsage"
                  c:type="GcrCertificateExtensionExtendedKeyUsage*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionExtendedKeyUsageClass"
            c:type="GcrCertificateExtensionExtendedKeyUsageClass"
            glib:is-gtype-struct-for="CertificateExtensionExtendedKeyUsage">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="87"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionKeyUsage"
           c:symbol-prefix="certificate_extension_key_usage"
           c:type="GcrCertificateExtensionKeyUsage"
           version="4.3.90"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionKeyUsage"
           glib:get-type="gcr_certificate_extension_key_usage_get_type"
           glib:type-struct="CertificateExtensionKeyUsageClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-key-usage.c"
           line="37">A certificate extension that can be used to restrict the usages of a given
certificate.

See also [class@Gcr.CertificateExtensionExtendedKeyUsage] for an additional
set of usages.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="75"/>
      <method name="get_descriptions"
              c:identifier="gcr_certificate_extension_key_usage_get_descriptions">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-key-usage.c"
             line="98">Returns a user-friendly list of description of the key usages.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="82"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-key-usage.c"
               line="103">The descriptions.</doc>
          <array c:type="GStrv">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionKeyUsage"
                  c:type="GcrCertificateExtensionKeyUsage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_usages"
              c:identifier="gcr_certificate_extension_key_usage_get_usages">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-key-usage.c"
             line="85">Returns the bit string describing the usages.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="80"/>
        <return-value transfer-ownership="none">
          <type name="gulong" c:type="unsigned long"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionKeyUsage"
                  c:type="GcrCertificateExtensionKeyUsage*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionKeyUsageClass"
            c:type="GcrCertificateExtensionKeyUsageClass"
            glib:is-gtype-struct-for="CertificateExtensionKeyUsage">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="75"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionList"
           c:symbol-prefix="certificate_extension_list"
           c:type="GcrCertificateExtensionList"
           version="4.3.90"
           parent="GObject.Object"
           glib:type-name="GcrCertificateExtensionList"
           glib:get-type="gcr_certificate_extension_list_get_type"
           glib:type-struct="CertificateExtensionListClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-list.c"
           line="33">A wrapper type for a list of [class@CertificateExtension]s.</doc>
      <source-position filename="gcr/gcr-certificate-extension-list.h"
                       line="35"/>
      <implements name="Gio.ListModel"/>
      <method name="find_by_oid"
              c:identifier="gcr_certificate_extension_list_find_by_oid"
              version="4.3.90">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-list.c"
             line="169">Looks for an extension with the given OID.</doc>
        <source-position filename="gcr/gcr-certificate-extension-list.h"
                         line="42"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-list.c"
               line="176">The certificate extension with
 the given OID, or %NULL if not found.</doc>
          <type name="CertificateExtension" c:type="GcrCertificateExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-list.c"
                 line="171">A #GcrCertificateExtensionList</doc>
            <type name="CertificateExtensionList"
                  c:type="GcrCertificateExtensionList*"/>
          </instance-parameter>
          <parameter name="oid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-list.c"
                 line="172">The OID of the certificate extension</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_extension"
              c:identifier="gcr_certificate_extension_list_get_extension">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-list.c"
             line="148">Returns the extension at the given position.

It is illegal to call this function with an invalid position.</doc>
        <source-position filename="gcr/gcr-certificate-extension-list.h"
                         line="39"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-list.c"
               line="157">The certificate extension with the given OID</doc>
          <type name="CertificateExtension" c:type="GcrCertificateExtension*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-list.c"
                 line="150">A #GcrCertificateExtensionList</doc>
            <type name="CertificateExtensionList"
                  c:type="GcrCertificateExtensionList*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-list.c"
                 line="151">The position of the extension in the list</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
      <property name="n-items" transfer-ownership="none" default-value="0">
        <type name="guint" c:type="guint"/>
      </property>
    </class>
    <record name="CertificateExtensionListClass"
            c:type="GcrCertificateExtensionListClass"
            glib:is-gtype-struct-for="CertificateExtensionList">
      <source-position filename="gcr/gcr-certificate-extension-list.h"
                       line="35"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="CertificateExtensionSubjectAltName"
           c:symbol-prefix="certificate_extension_subject_alt_name"
           c:type="GcrCertificateExtensionSubjectAltName"
           version="4.3.90"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionSubjectAltName"
           glib:get-type="gcr_certificate_extension_subject_alt_name_get_type"
           glib:type-struct="CertificateExtensionSubjectAltNameClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-subject-alt-name.c"
           line="37">A certificate extension describing the Subject Alternative Name (SAN).

This kind of extension is used for example to specify multiple domains for
the same certificate.

The object exposes the different names with the [iface@Gio.ListModel] API.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="124"/>
      <implements name="Gio.ListModel"/>
      <method name="get_name"
              c:identifier="gcr_certificate_extension_subject_alt_name_get_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-subject-alt-name.c"
             line="123">Returns the name at the given position.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-subject-alt-name.c"
               line="130">The name at position @position</doc>
          <type name="GeneralName" c:type="GcrGeneralName*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-subject-alt-name.c"
                 line="125">A #GcrCertificateExtensionSubjectAltName</doc>
            <type name="CertificateExtensionSubjectAltName"
                  c:type="GcrCertificateExtensionSubjectAltName*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-subject-alt-name.c"
                 line="126">The position of the name</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionSubjectAltNameClass"
            c:type="GcrCertificateExtensionSubjectAltNameClass"
            glib:is-gtype-struct-for="CertificateExtensionSubjectAltName">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="124"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateExtensionSubjectKeyIdentifier"
           c:symbol-prefix="certificate_extension_subject_key_identifier"
           c:type="GcrCertificateExtensionSubjectKeyIdentifier"
           version="4.3.90"
           parent="CertificateExtension"
           glib:type-name="GcrCertificateExtensionSubjectKeyIdentifier"
           glib:get-type="gcr_certificate_extension_subject_key_identifier_get_type"
           glib:type-struct="CertificateExtensionSubjectKeyIdentifierClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-subject-key-identifier.c"
           line="37">A certificate extension that contains the subject key identifier (SKI).</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="99"/>
      <method name="get_key_id"
              c:identifier="gcr_certificate_extension_subject_key_identifier_get_key_id">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-subject-key-identifier.c"
             line="80">Returns the raw bytes containing the subject key identifier.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-subject-key-identifier.c"
               line="85">The subject key identifier.</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificateExtensionSubjectKeyIdentifier"
                  c:type="GcrCertificateExtensionSubjectKeyIdentifier*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificateExtensionSubjectKeyIdentifierClass"
            c:type="GcrCertificateExtensionSubjectKeyIdentifierClass"
            glib:is-gtype-struct-for="CertificateExtensionSubjectKeyIdentifier">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="99"/>
      <field name="parent_class">
        <type name="CertificateExtensionClass"
              c:type="GcrCertificateExtensionClass"/>
      </field>
    </record>
    <class name="CertificateField"
           c:symbol-prefix="certificate_field"
           c:type="GcrCertificateField"
           parent="GObject.Object"
           final="1"
           glib:type-name="GcrCertificateField"
           glib:get-type="gcr_certificate_field_get_type"
           glib:type-struct="CertificateFieldClass">
      <source-position filename="gcr/gcr-certificate-field.h" line="22"/>
      <method name="get_label"
              c:identifier="gcr_certificate_field_get_label"
              glib:get-property="label">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-field.c"
             line="125">Get the display label of the field.</doc>
        <source-position filename="gcr/gcr-certificate-field.h" line="24"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-field.c"
               line="131">the display label of the field</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-field.c"
                 line="127">the #GcrCertificateField</doc>
            <type name="CertificateField" c:type="GcrCertificateField*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_section"
              c:identifier="gcr_certificate_field_get_section"
              glib:get-property="section">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-field.c"
             line="184">Get the parent #GcrCertificateSection.</doc>
        <source-position filename="gcr/gcr-certificate-field.h" line="28"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-field.c"
               line="190">the parent #GcrCertificateSection</doc>
          <type name="CertificateSection" c:type="GcrCertificateSection*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-field.c"
                 line="186">the #GcrCertificateField</doc>
            <type name="CertificateField" c:type="GcrCertificateField*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="gcr_certificate_field_get_value"
              glib:get-property="value">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-field.c"
             line="141">Get the value of the field.

The @value will have been initialized to the `GType` the value should be
provided in.</doc>
        <source-position filename="gcr/gcr-certificate-field.h" line="25"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-field.c"
               line="151">%TRUE if the value was set successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-field.c"
                 line="143">the #GcrCertificateField</doc>
            <type name="CertificateField" c:type="GcrCertificateField*"/>
          </instance-parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-field.c"
                 line="144">the `GValue` to fill</doc>
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_value_type"
              c:identifier="gcr_certificate_field_get_value_type">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-field.c"
             line="168">Get the type associated with the value.</doc>
        <source-position filename="gcr/gcr-certificate-field.h" line="27"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-field.c"
               line="174">The `GType` of the value</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-field.c"
                 line="170">the #GcrCertificateField</doc>
            <type name="CertificateField" c:type="GcrCertificateField*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="label"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_label"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="section"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_section">
        <type name="CertificateSection"/>
      </property>
      <property name="value" transfer-ownership="none" getter="get_value">
        <type name="GObject.Value"/>
      </property>
    </class>
    <record name="CertificateFieldClass"
            c:type="GcrCertificateFieldClass"
            glib:is-gtype-struct-for="CertificateField">
      <source-position filename="gcr/gcr-certificate-field.h" line="22"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="CertificateIface"
            c:type="GcrCertificateIface"
            glib:is-gtype-struct-for="Certificate">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate.c"
           line="64">The interface that implementors of #GcrCertificate must implement.</doc>
      <source-position filename="gcr/gcr-certificate.h" line="70"/>
      <field name="parent">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="66">the parent interface type</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_der_data">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate.c"
             line="67">a method which returns the RAW der data of the certificate</doc>
        <callback name="get_der_data">
          <source-position filename="gcr/gcr-certificate.h" line="59"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate.c"
                 line="265">raw DER data of the X.509 certificate</doc>
            <array length="1" zero-terminated="0" c:type="const guint8*">
              <type name="guint8" c:type="guint8"/>
            </array>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-certificate.c"
                   line="260">a #GcrCertificate</doc>
              <type name="Certificate" c:type="GcrCertificate*"/>
            </parameter>
            <parameter name="n_data"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full">
              <doc xml:space="preserve"
                   filename="gcr/gcr-certificate.c"
                   line="261">a pointer to a location to store the size of the resulting DER data.</doc>
              <type name="gsize" c:type="gsize*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="dummy1" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy2" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy3" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy5" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy6" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy7" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="dummy8" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
    </record>
    <class name="CertificatePolicy"
           c:symbol-prefix="certificate_policy"
           c:type="GcrCertificatePolicy"
           version="4.3.91"
           parent="GObject.Object"
           glib:type-name="GcrCertificatePolicy"
           glib:get-type="gcr_certificate_policy_get_type"
           glib:type-struct="CertificatePolicyClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-certificate-policies.c"
           line="95">An object describing a certificate policy.

These policies are listed as part of a
[class@Gcr.CertificateExtensionCertificatePolicies] object.

A policy can optionally also include qualifiers, which are exposed through
the [iface@Gio.ListModel] API.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="146"/>
      <implements name="Gio.ListModel"/>
      <method name="get_name" c:identifier="gcr_certificate_policy_get_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="193">Returns a user-friendly name of this certificate policy, if known.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-certificate-policies.c"
               line="198">A name describing the policy OID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificatePolicy" c:type="GcrCertificatePolicy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_oid" c:identifier="gcr_certificate_policy_get_oid">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="179">Returns the OID string that describes this certificate policy.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="151"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-certificate-policies.c"
               line="184">The policy OID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificatePolicy" c:type="GcrCertificatePolicy*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificatePolicyClass"
            c:type="GcrCertificatePolicyClass"
            glib:is-gtype-struct-for="CertificatePolicy">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="146"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="CertificatePolicyQualifier"
           c:symbol-prefix="certificate_policy_qualifier"
           c:type="GcrCertificatePolicyQualifier"
           version="4.3.91"
           parent="GObject.Object"
           glib:type-name="GcrCertificatePolicyQualifier"
           glib:get-type="gcr_certificate_policy_qualifier_get_type"
           glib:type-struct="CertificatePolicyQualifierClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-certificate-policies.c"
           line="37">An object describing a certificate policy qualifier.

These policies are (optionally) part of a [class@Gcr.CertificatePolicy]
object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="135"/>
      <method name="get_name"
              c:identifier="gcr_certificate_policy_qualifier_get_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="80">Returns a user-friendly name of this certificate policy qualifier, if known.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="142"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-certificate-policies.c"
               line="85">A name describing the policy qualifier OID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificatePolicyQualifier"
                  c:type="GcrCertificatePolicyQualifier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_oid"
              c:identifier="gcr_certificate_policy_qualifier_get_oid">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-certificate-policies.c"
             line="66">Returns the OID string that describes this certificate policy qualifier.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="140"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-certificate-policies.c"
               line="71">The policy qualifier OID</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="CertificatePolicyQualifier"
                  c:type="GcrCertificatePolicyQualifier*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="CertificatePolicyQualifierClass"
            c:type="GcrCertificatePolicyQualifierClass"
            glib:is-gtype-struct-for="CertificatePolicyQualifier">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="135"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="CertificateRequest"
           c:symbol-prefix="certificate_request"
           c:type="GcrCertificateRequest"
           parent="GObject.Object"
           glib:type-name="GcrCertificateRequest"
           glib:get-type="gcr_certificate_request_get_type"
           glib:type-struct="CertificateRequestClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-request.c"
           line="36">An object that allows creation of certificate requests. A certificate
request is sent to a certificate authority to request an X.509 certificate.

Use [func@CertificateRequest.prepare] to create a blank certificate
request for a given private key. Set the common name on the certificate
request with [method@CertificateRequest.set_cn], and then sign the request
with [method@CertificateRequest.complete_async].</doc>
      <source-position filename="gcr/gcr-certificate-request.h" line="38"/>
      <function name="capable"
                c:identifier="gcr_certificate_request_capable"
                throws="1"
                glib:async-func="capable_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="732">Check whether [class@CertificateRequest] is capable of creating a request
for the given @private_key.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="42"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="741">whether a request can be created</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="private_key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="734">a private key</doc>
            <type name="Gck.Object" c:type="GckObject*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="735">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </function>
      <function name="capable_async"
                c:identifier="gcr_certificate_request_capable_async"
                glib:finish-func="capable_finish"
                glib:sync-func="capable">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="757">Asynchronously check whether [class@CertificateRequest] is capable of
creating a request for the given @private_key.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="46"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="private_key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="759">a private key</doc>
            <type name="Gck.Object" c:type="GckObject*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="760">cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="761">will be called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="762">data to be passed to callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="capable_finish"
                c:identifier="gcr_certificate_request_capable_finish"
                throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="782">Get the result for asynchronously check whether [class@CertificateRequest] is
capable of creating a request for the given @private_key.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="52"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="790">whether a request can be created</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="784">asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </function>
      <function name="prepare" c:identifier="gcr_certificate_request_prepare">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="204">Create a new certificate request, in the given format for the private key.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="55"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="211">a new #GcrCertificate request</doc>
          <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
        </return-value>
        <parameters>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="206">the format for the certificate request</doc>
            <type name="CertificateRequestFormat"
                  c:type="GcrCertificateRequestFormat"/>
          </parameter>
          <parameter name="private_key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="207">the private key the the certificate is being requested for</doc>
            <type name="Gck.Object" c:type="GckObject*"/>
          </parameter>
        </parameters>
      </function>
      <method name="complete"
              c:identifier="gcr_certificate_request_complete"
              throws="1"
              glib:async-func="complete_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="430">Complete and sign a certificate request, so that it can be encoded
and sent to a certificate authority.

This call may block as it signs the request using the private key.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="441">whether certificate request was successfully completed or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="432">a certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="433">a cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="complete_async"
              c:identifier="gcr_certificate_request_complete_async"
              glib:finish-func="complete_finish"
              glib:sync-func="complete">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="619">Asynchronously complete and sign a certificate request, so that it can
be encoded and sent to a certificate authority.

This call will return immediately and complete later.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="621">a certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="622">a cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="623">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="624">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="complete_finish"
              c:identifier="gcr_certificate_request_complete_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="657">Finish an asynchronous operation to complete and sign a certificate
request.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="666">whether certificate request was successfully completed or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="659">a certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="660">result of the asynchronous operation</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="encode" c:identifier="gcr_certificate_request_encode">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="680">Encode the certificate request. It must have been completed with
[method@CertificateRequest.complete] or
[method@CertificateRequest.complete_async].

If @textual is %FALSE, the output is a DER encoded certificate request.

If @textual is %TRUE, the output is encoded as text. For PKCS#10 requests
this is done using the OpenSSL style PEM encoding.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="78"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="695">the encoded certificate request</doc>
          <array length="1" zero-terminated="0" c:type="guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="682">a certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
          <parameter name="textual" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="683">whether to encode output as text</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="length"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="684">location to place length of returned data</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_format"
              c:identifier="gcr_certificate_request_get_format">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="241">Get the format of this certificate request.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="247">the format</doc>
          <type name="CertificateRequestFormat"
                c:type="GcrCertificateRequestFormat"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="243">the certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_private_key"
              c:identifier="gcr_certificate_request_get_private_key"
              glib:get-property="private-key">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="226">Get the private key this certificate request is for.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-request.c"
               line="232">the private key,</doc>
          <type name="Gck.Object" c:type="GckObject*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="228">the certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_cn" c:identifier="gcr_certificate_request_set_cn">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="256">Set the common name encoded in the certificate request.</doc>
        <source-position filename="gcr/gcr-certificate-request.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="258">the certificate request</doc>
            <type name="CertificateRequest" c:type="GcrCertificateRequest*"/>
          </instance-parameter>
          <parameter name="cn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-request.c"
                 line="259">common name to set on the request</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="format"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="GCR_CERTIFICATE_REQUEST_PKCS10">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="193">The format of the certificate request.</doc>
        <type/>
      </property>
      <property name="private-key"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_private_key">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="183">The private key that this certificate request is for.</doc>
        <type name="Gck.Object"/>
      </property>
    </class>
    <record name="CertificateRequestClass"
            c:type="GcrCertificateRequestClass"
            glib:is-gtype-struct-for="CertificateRequest">
      <source-position filename="gcr/gcr-certificate-request.h" line="38"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="CertificateRequestFormat"
                 c:type="GcrCertificateRequestFormat">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-request.c"
           line="48">The format of a certificate request. Currently only PKCS#10 is supported.</doc>
      <source-position filename="gcr/gcr-certificate-request.h" line="35"/>
      <member name="certificate_request_pkcs10"
              value="1"
              c:identifier="GCR_CERTIFICATE_REQUEST_PKCS10">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-request.c"
             line="50">certificate request is in PKCS#10 format</doc>
      </member>
    </enumeration>
    <class name="CertificateSection"
           c:symbol-prefix="certificate_section"
           c:type="GcrCertificateSection"
           parent="GObject.Object"
           final="1"
           glib:type-name="GcrCertificateSection"
           glib:get-type="gcr_certificate_section_get_type"
           glib:type-struct="CertificateSectionClass">
      <source-position filename="gcr/gcr-certificate-section.h" line="23"/>
      <method name="get_fields"
              c:identifier="gcr_certificate_section_get_fields"
              glib:get-property="fields">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-section.c"
             line="186">Get the list of all the fields in this section.</doc>
        <source-position filename="gcr/gcr-certificate-section.h" line="31"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-section.c"
               line="192">a #GListModel of #GcrCertificateField</doc>
          <type name="Gio.ListModel" c:type="GListModel*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-section.c"
                 line="188">the #GcrCertificateSection</doc>
            <type name="CertificateSection" c:type="GcrCertificateSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="gcr_certificate_section_get_flags">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-section.c"
             line="170">Get the flags.</doc>
        <source-position filename="gcr/gcr-certificate-section.h" line="32"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-section.c"
               line="176">the `GcrCertificateSectionFlags`</doc>
          <type name="CertificateSectionFlags"
                c:type="GcrCertificateSectionFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-section.c"
                 line="172">the #GcrCertificateSection</doc>
            <type name="CertificateSection" c:type="GcrCertificateSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_label"
              c:identifier="gcr_certificate_section_get_label"
              glib:get-property="label">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-section.c"
             line="154">Get the displayable label of the section.</doc>
        <source-position filename="gcr/gcr-certificate-section.h" line="30"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-section.c"
               line="160">the displayable label of the section</doc>
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-section.c"
                 line="156">the #GcrCertificateSection</doc>
            <type name="CertificateSection" c:type="GcrCertificateSection*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="fields" transfer-ownership="none" getter="get_fields">
        <type name="Gio.ListModel"/>
      </property>
      <property name="flags"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="GCR_CERTIFICATE_SECTION_NONE">
        <type/>
      </property>
      <property name="label"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_label"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
    </class>
    <record name="CertificateSectionClass"
            c:type="GcrCertificateSectionClass"
            glib:is-gtype-struct-for="CertificateSection">
      <source-position filename="gcr/gcr-certificate-section.h" line="23"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <bitfield name="CertificateSectionFlags"
              c:type="GcrCertificateSectionFlags">
      <source-position filename="gcr/gcr-certificate-section.h" line="28"/>
      <member name="none"
              value="0"
              c:identifier="GCR_CERTIFICATE_SECTION_NONE">
      </member>
      <member name="important"
              value="1"
              c:identifier="GCR_CERTIFICATE_SECTION_IMPORTANT">
      </member>
    </bitfield>
    <enumeration name="DataError" c:type="GcrDataError">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="85">Values responding to error codes for parsing and serializing data.</doc>
      <source-position filename="gcr/gcr-types.h" line="57"/>
      <member name="failure" value="-1" c:identifier="GCR_ERROR_FAILURE">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="87">Failed to parse or serialize the data</doc>
      </member>
      <member name="unrecognized"
              value="1"
              c:identifier="GCR_ERROR_UNRECOGNIZED">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="88">The data was unrecognized or unsupported</doc>
      </member>
      <member name="cancelled" value="2" c:identifier="GCR_ERROR_CANCELLED">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="89">The operation was cancelled</doc>
      </member>
      <member name="locked" value="3" c:identifier="GCR_ERROR_LOCKED">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="90">The data was encrypted or locked and could not be unlocked.</doc>
      </member>
    </enumeration>
    <enumeration name="DataFormat" c:type="GcrDataFormat">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="1377">The various format identifiers.</doc>
      <source-position filename="gcr/gcr-types.h" line="101"/>
      <member name="all" value="-1" c:identifier="GCR_FORMAT_ALL">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1379">Represents all the formats, when enabling or disabling</doc>
      </member>
      <member name="invalid" value="0" c:identifier="GCR_FORMAT_INVALID">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1380">Not a valid format</doc>
      </member>
      <member name="der_private_key"
              value="100"
              c:identifier="GCR_FORMAT_DER_PRIVATE_KEY">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1381">DER encoded private key</doc>
      </member>
      <member name="der_private_key_rsa"
              value="101"
              c:identifier="GCR_FORMAT_DER_PRIVATE_KEY_RSA">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1382">DER encoded RSA private key</doc>
      </member>
      <member name="der_private_key_dsa"
              value="102"
              c:identifier="GCR_FORMAT_DER_PRIVATE_KEY_DSA">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1383">DER encoded DSA private key</doc>
      </member>
      <member name="der_private_key_ec"
              value="103"
              c:identifier="GCR_FORMAT_DER_PRIVATE_KEY_EC">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1384">DER encoded EC private key</doc>
      </member>
      <member name="der_subject_public_key"
              value="150"
              c:identifier="GCR_FORMAT_DER_SUBJECT_PUBLIC_KEY">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1385">DER encoded SubjectPublicKeyInfo</doc>
      </member>
      <member name="der_certificate_x509"
              value="200"
              c:identifier="GCR_FORMAT_DER_CERTIFICATE_X509">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1386">DER encoded X.509 certificate</doc>
      </member>
      <member name="der_pkcs7" value="300" c:identifier="GCR_FORMAT_DER_PKCS7">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1387">DER encoded PKCS#7 container file which can contain certificates</doc>
      </member>
      <member name="der_pkcs8" value="400" c:identifier="GCR_FORMAT_DER_PKCS8">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1388">DER encoded PKCS#8 file which can contain a key</doc>
      </member>
      <member name="der_pkcs8_plain"
              value="401"
              c:identifier="GCR_FORMAT_DER_PKCS8_PLAIN">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1389">Unencrypted DER encoded PKCS#8 file which can contain a key</doc>
      </member>
      <member name="der_pkcs8_encrypted"
              value="402"
              c:identifier="GCR_FORMAT_DER_PKCS8_ENCRYPTED">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1390">Encrypted DER encoded PKCS#8 file which can contain a key</doc>
      </member>
      <member name="der_pkcs10"
              value="450"
              c:identifier="GCR_FORMAT_DER_PKCS10">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1391">DER encoded PKCS#10 certificate request file</doc>
      </member>
      <member name="der_spkac" value="455" c:identifier="GCR_FORMAT_DER_SPKAC">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1408">DER encoded SPKAC as generated by HTML5 keygen element</doc>
      </member>
      <member name="base64_spkac"
              value="456"
              c:identifier="GCR_FORMAT_BASE64_SPKAC">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1409">OpenSSL style SPKAC data</doc>
      </member>
      <member name="der_pkcs12"
              value="500"
              c:identifier="GCR_FORMAT_DER_PKCS12">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1392">DER encoded PKCS#12 file which can contain certificates and/or keys</doc>
      </member>
      <member name="openssh_public"
              value="600"
              c:identifier="GCR_FORMAT_OPENSSH_PUBLIC">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1393">OpenSSH v1 or v2 public key</doc>
      </member>
      <member name="openpgp_packet"
              value="700"
              c:identifier="GCR_FORMAT_OPENPGP_PACKET">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1394">OpenPGP key packet(s)</doc>
      </member>
      <member name="openpgp_armor"
              value="701"
              c:identifier="GCR_FORMAT_OPENPGP_ARMOR">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1395">OpenPGP public or private key armor encoded data</doc>
      </member>
      <member name="pem" value="1000" c:identifier="GCR_FORMAT_PEM">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1396">An OpenSSL style PEM file with unspecified contents</doc>
      </member>
      <member name="pem_private_key_rsa"
              value="1001"
              c:identifier="GCR_FORMAT_PEM_PRIVATE_KEY_RSA">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1398">An OpenSSL style PEM file with a private RSA key</doc>
      </member>
      <member name="pem_private_key_dsa"
              value="1002"
              c:identifier="GCR_FORMAT_PEM_PRIVATE_KEY_DSA">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1399">An OpenSSL style PEM file with a private DSA key</doc>
      </member>
      <member name="pem_certificate_x509"
              value="1003"
              c:identifier="GCR_FORMAT_PEM_CERTIFICATE_X509">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1401">An OpenSSL style PEM file with an X.509 certificate</doc>
      </member>
      <member name="pem_pkcs7"
              value="1004"
              c:identifier="GCR_FORMAT_PEM_PKCS7">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1402">An OpenSSL style PEM file containing PKCS#7</doc>
      </member>
      <member name="pem_pkcs8_plain"
              value="1005"
              c:identifier="GCR_FORMAT_PEM_PKCS8_PLAIN">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1403">Unencrypted OpenSSL style PEM file containing PKCS#8</doc>
      </member>
      <member name="pem_pkcs8_encrypted"
              value="1006"
              c:identifier="GCR_FORMAT_PEM_PKCS8_ENCRYPTED">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1404">Encrypted OpenSSL style PEM file containing PKCS#8</doc>
      </member>
      <member name="pem_pkcs12"
              value="1007"
              c:identifier="GCR_FORMAT_PEM_PKCS12">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1406">An OpenSSL style PEM file containing PKCS#12</doc>
      </member>
      <member name="pem_private_key"
              value="1008"
              c:identifier="GCR_FORMAT_PEM_PRIVATE_KEY">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1397">An OpenSSL style PEM file with a private key</doc>
      </member>
      <member name="pem_pkcs10"
              value="1009"
              c:identifier="GCR_FORMAT_PEM_PKCS10">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1405">An OpenSSL style PEM file containing PKCS#10</doc>
      </member>
      <member name="pem_private_key_ec"
              value="1010"
              c:identifier="GCR_FORMAT_PEM_PRIVATE_KEY_EC">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1400">An OpenSSL style PEM file with a private EC key</doc>
      </member>
      <member name="pem_public_key"
              value="1011"
              c:identifier="GCR_FORMAT_PEM_PUBLIC_KEY">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1407">An OpenSSL style PEM file containing a SubjectPublicKeyInfo</doc>
      </member>
    </enumeration>
    <class name="DistributionPoint"
           c:symbol-prefix="distribution_point"
           c:type="GcrDistributionPoint"
           version="4.3.91"
           parent="GObject.Object"
           glib:type-name="GcrDistributionPoint"
           glib:get-type="gcr_distribution_point_get_type"
           glib:type-struct="DistributionPointClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
           line="37">An object describing a CRL distribution point.

A certificate user can use such a Certifiate Revocation List (CLR)
distribution point to check if the certificate has been revoked.

These distribution poitns are for example listed as part of a
[class@Gcr.CertificateExtensionCrlDistributionPoints] object.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="191"/>
      <method name="get_full_name"
              c:identifier="gcr_distribution_point_get_full_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
             line="88">Returns the full name of the CRL distribution point, if set.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="196"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
               line="93">The full name of the distribution point</doc>
          <type name="GeneralNames" c:type="GcrGeneralNames*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="DistributionPoint" c:type="GcrDistributionPoint*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_relative_name_part"
              c:identifier="gcr_distribution_point_get_relative_name_part">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
             line="103">Returns a part of the relative name of @self, if set.

Note that the relative name might not be set, nor the specific part.

Examples of a @part might be the 'OU' (organizational unit) or the 'CN'
(common name). Only the value of that part of the RDN is returned.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="198"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
               line="114">The relative name part if set, or NULL</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="DistributionPoint" c:type="GcrDistributionPoint*"/>
          </instance-parameter>
          <parameter name="part" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extension-crl-distribution-points.c"
                 line="105">a RDN type string or OID.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="DistributionPointClass"
            c:type="GcrDistributionPointClass"
            glib:is-gtype-struct-for="DistributionPoint">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="191"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="GeneralName"
           c:symbol-prefix="general_name"
           c:type="GcrGeneralName"
           version="4.3.90"
           parent="GObject.Object"
           glib:type-name="GcrGeneralName"
           glib:get-type="gcr_general_name_get_type"
           glib:type-struct="GeneralNameClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extensions-common.c"
           line="37">An object describing a name as part of the Subject Alternative Name (SAN)
extension.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="38"/>
      <method name="get_description"
              c:identifier="gcr_general_name_get_description">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extensions-common.c"
             line="81">Returns a user-friendly string describing the name.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="43"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="GeneralName" c:type="GcrGeneralName*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value" c:identifier="gcr_general_name_get_value">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extensions-common.c"
             line="94">Returns the actual value of the name.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="45"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="GeneralName" c:type="GcrGeneralName*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value_raw"
              c:identifier="gcr_general_name_get_value_raw">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extensions-common.c"
             line="107">Returns the raw bytes describing the value of the name.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="47"/>
        <return-value transfer-ownership="full">
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="GeneralName" c:type="GcrGeneralName*"/>
          </instance-parameter>
        </parameters>
      </method>
    </class>
    <record name="GeneralNameClass"
            c:type="GcrGeneralNameClass"
            glib:is-gtype-struct-for="GeneralName">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="38"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <class name="GeneralNames"
           c:symbol-prefix="general_names"
           c:type="GcrGeneralNames"
           version="4.3.91"
           parent="GObject.Object"
           glib:type-name="GcrGeneralNames"
           glib:get-type="gcr_general_names_get_type"
           glib:type-struct="GeneralNamesClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate-extensions-common.c"
           line="310">A list of [class@Gcr.GeneralName]s.</doc>
      <source-position filename="gcr/gcr-certificate-extensions.h" line="51"/>
      <implements name="Gio.ListModel"/>
      <method name="get_name" c:identifier="gcr_general_names_get_name">
        <doc xml:space="preserve"
             filename="gcr/gcr-certificate-extensions-common.c"
             line="397">Returns the name at the given position.

It is illegal to call this function with a position larger than the number
of elements in this list.</doc>
        <source-position filename="gcr/gcr-certificate-extensions.h"
                         line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate-extensions-common.c"
               line="406">The name at the given position</doc>
          <type name="GeneralName" c:type="GcrGeneralName*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="GeneralNames" c:type="GcrGeneralNames*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-certificate-extensions-common.c"
                 line="399">The position in the list</doc>
            <type name="guint" c:type="unsigned int"/>
          </parameter>
        </parameters>
      </method>
    </class>
    <record name="GeneralNamesClass"
            c:type="GcrGeneralNamesClass"
            glib:is-gtype-struct-for="GeneralNames">
      <source-position filename="gcr/gcr-certificate-extensions.h" line="51"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <function-macro name="IS_CERTIFICATE"
                    c:identifier="GCR_IS_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CERTIFICATE_CHAIN"
                    c:identifier="GCR_IS_CERTIFICATE_CHAIN"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate-chain.h" line="53"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CERTIFICATE_CHAIN_CLASS"
                    c:identifier="GCR_IS_CERTIFICATE_CHAIN_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-certificate-chain.h" line="54"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PARSER"
                    c:identifier="GCR_IS_PARSER"
                    introspectable="0">
      <source-position filename="gcr/gcr-parser.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PARSER_CLASS"
                    c:identifier="GCR_IS_PARSER_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-parser.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PKCS11_CERTIFICATE"
                    c:identifier="GCR_IS_PKCS11_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_PKCS11_CERTIFICATE_CLASS"
                    c:identifier="GCR_IS_PKCS11_CERTIFICATE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SECRET_EXCHANGE"
                    c:identifier="GCR_IS_SECRET_EXCHANGE"
                    introspectable="0">
      <source-position filename="gcr/gcr-secret-exchange.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SECRET_EXCHANGE_CLASS"
                    c:identifier="GCR_IS_SECRET_EXCHANGE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-secret-exchange.h" line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SIMPLE_CERTIFICATE"
                    c:identifier="GCR_IS_SIMPLE_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-simple-certificate.h" line="36"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SIMPLE_CERTIFICATE_CLASS"
                    c:identifier="GCR_IS_SIMPLE_CERTIFICATE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-simple-certificate.h" line="37"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SYSTEM_PROMPT"
                    c:identifier="GCR_IS_SYSTEM_PROMPT"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompt.h" line="47"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SYSTEM_PROMPTER"
                    c:identifier="GCR_IS_SYSTEM_PROMPTER"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompter.h" line="45"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SYSTEM_PROMPTER_CLASS"
                    c:identifier="GCR_IS_SYSTEM_PROMPTER_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompter.h" line="46"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SYSTEM_PROMPT_CLASS"
                    c:identifier="GCR_IS_SYSTEM_PROMPT_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompt.h" line="48"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <interface name="ImportInteraction"
               c:symbol-prefix="import_interaction"
               c:type="GcrImportInteraction"
               glib:type-name="GcrImportInteraction"
               glib:get-type="gcr_import_interaction_get_type"
               glib:type-struct="ImportInteractionInterface">
      <doc xml:space="preserve"
           filename="gcr/gcr-import-interaction.c"
           line="26">This is an interface implemented by a caller performing an import. It allows
the importer to ask the caller for further information about the import.

It must be implemented on a derived class of [class@Gio.TlsInteraction]</doc>
      <source-position filename="gcr/gcr-import-interaction.h" line="63"/>
      <prerequisite name="Gio.TlsInteraction"/>
      <virtual-method name="supplement"
                      invoker="supplement"
                      throws="1"
                      glib:async-func="supplement_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="80">Supplement attributes before import. This means prompting the user for
things like labels and the like. The needed attributes will have been passed
to gcr_import_interaction_supplement_prep().

This method prompts the user and fills in the attributes. If the user or
cancellable cancels the operation the error should be set with %G_IO_ERROR_CANCELLED.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="46"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-import-interaction.c"
               line="94">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
          <type name="Gio.TlsInteractionResult"
                c:type="GTlsInteractionResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="82">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="83">supplemented attributes</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="84">optional cancellable object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="supplement_async"
                      invoker="supplement_async"
                      glib:finish-func="supplement_finish"
                      glib:sync-func="supplement">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="116">Asynchronously supplement attributes before import. This means prompting the
user for things like labels and the like. The needed attributes will have
been passed to gcr_import_interaction_supplement_prep().

This method prompts the user and fills in the attributes.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="51"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="118">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="119">supplemented attributes</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="120">optional cancellable object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="121">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="122">data to be passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="supplement_finish"
                      invoker="supplement_finish"
                      throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="149">Complete operation to asynchronously supplement attributes before import.

If the user or cancellable cancels the operation the error should be set
with %G_IO_ERROR_CANCELLED.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="57"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-import-interaction.c"
               line="160">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
          <type name="Gio.TlsInteractionResult"
                c:type="GTlsInteractionResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="151">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="152">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="supplement_prep" invoker="supplement_prep">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="53">Prepare for supplementing the given attributes before import. This means
prompting the user for things like labels and the like. The attributes
will contain attributes for values that the importer needs, either empty
or prefilled with suggested values.

This method does not prompt the user, but rather just prepares the
interaction that these are the attributes that are needed.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="43"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="55">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="56">attributes to supplement</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="supplement"
              c:identifier="gcr_import_interaction_supplement"
              throws="1"
              glib:async-func="supplement_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="80">Supplement attributes before import. This means prompting the user for
things like labels and the like. The needed attributes will have been passed
to gcr_import_interaction_supplement_prep().

This method prompts the user and fills in the attributes. If the user or
cancellable cancels the operation the error should be set with %G_IO_ERROR_CANCELLED.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-import-interaction.c"
               line="94">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
          <type name="Gio.TlsInteractionResult"
                c:type="GTlsInteractionResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="82">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="83">supplemented attributes</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="84">optional cancellable object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="supplement_async"
              c:identifier="gcr_import_interaction_supplement_async"
              glib:finish-func="supplement_finish"
              glib:sync-func="supplement">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="116">Asynchronously supplement attributes before import. This means prompting the
user for things like labels and the like. The needed attributes will have
been passed to gcr_import_interaction_supplement_prep().

This method prompts the user and fills in the attributes.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="73"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="118">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="119">supplemented attributes</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="120">optional cancellable object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="121">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="122">data to be passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="supplement_finish"
              c:identifier="gcr_import_interaction_supplement_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="149">Complete operation to asynchronously supplement attributes before import.

If the user or cancellable cancels the operation the error should be set
with %G_IO_ERROR_CANCELLED.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-import-interaction.c"
               line="160">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
          <type name="Gio.TlsInteractionResult"
                c:type="GTlsInteractionResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="151">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="152">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="supplement_prep"
              c:identifier="gcr_import_interaction_supplement_prep">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="53">Prepare for supplementing the given attributes before import. This means
prompting the user for things like labels and the like. The attributes
will contain attributes for values that the importer needs, either empty
or prefilled with suggested values.

This method does not prompt the user, but rather just prepares the
interaction that these are the attributes that are needed.</doc>
        <source-position filename="gcr/gcr-import-interaction.h" line="65"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="55">the interaction</doc>
            <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="56">attributes to supplement</doc>
            <type name="Gck.Builder" c:type="GckBuilder*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="ImportInteractionInterface"
            c:type="GcrImportInteractionInterface"
            glib:is-gtype-struct-for="ImportInteraction">
      <doc xml:space="preserve"
           filename="gcr/gcr-import-interaction.c"
           line="35">Interface implemented by implementations of [iface@ImportInteraction].</doc>
      <source-position filename="gcr/gcr-import-interaction.h" line="63"/>
      <field name="parent">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="37">parent interface</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="supplement_prep">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="38">method which prepares for supplementing the given attributes before import</doc>
        <callback name="supplement_prep">
          <source-position filename="gcr/gcr-import-interaction.h" line="43"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="interaction" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="55">the interaction</doc>
              <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
            </parameter>
            <parameter name="builder" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="56">attributes to supplement</doc>
              <type name="Gck.Builder" c:type="GckBuilder*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="supplement">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="39">method which synchronously supplements attributes before import</doc>
        <callback name="supplement" throws="1">
          <source-position filename="gcr/gcr-import-interaction.h" line="46"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="94">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
            <type name="Gio.TlsInteractionResult"
                  c:type="GTlsInteractionResult"/>
          </return-value>
          <parameters>
            <parameter name="interaction" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="82">the interaction</doc>
              <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
            </parameter>
            <parameter name="builder" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="83">supplemented attributes</doc>
              <type name="Gck.Builder" c:type="GckBuilder*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="84">optional cancellable object</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="supplement_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="40">method which asynchronously supplements attributes before import</doc>
        <callback name="supplement_async">
          <source-position filename="gcr/gcr-import-interaction.h" line="51"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="interaction" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="118">the interaction</doc>
              <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
            </parameter>
            <parameter name="builder" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="119">supplemented attributes</doc>
              <type name="Gck.Builder" c:type="GckBuilder*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="120">optional cancellable object</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
            <parameter name="callback"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       scope="async"
                       closure="4">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="121">called when the operation completes</doc>
              <type name="Gio.AsyncReadyCallback"
                    c:type="GAsyncReadyCallback"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="4">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="122">data to be passed to the callback</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="supplement_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-import-interaction.c"
             line="41">method which completes @supplement_async</doc>
        <callback name="supplement_finish" throws="1">
          <source-position filename="gcr/gcr-import-interaction.h" line="57"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-import-interaction.c"
                 line="160">%G_TLS_INTERACTION_HANDLED if successful or %G_TLS_INTERACTION_FAILED</doc>
            <type name="Gio.TlsInteractionResult"
                  c:type="GTlsInteractionResult"/>
          </return-value>
          <parameters>
            <parameter name="interaction" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="151">the interaction</doc>
              <type name="ImportInteraction" c:type="GcrImportInteraction*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-import-interaction.c"
                   line="152">the asynchronous result</doc>
              <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="6">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <interface name="Importer"
               c:symbol-prefix="importer"
               c:type="GcrImporter"
               glib:type-name="GcrImporter"
               glib:get-type="gcr_importer_get_type"
               glib:type-struct="ImporterInterface">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="34">An interface which allows importing of certificates and keys. Each importer
is registered with a set of PKCS#11 attributes to match stuff that it can
import.

An importer gets passed a [class@Parser] and accesses the currently parsed
item. To create a set of importers that can import the currently parsed
item in a parser, use [func@Importer.create_for_parsed]. The list of
importers returned has the parsed item queued for import.

To queue additional items with a importer use
[method@Importer.queue_for_parsed].  In addition you can try and queue an
additional item with a set of importers using the
[func@Importer.queue_and_filter_for_parsed].

To start the import, use [method@Importer.import_async].</doc>
      <source-position filename="gcr/gcr-importer.h" line="59"/>
      <function name="create_for_parsed"
                c:identifier="gcr_importer_create_for_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="168">Create a set of importers which can import this parsed item.

The parsed item is represented by the state of the [class@Gcr.Parser] at the
time of calling this method.</doc>
        <source-position filename="gcr/gcr-importer.h" line="61"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="177">a list of importers
         which can import the parsed item, which should be freed with
         g_object_unref(), or %NULL if no types of importers can be created</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Importer"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="170">a parser with a parsed item to import</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </parameter>
        </parameters>
      </function>
      <function name="queue_and_filter_for_parsed"
                c:identifier="gcr_importer_queue_and_filter_for_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="286">Queues an additional item to be imported in all compattible importers
in the set. The parsed item is represented by the state of the #GcrParser
at the time of calling this method.

If the parsed item is incompatible with an importer, then that the item
will not be queued on that importer.</doc>
        <source-position filename="gcr/gcr-importer.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="298">a new set of importers
         that queued the item.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Importer"/>
          </type>
        </return-value>
        <parameters>
          <parameter name="importers" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="288">a set of importers</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="Importer"/>
            </type>
          </parameter>
          <parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="289">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register" c:identifier="gcr_importer_register">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="117">Register an importer to handle parsed items that match the given attributes.</doc>
        <source-position filename="gcr/gcr-importer.h" line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="importer_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="119">the GType of the importer being registered</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="attrs" transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="120">the attributes that this importer is compatible with</doc>
            <type name="Gck.Attributes" c:type="GckAttributes*"/>
          </parameter>
        </parameters>
      </function>
      <function name="register_well_known"
                c:identifier="gcr_importer_register_well_known">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="412">Register built-in PKCS#11 and GnuPG importers.</doc>
        <source-position filename="gcr/gcr-importer.h" line="86"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </function>
      <virtual-method name="import_async"
                      invoker="import_async"
                      glib:finish-func="import_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="316">Import the queued items in the importer. This function returns immediately
and completes asynchronously.</doc>
        <source-position filename="gcr/gcr-importer.h" line="48"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="318">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="319">a #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="320">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="321">data to be passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="import_finish" invoker="import_finish" throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="344">Complete an asynchronous operation to import queued items.</doc>
        <source-position filename="gcr/gcr-importer.h" line="53"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="352">whether the import succeeded or failed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="346">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="347">an asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="queue_for_parsed" invoker="queue_for_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="257">Queues an additional item to be imported. The parsed item is represented
by the state of the [class@Parser] at the time of calling this method.

If the parsed item is incompatible with the importer, then this will
fail and the item will not be queued.</doc>
        <source-position filename="gcr/gcr-importer.h" line="45"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="268">whether the item was queued or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="259">an importer to add additional items to</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="260">a parsed item to import</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_interaction"
              c:identifier="gcr_importer_get_interaction"
              glib:get-property="interaction">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="372">Get the interaction used to prompt the user when needed by this
importer.</doc>
        <source-position filename="gcr/gcr-importer.h" line="78"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="379">the interaction or %NULL</doc>
          <type name="Gio.TlsInteraction" c:type="GTlsInteraction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="374">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="import_async"
              c:identifier="gcr_importer_import_async"
              glib:finish-func="import_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="316">Import the queued items in the importer. This function returns immediately
and completes asynchronously.</doc>
        <source-position filename="gcr/gcr-importer.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="318">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="319">a #GCancellable, or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="320">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="321">data to be passed to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="import_finish"
              c:identifier="gcr_importer_import_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="344">Complete an asynchronous operation to import queued items.</doc>
        <source-position filename="gcr/gcr-importer.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="352">whether the import succeeded or failed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="346">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="347">an asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="queue_for_parsed"
              c:identifier="gcr_importer_queue_for_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="257">Queues an additional item to be imported. The parsed item is represented
by the state of the [class@Parser] at the time of calling this method.

If the parsed item is incompatible with the importer, then this will
fail and the item will not be queued.</doc>
        <source-position filename="gcr/gcr-importer.h" line="63"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="268">whether the item was queued or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="259">an importer to add additional items to</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="260">a parsed item to import</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_interaction"
              c:identifier="gcr_importer_set_interaction"
              glib:set-property="interaction">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="396">Set the interaction used to prompt the user when needed by this
importer.</doc>
        <source-position filename="gcr/gcr-importer.h" line="80"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="importer" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="398">the importer</doc>
            <type name="Importer" c:type="GcrImporter*"/>
          </instance-parameter>
          <parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="399">the interaction used by the importer</doc>
            <type name="Gio.TlsInteraction" c:type="GTlsInteraction*"/>
          </parameter>
        </parameters>
      </method>
      <property name="interaction"
                writable="1"
                transfer-ownership="none"
                setter="set_interaction"
                getter="get_interaction">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="92">The interaction for the importer.</doc>
        <type name="Gio.TlsInteraction"/>
      </property>
      <property name="label" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="82">The label for the importer.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="uri" transfer-ownership="none" default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="103">The URI of the location imported to.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
    </interface>
    <record name="ImporterInterface"
            c:type="GcrImporterInterface"
            glib:is-gtype-struct-for="Importer">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="54">Interface implemented for a #GcrImporter.</doc>
      <source-position filename="gcr/gcr-importer.h" line="59"/>
      <field name="parent">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="56">parent interface</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="create_for_parsed" introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="57">implementation of gcr_importer_create_for_parsed(), required</doc>
        <callback name="create_for_parsed" introspectable="0">
          <source-position filename="gcr/gcr-importer.h" line="43"/>
          <return-value>
            <type name="GLib.List" c:type="GList*">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </return-value>
          <parameters>
            <parameter name="parsed" transfer-ownership="none">
              <type name="Parsed" c:type="GcrParsed*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="queue_for_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="58">implementation of gcr_importer_queue_for_parsed(), required</doc>
        <callback name="queue_for_parsed">
          <source-position filename="gcr/gcr-importer.h" line="45"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="268">whether the item was queued or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="importer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="259">an importer to add additional items to</doc>
              <type name="Importer" c:type="GcrImporter*"/>
            </parameter>
            <parameter name="parsed" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="260">a parsed item to import</doc>
              <type name="Parsed" c:type="GcrParsed*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="import_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="59">implementation of [method@Importer.import_async], required</doc>
        <callback name="import_async">
          <source-position filename="gcr/gcr-importer.h" line="48"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="importer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="318">the importer</doc>
              <type name="Importer" c:type="GcrImporter*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="319">a #GCancellable, or %NULL</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
            <parameter name="callback"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       scope="async"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="320">called when the operation completes</doc>
              <type name="Gio.AsyncReadyCallback"
                    c:type="GAsyncReadyCallback"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="321">data to be passed to the callback</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="import_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="60">implementation of [method@Importer.import_finish]</doc>
        <callback name="import_finish" throws="1">
          <source-position filename="gcr/gcr-importer.h" line="53"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-importer.c"
                 line="352">whether the import succeeded or failed</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="importer" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="346">the importer</doc>
              <type name="Importer" c:type="GcrImporter*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-importer.c"
                   line="347">an asynchronous result</doc>
              <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reserved" readable="0" private="1">
        <array zero-terminated="0" fixed-size="14">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <constant name="MAJOR_VERSION" value="4" c:type="GCR_MAJOR_VERSION">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="59">The major version number of the Gcr library.</doc>
      <source-position filename="gcr/gcr-version.h" line="31"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MICRO_VERSION" value="0" c:type="GCR_MICRO_VERSION">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="71">The micro version number of the Gcr library.</doc>
      <source-position filename="gcr/gcr-version.h" line="33"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MINOR_VERSION" value="4" c:type="GCR_MINOR_VERSION">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="65">The minor version number of the Gcr library.</doc>
      <source-position filename="gcr/gcr-version.h" line="32"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="PARSER" c:identifier="GCR_PARSER" introspectable="0">
      <source-position filename="gcr/gcr-parser.h" line="35"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PARSER_CLASS"
                    c:identifier="GCR_PARSER_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-parser.h" line="36"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PARSER_GET_CLASS"
                    c:identifier="GCR_PARSER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-parser.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PKCS11_CERTIFICATE"
                    c:identifier="GCR_PKCS11_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="37"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PKCS11_CERTIFICATE_CLASS"
                    c:identifier="GCR_PKCS11_CERTIFICATE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="38"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="PKCS11_CERTIFICATE_GET_CLASS"
                    c:identifier="GCR_PKCS11_CERTIFICATE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="PURPOSE_CLIENT_AUTH"
              value="1.3.6.1.5.5.7.3.2"
              c:type="GCR_PURPOSE_CLIENT_AUTH">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="43">The purpose used to verify the client certificate in a TLS connection.</doc>
      <source-position filename="gcr/gcr-trust.h" line="33"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="PURPOSE_CODE_SIGNING"
              value="1.3.6.1.5.5.7.3.3"
              c:type="GCR_PURPOSE_CODE_SIGNING">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="49">The purpose used to verify certificate used for the signature on signed code.</doc>
      <source-position filename="gcr/gcr-trust.h" line="34"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="PURPOSE_EMAIL"
              value="1.3.6.1.5.5.7.3.4"
              c:type="GCR_PURPOSE_EMAIL">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="55">The purpose used to verify certificates that are used in email communication
such as S/MIME.</doc>
      <source-position filename="gcr/gcr-trust.h" line="35"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="PURPOSE_SERVER_AUTH"
              value="1.3.6.1.5.5.7.3.1"
              c:type="GCR_PURPOSE_SERVER_AUTH">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="36">The purpose used to verify the server certificate in a TLS connection. This
is the most common purpose in use.</doc>
      <source-position filename="gcr/gcr-trust.h" line="32"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <record name="Parsed"
            c:type="GcrParsed"
            opaque="1"
            glib:type-name="GcrParsed"
            glib:get-type="gcr_parsed_get_type"
            c:symbol-prefix="parsed">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="64">A parsed item parsed by a #GcrParser.</doc>
      <source-position filename="gcr/gcr-parser.h" line="44"/>
      <method name="get_attributes" c:identifier="gcr_parsed_get_attributes">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2097">Get the attributes which make up the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="136"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2103">the attributes for the item; these
         are owned by the parsed item and should not be freed</doc>
          <type name="Gck.Attributes" c:type="GckAttributes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2099">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bytes" c:identifier="gcr_parsed_get_bytes">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2223">Get the raw data block for the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="141"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2229">the raw data of the parsed item, or %NULL</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2225">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_data" c:identifier="gcr_parsed_get_data">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2196">Get the raw data block for the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="138"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2203">the raw data of
         the parsed item, or %NULL</doc>
          <array length="0" zero-terminated="0" c:type="const guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2198">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
          <parameter name="n_data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2199">location to store size of returned data</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_description" c:identifier="gcr_parsed_get_description">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2058">Get the descirption for a parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="134"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2064">the description</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2060">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename" c:identifier="gcr_parsed_get_filename">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2284">Get the filename of the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="145"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2290">the filename of
         the parsed item, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2286">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_format" c:identifier="gcr_parsed_get_format">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2264">Get the format of the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="143"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2270">the data format of the item</doc>
          <type name="DataFormat" c:type="GcrDataFormat"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2266">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_label" c:identifier="gcr_parsed_get_label">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2137">Get the label for the parsed item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="132"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2143">the label for the item</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2139">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gcr_parsed_ref">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1976">Add a reference to a parsed item. An item may not be shared across threads
until it has been referenced at least once.</doc>
        <source-position filename="gcr/gcr-parser.h" line="128"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1983">the parsed item</doc>
          <type name="Parsed" c:type="GcrParsed*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parsed" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1978">a parsed item</doc>
            <type name="Parsed" c:type="GcrParsed*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="unref" c:identifier="gcr_parsed_unref">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2021">Unreferences a parsed item which was referenced with gcr_parsed_ref()</doc>
        <source-position filename="gcr/gcr-parser.h" line="130"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="parsed"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2023">a parsed item</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="Parser"
           c:symbol-prefix="parser"
           c:type="GcrParser"
           parent="GObject.Object"
           glib:type-name="GcrParser"
           glib:get-type="gcr_parser_get_type"
           glib:type-struct="ParserClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="45">A parser for parsing various types of files or data.

A `GcrParser` can parse various certificate and key files such as OpenSSL
PEM files, DER encoded certifictes, PKCS#8 keys and so on. Each various
format is identified by a value in the [enum@DataFormat] enumeration.

In order to parse data, a new parser is created with [ctor@Parser.new] and
then the [signal@Parser::authenticate] and [signal@Parser::parsed] signals
should be connected to. Data is then fed to the parser via
[method@Parser.parse_data] or [method@Parser.parse_stream].

During the [signal@Parser::parsed] signal the attributes that make up the
currently parsed item can be retrieved using the
[method@Parser.get_parsed_attributes] function.</doc>
      <source-position filename="gcr/gcr-parser.h" line="62"/>
      <constructor name="new" c:identifier="gcr_parser_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1715">Create a new #GcrParser</doc>
        <source-position filename="gcr/gcr-parser.h" line="66"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1720">a newly allocated #GcrParser</doc>
          <type name="Parser" c:type="GcrParser*"/>
        </return-value>
      </constructor>
      <virtual-method name="authenticate">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="73">The default handler for the authenticate signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="59"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="count" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="74">The default handler for the parsed signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="61"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="add_password" c:identifier="gcr_parser_add_password">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1728">Add a password to the set of passwords to try when parsing locked or encrypted
items. This is usually called from the [signal@Parser::authenticate] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="101"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1730">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="password"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1731">a password to try</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="format_disable" c:identifier="gcr_parser_format_disable">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1878">Disable parsing of the given format. Use %GCR_FORMAT_ALL to disable all the formats.</doc>
        <source-position filename="gcr/gcr-parser.h" line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1880">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1881">The format identifier</doc>
            <type name="DataFormat" c:type="GcrDataFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="format_enable" c:identifier="gcr_parser_format_enable">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1845">Enable parsing of the given format. Use %GCR_FORMAT_ALL to enable all the formats.</doc>
        <source-position filename="gcr/gcr-parser.h" line="68"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1847">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1848">The format identifier</doc>
            <type name="DataFormat" c:type="GcrDataFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="format_supported"
              c:identifier="gcr_parser_format_supported">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1909">Check whether the given format is supported by the parser.</doc>
        <source-position filename="gcr/gcr-parser.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1916">Whether the format is supported.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1911">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1912">The format identifier</doc>
            <type name="DataFormat" c:type="GcrDataFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_filename" c:identifier="gcr_parser_get_filename">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1945">Get the filename of the parser item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1951">the filename set on the parser, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1947">a parser item</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed" c:identifier="gcr_parser_get_parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1928">Get the currently parsed item</doc>
        <source-position filename="gcr/gcr-parser.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1934">the currently parsed item</doc>
          <type name="Parsed" c:type="GcrParsed*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1930">a parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed_attributes"
              c:identifier="gcr_parser_get_parsed_attributes"
              glib:get-property="parsed-attributes">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2078">Get the attributes which make up the currently parsed item. This is generally
only valid during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="110"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2085">the attributes for the current item,
         which are owned by the parser and should not be freed</doc>
          <type name="Gck.Attributes" c:type="GckAttributes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2080">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed_block"
              c:identifier="gcr_parser_get_parsed_block">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2157">Get the raw data block that represents this parsed object. This is only
valid during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="112"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2165">the raw data
         block of the currently parsed item; the value is owned by the parser
         and should not be freed</doc>
          <array length="0" zero-terminated="0" c:type="const guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2159">a parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="n_block"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2160">a location to place the size of the block</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_parsed_bytes"
              c:identifier="gcr_parser_get_parsed_bytes">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2181">Get the raw data block that represents this parsed object. This is only
valid during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2188">the raw data block of the currently parsed item</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2183">a parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed_description"
              c:identifier="gcr_parser_get_parsed_description"
              glib:get-property="parsed-description">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2039">Get a description for the type of the currently parsed item. This is generally
only valid during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="108"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2046">the description for the current item; this is owned by
         the parser and should not be freed</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2041">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed_format"
              c:identifier="gcr_parser_get_parsed_format">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2243">Get the format of the raw data block that represents this parsed object.
This corresponds with the data returned from
[method@Parser.get_parsed_block].

This is only valid during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2253">the data format of the currently parsed item</doc>
          <type name="DataFormat" c:type="GcrDataFormat"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2245">a parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parsed_label"
              c:identifier="gcr_parser_get_parsed_label"
              glib:get-property="parsed-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2118">Get the label of the currently parsed item. This is generally only valid
during the [signal@Parser::parsed] signal.</doc>
        <source-position filename="gcr/gcr-parser.h" line="106"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2125">the label of the currently parsed item. The value is
         owned by the parser and should not be freed.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2120">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="parse_bytes"
              c:identifier="gcr_parser_parse_bytes"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1743">Parse the data. The [signal@Parser::parsed] and
[signal@Parser::authenticate] signals may fire during the parsing.</doc>
        <source-position filename="gcr/gcr-parser.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1752">Whether the data was parsed successfully or not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1745">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1746">the data to parse</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_data"
              c:identifier="gcr_parser_parse_data"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1810">Parse the data. The [signal@Parser::parsed] and [signal@Parser::authenticate]
signals may fire during the parsing.

A copy of the data will be made. Use [method@Parser.parse_bytes] to avoid
this.</doc>
        <source-position filename="gcr/gcr-parser.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1823">Whether the data was parsed successfully or not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1812">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1813">the data to parse</doc>
            <array length="1" zero-terminated="0" c:type="const guchar*">
              <type name="guint8" c:type="guchar"/>
            </array>
          </parameter>
          <parameter name="n_data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1814">The length of the data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream"
              c:identifier="gcr_parser_parse_stream"
              throws="1"
              glib:async-func="parse_stream_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2550">Parse items from the data in a #GInputStream. This function may block while
reading from the input stream. Use [method@Parser.parse_stream_async] for
a non-blocking variant.

The [signal@Parser::parsed] and [signal@Parser::authenticate] signals
may fire during the parsing.</doc>
        <source-position filename="gcr/gcr-parser.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2564">Whether the parsing completed successfully or not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2552">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="input" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2553">The input stream</doc>
            <type name="Gio.InputStream" c:type="GInputStream*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2554">An optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_async"
              c:identifier="gcr_parser_parse_stream_async"
              glib:finish-func="parse_stream_finish"
              glib:sync-func="parse_stream">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2589">Parse items from the data in a #GInputStream. This function completes
asyncronously and doesn't block.

The [signal@Parser::parsed] and [signal@Parser::authenticate] signals
may fire during the parsing.</doc>
        <source-position filename="gcr/gcr-parser.h" line="91"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2591">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="input" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2592">The input stream</doc>
            <type name="Gio.InputStream" c:type="GInputStream*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2593">An optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2594">Called when the operation result is ready.</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2595">Data to pass to callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="parse_stream_finish"
              c:identifier="gcr_parser_parse_stream_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="2620">Complete an operation to parse a stream.</doc>
        <source-position filename="gcr/gcr-parser.h" line="97"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2628">Whether the parsing completed successfully or not.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2622">The parser</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="2623">The operation result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename" c:identifier="gcr_parser_set_filename">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1960">Sets the filename of the parser item.</doc>
        <source-position filename="gcr/gcr-parser.h" line="121"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1962">a parser item</doc>
            <type name="Parser" c:type="GcrParser*"/>
          </instance-parameter>
          <parameter name="filename"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1963">a string of the filename of the parser item</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="parsed-attributes"
                transfer-ownership="none"
                getter="get_parsed_attributes">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1632">Get the attributes that make up the currently parsed item. This is
generally only valid during a [signal@Parser::parsed] signal.</doc>
        <type name="Gck.Attributes"/>
      </property>
      <property name="parsed-description"
                transfer-ownership="none"
                getter="get_parsed_description">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1654">The description of the type of the currently parsed item. This is generally
only valid during a [signal@Parser::parsed] signal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="parsed-label"
                transfer-ownership="none"
                getter="get_parsed_label">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1643">The label of the currently parsed item. This is generally
only valid during a [signal@Parser::parsed] signal.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="ParserPrivate" c:type="GcrParserPrivate*"/>
      </field>
      <glib:signal name="authenticate" when="last">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1665">This signal is emitted when an item needs to be unlocked or decrypted before
it can be parsed. The @count argument specifies the number of times
the signal has been emitted for a given item. This can be used to
display a message saying the previous password was incorrect.

Typically the gcr_parser_add_password() function is called in
response to this signal.

If %FALSE is returned, then the authentication was not handled. If
no handlers return %TRUE then the item is not parsed and an error
with the code %GCR_ERROR_CANCELLED will be raised.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="1682">Whether the authentication was handled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="count" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-parser.c"
                 line="1668">the number of times this item has been authenticated</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="parsed" when="first">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="1689">This signal is emitted when an item is sucessfully parsed. To access
the information about the item use the gcr_parser_get_parsed_label(),
gcr_parser_get_parsed_attributes() and gcr_parser_get_parsed_description()
functions.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="ParserClass"
            c:type="GcrParserClass"
            glib:is-gtype-struct-for="Parser">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="70">The class for #GcrParser</doc>
      <source-position filename="gcr/gcr-parser.h" line="62"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="72">The parent class</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="authenticate">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="73">The default handler for the authenticate signal.</doc>
        <callback name="authenticate">
          <source-position filename="gcr/gcr-parser.h" line="59"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="Parser" c:type="GcrParser*"/>
            </parameter>
            <parameter name="count" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="parsed">
        <doc xml:space="preserve"
             filename="gcr/gcr-parser.c"
             line="74">The default handler for the parsed signal.</doc>
        <callback name="parsed">
          <source-position filename="gcr/gcr-parser.h" line="61"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="Parser" c:type="GcrParser*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="ParserPrivate"
            c:type="GcrParserPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-parser.h" line="43"/>
    </record>
    <class name="Pkcs11Certificate"
           c:symbol-prefix="pkcs11_certificate"
           c:type="GcrPkcs11Certificate"
           parent="Gck.Object"
           glib:type-name="GcrPkcs11Certificate"
           glib:get-type="gcr_pkcs11_certificate_get_type"
           glib:type-struct="Pkcs11CertificateClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-pkcs11-certificate.c"
           line="34">A certificate loaded from a PKCS#11 storage.
It is also a valid [class@Gck.Object] and can be used as such.

Use [func@Gcr.Pkcs11Certificate.lookup_issuer] to lookup the issuer of a
given certificate in the PKCS#11 store.

Various common PKCS#11 certificate attributes are automatically loaded and
are available via [method@Gcr.Pkcs11Certificate.get_attributes].</doc>
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="57"/>
      <implements name="Certificate"/>
      <function name="lookup_issuer"
                c:identifier="gcr_pkcs11_certificate_lookup_issuer"
                throws="1"
                glib:async-func="lookup_issuer_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="312">Lookup a the issuer of a @certificate in the PKCS#11 storage. The
lookup is done using the issuer DN of the certificate. No certificate chain
verification is done. Use a crypto library to make trust decisions.

This call may block, see [func@Gcr.Pkcs11Certificate.lookup_issuer] for the
non-blocking version.

Will return %NULL if no issuer certificate is found. Use @error to determine
if an error occurred.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="63"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-pkcs11-certificate.c"
               line="328">a new #GcrPkcs11Certificate, or %NULL</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="certificate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="314">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="315">a cancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </function>
      <function name="lookup_issuer_async"
                c:identifier="gcr_pkcs11_certificate_lookup_issuer_async"
                glib:finish-func="lookup_issuer_finish"
                glib:sync-func="lookup_issuer">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="351">Lookup a the issuer of a @certificate in the PKCS#11 storage. The
lookup is done using the issuer DN of the certificate. No certificate chain
verification is done. Use a crypto library to make trust decisions.

When the operation is finished, callback will be called. You can then call
[func@Gcr.Pkcs11Certificate.lookup_issuer_finish] to get the result of the
operation.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="certificate" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="353">a #GcrCertificate</doc>
            <type name="Certificate" c:type="GcrCertificate*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="354">a cancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="355">a #GAsyncReadyCallback to call when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="356">the data to pass to callback function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="lookup_issuer_finish"
                c:identifier="gcr_pkcs11_certificate_lookup_issuer_finish"
                throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="387">Finishes an asynchronous operation started by
[func@Gcr.Pkcs11Certificate.lookup_issuer_async].

Will return %NULL if no issuer certificate is found. Use @error to determine
if an error occurred.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="72"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-pkcs11-certificate.c"
               line="398">a new #GcrPkcs11Certificate, or %NULL</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="389">the #GAsyncResult passed to the callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </function>
      <function name="new_from_uri"
                c:identifier="gcr_pkcs11_certificate_new_from_uri"
                throws="1"
                glib:async-func="new_from_uri_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="413">Lookup a certificate in the PKCS#11 storage by the given URI.

This call may block, see gcr_pkcs11_certificate_new_from_uri_async() for
the non-blocking version.

Will return %NULL if no certificate is found. Use @error to determine
if an error occurred.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="75"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-pkcs11-certificate.c"
               line="427">a new #GcrCertificate, or %NULL</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="pkcs11_uri" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="415">a A PKCS \#11 URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="416">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </function>
      <function name="new_from_uri_async"
                c:identifier="gcr_pkcs11_certificate_new_from_uri_async"
                glib:finish-func="new_from_uri_finish"
                glib:sync-func="new_from_uri">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="450">Lookup a certificate in the PKCS#11 storage by the given URI.

When the operation is finished, callback will be called. You can then call
gcr_pkcs11_certificate_new_from_uri_finish() to get the result of the
operation.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pkcs11_uri" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="452">a A PKCS \#11 URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="453">a #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="454">a #GAsyncReadyCallback to call when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="455">the data to pass to callback function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="new_from_uri_finish"
                c:identifier="gcr_pkcs11_certificate_new_from_uri_finish"
                throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="493">Finishes an asynchronous operation started by
gcr_pkcs11_certificate_new_from_uri_async().

Will return %NULL if no certificate is found. Use @error to determine
if an error occurred.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="84"/>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-pkcs11-certificate.c"
               line="504">a new #GcrCertificate, or %NULL</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="495">the #GAsyncResult passed to the callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_attributes"
              c:identifier="gcr_pkcs11_certificate_get_attributes"
              glib:get-property="attributes">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="297">Access the automatically loaded attributes for this certificate.</doc>
        <source-position filename="gcr/gcr-pkcs11-certificate.h" line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-pkcs11-certificate.c"
               line="303">the certificate attributes</doc>
          <type name="Gck.Attributes" c:type="GckAttributes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-pkcs11-certificate.c"
                 line="299">A #GcrPkcs11Certificate</doc>
            <type name="Pkcs11Certificate" c:type="GcrPkcs11Certificate*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="attributes"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_attributes">
        <doc xml:space="preserve"
             filename="gcr/gcr-pkcs11-certificate.c"
             line="256">Automatically loaded attributes for this certificate.</doc>
        <type name="Gck.Attributes"/>
      </property>
      <field name="parent">
        <type name="Gck.Object" c:type="GckObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="Pkcs11CertificatePrivate"
              c:type="GcrPkcs11CertificatePrivate*"/>
      </field>
    </class>
    <record name="Pkcs11CertificateClass"
            c:type="GcrPkcs11CertificateClass"
            glib:is-gtype-struct-for="Pkcs11Certificate">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="57"/>
      <field name="parent_class" readable="0" private="1">
        <type name="Gck.ObjectClass" c:type="GckObjectClass"/>
      </field>
    </record>
    <record name="Pkcs11CertificatePrivate"
            c:type="GcrPkcs11CertificatePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-pkcs11-certificate.h" line="45"/>
    </record>
    <interface name="Prompt"
               c:symbol-prefix="prompt"
               c:type="GcrPrompt"
               glib:type-name="GcrPrompt"
               glib:get-type="gcr_prompt_get_type"
               glib:type-struct="PromptInterface">
      <doc xml:space="preserve"
           filename="gcr/gcr-prompt.c"
           line="28">A prompt displayed to the user. It is an interface with various
implementations.

Various properties are set on the prompt, and then the prompt is displayed
the various prompt methods like [method@Prompt.password_run].

A `GcrPrompt` may be used to display multiple related prompts. Most
implementions do not hide the window between display of multiple related
prompts, and the #GcrPrompt must be closed or destroyed in order to make
it go away. This allows the user to see that the prompts are related.

Use `GcrPromptDialog` (part of gcr-ui) to create an in-process GTK+ dialog
prompt. Use [class@SystemPrompt] to create a system prompt in a prompter
process.

The prompt implementation will always display the [property@Prompt:message]
property, but may choose not to display the [property@Prompt:description] or
[property@Prompt:title] properties.</doc>
      <source-position filename="gcr/gcr-prompt.h" line="65"/>
      <virtual-method name="prompt_close">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="58">close a prompt</doc>
        <source-position filename="gcr/gcr-prompt.h" line="64"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prompt_confirm_async"
                      invoker="confirm_async"
                      glib:finish-func="prompt_confirm_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="906">Prompts for confirmation asking a cancel/continue style question.
Set the various properties on the prompt before calling this method to
represent the question correctly.

This method will return immediately and complete asynchronously.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="908">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="909">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="910">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="911">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prompt_confirm_finish"
                      invoker="confirm_finish"
                      throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="936">Complete an operation to prompt for confirmation.

%GCR_PROMPT_REPLY_CONTINUE will be returned if the user confirms the prompt. The
return value will also be %GCR_PROMPT_REPLY_CANCEL if the user cancels or if
an error occurs. Check the @error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="948">the reply from the prompt</doc>
          <type name="PromptReply" c:type="GcrPromptReply"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="938">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="939">asynchronous result passed to callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prompt_password_async"
                      invoker="password_async"
                      glib:finish-func="prompt_password_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="753">Prompts for password. Set the various properties on the prompt before calling
this method to explain which password should be entered.

This method will return immediately and complete asynchronously.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="46"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="755">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="756">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="757">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="758">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="prompt_password_finish"
                      invoker="password_finish"
                      throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="782">Complete an operation to prompt for a password.

A password will be returned if the user enters a password successfully.
The returned password is valid until the next time a method is called
to display another prompt.

%NULL will be returned if the user cancels or if an error occurs. Check the
@error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="51"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="797">the password owned by the prompt, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="784">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="785">asynchronous result passed to callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="close" c:identifier="gcr_prompt_close">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="1053">Closes the prompt so that in can no longer be used to prompt. The various
prompt methods will return results as if the user dismissed the prompt.

The prompt may also be closed by the implementor of the prompt object.

This emits the [signal@Prompt::prompt-close] signal on the prompt object.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="155"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="1055">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="confirm"
              c:identifier="gcr_prompt_confirm"
              throws="1"
              glib:async-func="confirm_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="967">Prompts for confirmation asking a cancel/continue style question.
Set the various properties on the prompt before calling this function to
represent the question correctly.

This method will block until the a response is returned from the prompter.

%GCR_PROMPT_REPLY_CONTINUE will be returned if the user confirms the prompt. The
return value will also be %GCR_PROMPT_REPLY_CANCEL if the user cancels or if
an error occurs. Check the @error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="983">the reply from the prompt</doc>
          <type name="PromptReply" c:type="GcrPromptReply"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="969">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="970">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="confirm_async"
              c:identifier="gcr_prompt_confirm_async"
              glib:finish-func="confirm_finish"
              glib:sync-func="confirm">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="906">Prompts for confirmation asking a cancel/continue style question.
Set the various properties on the prompt before calling this method to
represent the question correctly.

This method will return immediately and complete asynchronously.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="138"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="908">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="909">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="910">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="911">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="confirm_finish"
              c:identifier="gcr_prompt_confirm_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="936">Complete an operation to prompt for confirmation.

%GCR_PROMPT_REPLY_CONTINUE will be returned if the user confirms the prompt. The
return value will also be %GCR_PROMPT_REPLY_CANCEL if the user cancels or if
an error occurs. Check the @error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="143"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="948">the reply from the prompt</doc>
          <type name="PromptReply" c:type="GcrPromptReply"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="938">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="939">asynchronous result passed to callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="confirm_run"
              c:identifier="gcr_prompt_confirm_run"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="1009">Prompts for confirmation asking a cancel/continue style question.
Set the various properties on the prompt before calling this function to
represent the question correctly.

This method will block until the a response is returned from the prompter
and will run a main loop similar to a `gtk_dialog_run()`. The application
will remain responsive but care must be taken to handle reentrancy issues.

%GCR_PROMPT_REPLY_CONTINUE will be returned if the user confirms the prompt. The
return value will also be %GCR_PROMPT_REPLY_CANCEL if the user cancels or if
an error occurs. Check the @error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="151"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="1027">the reply from the prompt</doc>
          <type name="PromptReply" c:type="GcrPromptReply"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="1011">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="1012">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_caller_window"
              c:identifier="gcr_prompt_get_caller_window"
              glib:get-property="caller-window">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="637">Get the string handle of the caller's window.

The caller window indicates to the prompt which window is prompting the
user. The prompt may choose to ignore this information or use it in whatever
way it sees fit.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="106"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="647">a newly allocated string containing the string
         handle of the window.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="639">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_cancel_label"
              c:identifier="gcr_prompt_get_cancel_label"
              glib:get-property="cancel-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="716">Get the label for the cancel button.

This is the button that results in a %GCR_PROMPT_REPLY_CANCEL reply
from the prompt.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="116"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="725">a newly allocated string containing the label</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="718">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_choice_chosen"
              c:identifier="gcr_prompt_get_choice_chosen"
              glib:get-property="choice-chosen">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="538">Get whether the additional choice was chosen or not.

The additional choice would have been setup using
gcr_prompt_set_choice_label().</doc>
        <source-position filename="gcr/gcr-prompt.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="547">whether chosen</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="540">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_choice_label"
              c:identifier="gcr_prompt_get_choice_label"
              glib:get-property="choice-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="495">Get the label for the additional choice.

This will be %NULL if no additional choice is being displayed.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="89"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="503">a newly allocated string containing the additional
         choice or %NULL</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="497">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_continue_label"
              c:identifier="gcr_prompt_get_continue_label"
              glib:get-property="continue-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="678">Get the label for the continue button.

This is the button that results in a %GCR_PROMPT_REPLY_CONTINUE reply
from the prompt.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="111"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="687">a newly allocated string containing the label</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="680">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="gcr_prompt_get_description"
              glib:get-property="description">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="412">Get the detailed description of the prompt.

A prompt implementation may choose not to display this detailed description.
The prompt message should contain relevant information.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="79"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="421">a newly allocated string containing the detailed
         description of the prompt</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="414">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_message"
              c:identifier="gcr_prompt_get_message"
              glib:get-property="message">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="375">Gets the prompt message for the user.

A prompt implementation should always display this message.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="74"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="383">a newly allocated string containing the detailed
         description of the prompt</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="377">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_password_new"
              c:identifier="gcr_prompt_get_password_new"
              glib:get-property="password-new">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="575">Get whether the prompt will prompt for a new password.

This will cause the prompt implementation to ask the user to confirm the
password and/or display other relevant user interface for creating a new
password.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="585">whether in new password mode or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="577">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_password_strength"
              c:identifier="gcr_prompt_get_password_strength"
              glib:get-property="password-strength">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="615">Get indication of the password strength.

Prompts will return a zero value if the password is empty, and a value
greater than zero if the password has any characters.

This is only valid after a successful prompt for a password.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="626">zero if the password is empty, greater than zero if not</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="617">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_title"
              c:identifier="gcr_prompt_get_title"
              glib:get-property="title">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="336">Gets the title of the prompt.

A prompt implementation may choose not to display the prompt title. The
prompt message should contain relevant information.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="69"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="345">a newly allocated string containing the prompt
         title.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="338">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_warning"
              c:identifier="gcr_prompt_get_warning"
              glib:get-property="warning">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="452">Get a prompt warning displayed on the prompt.

This is a warning like "The password is incorrect." usually displayed to the
user about a previous 'unsuccessful' prompt.

If this string is %NULL then no warning is displayed.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="84"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="463">a newly allocated string containing the prompt
         warning, or %NULL if no warning</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="454">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="password"
              c:identifier="gcr_prompt_password"
              throws="1"
              glib:async-func="password_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="816">Prompts for password. Set the various properties on the prompt before calling
this method to explain which password should be entered.

This method will block until the a response is returned from the prompter.

A password will be returned if the user enters a password successfully.
The returned password is valid until the next time a method is called
to display another prompt.

%NULL will be returned if the user cancels or if an error occurs. Check the
@error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="834">the password owned by the prompt, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="818">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="819">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="password_async"
              c:identifier="gcr_prompt_password_async"
              glib:finish-func="password_finish"
              glib:sync-func="password">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="753">Prompts for password. Set the various properties on the prompt before calling
this method to explain which password should be entered.

This method will return immediately and complete asynchronously.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="121"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="755">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="756">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="757">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="758">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="password_finish"
              c:identifier="gcr_prompt_password_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="782">Complete an operation to prompt for a password.

A password will be returned if the user enters a password successfully.
The returned password is valid until the next time a method is called
to display another prompt.

%NULL will be returned if the user cancels or if an error occurs. Check the
@error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="797">the password owned by the prompt, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="784">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="785">asynchronous result passed to callback</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="password_run"
              c:identifier="gcr_prompt_password_run"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="860">Prompts for password. Set the various properties on the prompt before calling
this method to explain which password should be entered.

This method will block until the a response is returned from the prompter
and will run a main loop similar to a gtk_dialog_run(). The application
will remain responsive but care must be taken to handle reentrancy issues.

A password will be returned if the user enters a password successfully.
The returned password is valid until the next time a method is called
to display another prompt.

%NULL will be returned if the user cancels or if an error occurs. Check the
@error argument to tell the difference.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-prompt.c"
               line="880">the password owned by the prompt, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="862">a prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="863">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="gcr_prompt_reset">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="288">Reset the contents and properties of the prompt.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="290">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_caller_window"
              c:identifier="gcr_prompt_set_caller_window"
              glib:set-property="caller-window">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="659">Set the string handle of the caller's window.

The caller window indicates to the prompt which window is prompting the
user. The prompt may choose to ignore this information or use it in whatever
way it sees fit.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="661">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="window_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="662">the window id</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_cancel_label"
              c:identifier="gcr_prompt_set_cancel_label"
              glib:set-property="cancel-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="735">Set the label for the continue button.

This is the button that results in a %GCR_PROMPT_REPLY_CANCEL reply
from the prompt.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="118"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="737">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="cancel_label" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="738">the label</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_choice_chosen"
              c:identifier="gcr_prompt_set_choice_chosen"
              glib:set-property="choice-chosen">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="558">Set whether the additional choice is chosen or not.

The additional choice should be set up using gcr_prompt_set_choice_label().</doc>
        <source-position filename="gcr/gcr-prompt.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="560">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="chosen" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="561">whether chosen</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_choice_label"
              c:identifier="gcr_prompt_set_choice_label"
              glib:set-property="choice-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="515">Set the label for the additional choice.

If this is a non-%NULL value then an additional boolean choice will be
displayed by the prompt allowing the user to select or deselect it.

The initial value of the choice can be set with the
gcr_prompt_set_choice_label() method.

If this is %NULL, then no additional choice is being displayed.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="91"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="517">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="choice_label"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="518">the additional choice or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_continue_label"
              c:identifier="gcr_prompt_set_continue_label"
              glib:set-property="continue-label">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="698">Set the label for the continue button.

This is the button that results in a %GCR_PROMPT_REPLY_CONTINUE reply
from the prompt.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="113"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="700">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="continue_label" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="701">the label</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="gcr_prompt_set_description"
              glib:set-property="description">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="433">Set the detailed description of the prompt.

A prompt implementation may choose not to display this detailed description.
Use gcr_prompt_set_message() to set a general message containing relevant
information.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="435">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="description" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="436">the detailed description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_message"
              c:identifier="gcr_prompt_set_message"
              glib:set-property="message">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="395">Sets the prompt message for the user.

A prompt implementation should always display this message.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="397">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="message" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="398">the prompt message</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_password_new"
              c:identifier="gcr_prompt_set_password_new"
              glib:set-property="password-new">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="596">Set whether the prompt will prompt for a new password.

This will cause the prompt implementation to ask the user to confirm the
password and/or display other relevant user interface for creating a new
password.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="101"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="598">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="new_password" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="599">whether in new password mode or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_title"
              c:identifier="gcr_prompt_set_title"
              glib:set-property="title">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="357">Sets the title of the prompt.

A prompt implementation may choose not to display the prompt title. The
prompt message should contain relevant information.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="359">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="title" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="360">the prompt title</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_warning"
              c:identifier="gcr_prompt_set_warning"
              glib:set-property="warning">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="475">Set a prompt warning displayed on the prompt.

This is a warning like "The password is incorrect." usually displayed to the
user about a previous 'unsuccessful' prompt.

If this string is %NULL then no warning is displayed.</doc>
        <source-position filename="gcr/gcr-prompt.h" line="86"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="prompt" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="477">the prompt</doc>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </instance-parameter>
          <parameter name="warning"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="478">the warning or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <property name="caller-window"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_caller_window"
                getter="get_caller_window"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="196">The string handle of the caller's window.

The caller window indicates to the prompt which window is prompting the
user. The prompt may choose to ignore this information or use it in whatever
way it sees fit.

In X11, this will be a stringified version of the XWindow handle; in
Wayland this is the result of an export using the XDG foreign
protocol.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="cancel-label"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_cancel_label"
                getter="get_cancel_label"
                default-value="Cancel">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="222">The label for the cancel button in the prompt.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="choice-chosen"
                writable="1"
                transfer-ownership="none"
                setter="set_choice_chosen"
                getter="get_choice_chosen"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="185">Whether the additional choice is chosen or not.

The additional choice would have been setup using #GcrPrompt:choice-label.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="choice-label"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_choice_label"
                getter="get_choice_label"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="169">The label for the additional choice.

If this is a non-%NULL value then an additional boolean choice will be
displayed by the prompt allowing the user to select or deselect it.

If %NULL, then no additional choice is displayed.

The initial value of the choice can be set with #GcrPrompt:choice-chosen.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="continue-label"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_continue_label"
                getter="get_continue_label"
                default-value="Continue">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="213">The label for the continue button in the prompt.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="description"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_description"
                getter="get_description"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="118">The detailed description of the prompt.

A prompt implementation may choose not to display this detailed description.
The prompt message should contain relevant information.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="message"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_message"
                getter="get_message"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="107">The prompt message for the user.

A prompt implementation should always display this message.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="password-new"
                writable="1"
                transfer-ownership="none"
                setter="set_password_new"
                getter="get_password_new"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="142">Whether the prompt will prompt for a new password.

This will cause the prompt implementation to ask the user to confirm the
password and/or display other relevant user interface for creating a new
password.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="password-strength"
                transfer-ownership="none"
                getter="get_password_strength"
                default-value="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="155">Indication of the password strength.

Prompts will return a zero value if the password is empty, and a value
greater than zero if the password has any characters.

This is only valid after a successful prompt for a password.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <property name="title"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_title"
                getter="get_title"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="95">The title of the prompt.

A prompt implementation may choose not to display the prompt title. The
#GcrPrompt:message should contain relevant information.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="warning"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_warning"
                getter="get_warning"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="130">A prompt warning displayed on the prompt, or %NULL for no warning.

This is a warning like "The password is incorrect." usually displayed to the
user about a previous 'unsuccessful' prompt.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <glib:signal name="prompt-close" when="first">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="231">Action signal fired when the prompt is to be closed. After the default
handler has run, the prompt is closed. The various prompting methods
will return results as if the user dismissed the prompt.

You can use the [method@Prompt.close] method to emit this signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </interface>
    <record name="PromptInterface"
            c:type="GcrPromptInterface"
            glib:is-gtype-struct-for="Prompt">
      <doc xml:space="preserve"
           filename="gcr/gcr-prompt.c"
           line="51">The interface for implementing [iface@Prompt].</doc>
      <source-position filename="gcr/gcr-prompt.h" line="65"/>
      <field name="parent_iface">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="53">parent interface</doc>
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="prompt_password_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="54">begin a password prompt</doc>
        <callback name="prompt_password_async">
          <source-position filename="gcr/gcr-prompt.h" line="46"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="prompt" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="755">a prompt</doc>
              <type name="Prompt" c:type="GcrPrompt*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="756">optional cancellation object</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
            <parameter name="callback"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       scope="async"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="757">called when the operation completes</doc>
              <type name="Gio.AsyncReadyCallback"
                    c:type="GAsyncReadyCallback"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="758">data to pass to the callback</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prompt_password_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="55">complete a password prompt</doc>
        <callback name="prompt_password_finish" throws="1">
          <source-position filename="gcr/gcr-prompt.h" line="51"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="797">the password owned by the prompt, or %NULL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </return-value>
          <parameters>
            <parameter name="prompt" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="784">a prompt</doc>
              <type name="Prompt" c:type="GcrPrompt*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="785">asynchronous result passed to callback</doc>
              <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prompt_confirm_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="56">begin a confirm prompt</doc>
        <callback name="prompt_confirm_async">
          <source-position filename="gcr/gcr-prompt.h" line="55"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="prompt" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="908">a prompt</doc>
              <type name="Prompt" c:type="GcrPrompt*"/>
            </parameter>
            <parameter name="cancellable"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="909">optional cancellation object</doc>
              <type name="Gio.Cancellable" c:type="GCancellable*"/>
            </parameter>
            <parameter name="callback"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       scope="async"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="910">called when the operation completes</doc>
              <type name="Gio.AsyncReadyCallback"
                    c:type="GAsyncReadyCallback"/>
            </parameter>
            <parameter name="user_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1"
                       closure="3">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="911">data to pass to the callback</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prompt_confirm_finish">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="57">complete a confirm prompt</doc>
        <callback name="prompt_confirm_finish" throws="1">
          <source-position filename="gcr/gcr-prompt.h" line="60"/>
          <return-value transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-prompt.c"
                 line="948">the reply from the prompt</doc>
            <type name="PromptReply" c:type="GcrPromptReply"/>
          </return-value>
          <parameters>
            <parameter name="prompt" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="938">a prompt</doc>
              <type name="Prompt" c:type="GcrPrompt*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="gcr/gcr-prompt.c"
                   line="939">asynchronous result passed to callback</doc>
              <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="prompt_close">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="58">close a prompt</doc>
        <callback name="prompt_close">
          <source-position filename="gcr/gcr-prompt.h" line="64"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="prompt" transfer-ownership="none">
              <type name="Prompt" c:type="GcrPrompt*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="PromptReply" c:type="GcrPromptReply">
      <doc xml:space="preserve"
           filename="gcr/gcr-prompt.c"
           line="63">Various replies returned by [method@Prompt.confirm] and friends.</doc>
      <source-position filename="gcr/gcr-prompt.h" line="38"/>
      <member name="cancel" value="0" c:identifier="GCR_PROMPT_REPLY_CANCEL">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="66">the prompt was cancelled</doc>
      </member>
      <member name="continue"
              value="1"
              c:identifier="GCR_PROMPT_REPLY_CONTINUE">
        <doc xml:space="preserve"
             filename="gcr/gcr-prompt.c"
             line="65">the user replied with 'ok'</doc>
      </member>
    </enumeration>
    <function-macro name="SECRET_EXCHANGE"
                    c:identifier="GCR_SECRET_EXCHANGE"
                    introspectable="0">
      <source-position filename="gcr/gcr-secret-exchange.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SECRET_EXCHANGE_CLASS"
                    c:identifier="GCR_SECRET_EXCHANGE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-secret-exchange.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SECRET_EXCHANGE_GET_CLASS"
                    c:identifier="GCR_SECRET_EXCHANGE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-secret-exchange.h" line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="SECRET_EXCHANGE_PROTOCOL_1"
              value="sx-aes-1"
              c:type="GCR_SECRET_EXCHANGE_PROTOCOL_1">
      <doc xml:space="preserve"
           filename="gcr/gcr-secret-exchange.c"
           line="63">The current secret exchange protocol. Key agreement is done using DH with the
1536 bit IKE parameter group. Keys are derived using SHA256 with HKDF. The
transport encryption is done with 128 bit AES.</doc>
      <source-position filename="gcr/gcr-secret-exchange.h" line="35"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="SIMPLE_CERTIFICATE"
                    c:identifier="GCR_SIMPLE_CERTIFICATE"
                    introspectable="0">
      <source-position filename="gcr/gcr-simple-certificate.h" line="34"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SIMPLE_CERTIFICATE_CLASS"
                    c:identifier="GCR_SIMPLE_CERTIFICATE_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-simple-certificate.h" line="35"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SIMPLE_CERTIFICATE_GET_CLASS"
                    c:identifier="GCR_SIMPLE_CERTIFICATE_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-simple-certificate.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPT"
                    c:identifier="GCR_SYSTEM_PROMPT"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompt.h" line="45"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPTER"
                    c:identifier="GCR_SYSTEM_PROMPTER"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompter.h" line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPTER_CLASS"
                    c:identifier="GCR_SYSTEM_PROMPTER_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompter.h" line="44"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPTER_GET_CLASS"
                    c:identifier="GCR_SYSTEM_PROMPTER_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompter.h" line="47"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPT_CLASS"
                    c:identifier="GCR_SYSTEM_PROMPT_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompt.h" line="46"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SYSTEM_PROMPT_GET_CLASS"
                    c:identifier="GCR_SYSTEM_PROMPT_GET_CLASS"
                    introspectable="0">
      <source-position filename="gcr/gcr-system-prompt.h" line="49"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <class name="SecretExchange"
           c:symbol-prefix="secret_exchange"
           c:type="GcrSecretExchange"
           parent="GObject.Object"
           glib:type-name="GcrSecretExchange"
           glib:get-type="gcr_secret_exchange_get_type"
           glib:type-struct="SecretExchangeClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-secret-exchange.c"
           line="36">Allows exchange of secrets between two processes on the same system without
exposing those secrets to things like loggers, non-pageable memory etc.

This does not protect against active attacks like MITM attacks.

Each side creates a secret exchange object, and one of the sides calls
[method@SecretExchange.begin]. This creates a string, which should be passed
to the other side. Each side passes the strings it receives into
[method@SecretExchange.receive].

In order to send a reply (either with or without a secret) use
[method@SecretExchange.send]. A side must have successfully called
[method@SecretExchange.receive] before it can use
[method@SecretExchange.send].

The secret exchange objects can be used for multiple iterations of the
conversation, or for just one request/reply. The only limitation being that
the initial request cannot contain a secret.

Caveat: Information about the approximate length (rounded up to the nearest
16 bytes) may be leaked. If this is considered inacceptable, do not use
[class@SecretExchange].</doc>
      <source-position filename="gcr/gcr-secret-exchange.h" line="87"/>
      <constructor name="new" c:identifier="gcr_secret_exchange_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="207">Create a new secret exchange object.

Specify a protocol of %NULL to allow any protocol. This is especially
relevant on the side of the exchange that does not call
[method@SecretExchange.begin], that is the originator. Currently the only
protocol supported is %GCR_SECRET_EXCHANGE_PROTOCOL_1.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="93"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="218">A new #GcrSecretExchange object</doc>
          <type name="SecretExchange" c:type="GcrSecretExchange*"/>
        </return-value>
        <parameters>
          <parameter name="protocol"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="209">the exchange protocol to use</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="decrypt_transport_data" introspectable="0">
        <source-position filename="gcr/gcr-secret-exchange.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="exchange" transfer-ownership="none">
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="allocator" transfer-ownership="none">
            <type name="Gck.Allocator" c:type="GckAllocator"/>
          </parameter>
          <parameter name="cipher_text" transfer-ownership="none">
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="n_cipher_text" transfer-ownership="none">
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="parameter" transfer-ownership="none">
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="n_parameter" transfer-ownership="none">
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="plain_text" transfer-ownership="none">
            <type name="guint8" c:type="guchar**"/>
          </parameter>
          <parameter name="n_plain_text" transfer-ownership="none">
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="derive_transport_key">
        <source-position filename="gcr/gcr-secret-exchange.h" line="64"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="exchange" transfer-ownership="none">
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="peer" transfer-ownership="none">
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="n_peer" transfer-ownership="none">
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="encrypt_transport_data" introspectable="0">
        <source-position filename="gcr/gcr-secret-exchange.h" line="68"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="exchange" transfer-ownership="none">
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="allocator" transfer-ownership="none">
            <type name="Gck.Allocator" c:type="GckAllocator"/>
          </parameter>
          <parameter name="plain_text" transfer-ownership="none">
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="n_plain_text" transfer-ownership="none">
            <type name="gsize" c:type="gsize"/>
          </parameter>
          <parameter name="parameter" transfer-ownership="none">
            <type name="guint8" c:type="guchar**"/>
          </parameter>
          <parameter name="n_parameter" transfer-ownership="none">
            <type name="gsize" c:type="gsize*"/>
          </parameter>
          <parameter name="cipher_text" transfer-ownership="none">
            <type name="guint8" c:type="guchar**"/>
          </parameter>
          <parameter name="n_cipher_text" transfer-ownership="none">
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="generate_exchange_key">
        <source-position filename="gcr/gcr-secret-exchange.h" line="59"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="exchange" transfer-ownership="none">
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="scheme" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="public_key" transfer-ownership="none">
            <type name="guint8" c:type="guchar**"/>
          </parameter>
          <parameter name="n_public_key" transfer-ownership="none">
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="begin" c:identifier="gcr_secret_exchange_begin">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="248">Begin the secret exchange. The resulting string should be sent to the other
side of the exchange. The other side should use [method@SecretExchange.receive]
to process the string.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="97"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="256">A newly allocated string to be sent to the other
    side of the secret exchange</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="250">a #GcrSecretExchange object</doc>
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocol"
              c:identifier="gcr_secret_exchange_get_protocol"
              glib:get-property="protocol">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="228">Will return %NULL if no protocol was specified, and either
[method@SecretExchange.begin] or [method@SecretExchange.receive] have not
been called successfully.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="95"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="237">the protocol or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="230">a #GcrSecretExchange object
Get the secret exchange protocol.</doc>
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_secret" c:identifier="gcr_secret_exchange_get_secret">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="443">Returns the last secret received. If no secret has yet been received this
will return %NULL. The string is owned by the #GcrSecretExchange object
and will be valid until the next time that gcr_secret_exchange_receive()
is called on this object, or the object is destroyed.

Depending on the secret passed into the other side of the secret exchange,
the result may be a binary string. It does however have a null terminator,
so if you're certain that it is does not contain arbitrary binary data,
it can be used as a string.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="458">the last secret received</doc>
          <array length="0" zero-terminated="0" c:type="const gchar*">
            <type name="utf8" c:type="gchar"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="445">a #GcrSecretExchange object</doc>
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="secret_len"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="446">optionally, a location to store the length of returned secret</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="receive" c:identifier="gcr_secret_exchange_receive">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="372">Receive a string from the other side of secret exchange. This string will
have been created by [method@SecretExchange.begin] or
[method@SecretExchange.send].

After this call completes successfully the value returned from
gcr_secret_exchange_get_secret() will have changed.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="99"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="384">whether the string was successfully parsed and received</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="374">a #GcrSecretExchange object</doc>
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="exchange" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="375">the string received</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="send" c:identifier="gcr_secret_exchange_send">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="497">Send a reply to the other side of the secret exchange, optionally sending a
secret.

[method@SecretExchange.receive] must have been successfully called at least
once on this object. In other words this object must have received data
from the other side of the secret exchange, before we can send a secret.</doc>
        <source-position filename="gcr/gcr-secret-exchange.h" line="102"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-secret-exchange.c"
               line="510">a newly allocated string to be sent to the other
    side of the secret exchange</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="499">a #GcrSecretExchange object</doc>
            <type name="SecretExchange" c:type="GcrSecretExchange*"/>
          </instance-parameter>
          <parameter name="secret"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="500">optionally, a secret to send to the other side</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="secret_len" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-secret-exchange.c"
                 line="501">length of @secret, or -1 if null terminated</doc>
            <type name="gssize" c:type="gssize"/>
          </parameter>
        </parameters>
      </method>
      <property name="protocol"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_protocol"
                default-value="sx-aes-1">
        <doc xml:space="preserve"
             filename="gcr/gcr-secret-exchange.c"
             line="820">The protocol being used for the exchange.

Will be %NULL if no protocol was specified when creating this object,
and either [method@SecretExchange.begin] or [method@SecretExchange.receive]
have not been called successfully.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="SecretExchangePrivate" c:type="GcrSecretExchangePrivate*"/>
      </field>
    </class>
    <record name="SecretExchangeClass"
            c:type="GcrSecretExchangeClass"
            glib:is-gtype-struct-for="SecretExchange">
      <source-position filename="gcr/gcr-secret-exchange.h" line="87"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="generate_exchange_key">
        <callback name="generate_exchange_key">
          <source-position filename="gcr/gcr-secret-exchange.h" line="59"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="exchange" transfer-ownership="none">
              <type name="SecretExchange" c:type="GcrSecretExchange*"/>
            </parameter>
            <parameter name="scheme" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="public_key" transfer-ownership="none">
              <type name="guint8" c:type="guchar**"/>
            </parameter>
            <parameter name="n_public_key" transfer-ownership="none">
              <type name="gsize" c:type="gsize*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="derive_transport_key">
        <callback name="derive_transport_key">
          <source-position filename="gcr/gcr-secret-exchange.h" line="64"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="exchange" transfer-ownership="none">
              <type name="SecretExchange" c:type="GcrSecretExchange*"/>
            </parameter>
            <parameter name="peer" transfer-ownership="none">
              <type name="guint8" c:type="const guchar*"/>
            </parameter>
            <parameter name="n_peer" transfer-ownership="none">
              <type name="gsize" c:type="gsize"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="encrypt_transport_data" introspectable="0">
        <callback name="encrypt_transport_data" introspectable="0">
          <source-position filename="gcr/gcr-secret-exchange.h" line="68"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="exchange" transfer-ownership="none">
              <type name="SecretExchange" c:type="GcrSecretExchange*"/>
            </parameter>
            <parameter name="allocator" transfer-ownership="none">
              <type name="Gck.Allocator" c:type="GckAllocator"/>
            </parameter>
            <parameter name="plain_text" transfer-ownership="none">
              <type name="guint8" c:type="const guchar*"/>
            </parameter>
            <parameter name="n_plain_text" transfer-ownership="none">
              <type name="gsize" c:type="gsize"/>
            </parameter>
            <parameter name="parameter" transfer-ownership="none">
              <type name="guint8" c:type="guchar**"/>
            </parameter>
            <parameter name="n_parameter" transfer-ownership="none">
              <type name="gsize" c:type="gsize*"/>
            </parameter>
            <parameter name="cipher_text" transfer-ownership="none">
              <type name="guint8" c:type="guchar**"/>
            </parameter>
            <parameter name="n_cipher_text" transfer-ownership="none">
              <type name="gsize" c:type="gsize*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="decrypt_transport_data" introspectable="0">
        <callback name="decrypt_transport_data" introspectable="0">
          <source-position filename="gcr/gcr-secret-exchange.h" line="77"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="exchange" transfer-ownership="none">
              <type name="SecretExchange" c:type="GcrSecretExchange*"/>
            </parameter>
            <parameter name="allocator" transfer-ownership="none">
              <type name="Gck.Allocator" c:type="GckAllocator"/>
            </parameter>
            <parameter name="cipher_text" transfer-ownership="none">
              <type name="guint8" c:type="const guchar*"/>
            </parameter>
            <parameter name="n_cipher_text" transfer-ownership="none">
              <type name="gsize" c:type="gsize"/>
            </parameter>
            <parameter name="parameter" transfer-ownership="none">
              <type name="guint8" c:type="const guchar*"/>
            </parameter>
            <parameter name="n_parameter" transfer-ownership="none">
              <type name="gsize" c:type="gsize"/>
            </parameter>
            <parameter name="plain_text" transfer-ownership="none">
              <type name="guint8" c:type="guchar**"/>
            </parameter>
            <parameter name="n_plain_text" transfer-ownership="none">
              <type name="gsize" c:type="gsize*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="dummy" readable="0" private="1">
        <array zero-terminated="0" fixed-size="6">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <record name="SecretExchangePrivate"
            c:type="GcrSecretExchangePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-secret-exchange.h" line="46"/>
    </record>
    <class name="SimpleCertificate"
           c:symbol-prefix="simple_certificate"
           c:type="GcrSimpleCertificate"
           parent="GObject.Object"
           glib:type-name="GcrSimpleCertificate"
           glib:get-type="gcr_simple_certificate_get_type"
           glib:type-struct="SimpleCertificateClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-simple-certificate.c"
           line="28">An implementation of [iface@Certificate] which loads a certificate from DER
data already located in memory.

To create an object, use the [ctor@SimpleCertificate.new] or
[ctor@SimpleCertificate.new_static] functions.</doc>
      <source-position filename="gcr/gcr-simple-certificate.h" line="53"/>
      <implements name="Certificate"/>
      <constructor name="new" c:identifier="gcr_simple_certificate_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-simple-certificate.c"
             line="106">Create a new #GcrSimpleCertificate for the raw DER data. The @data memory is
copied so you can dispose of it after this function returns.</doc>
        <source-position filename="gcr/gcr-simple-certificate.h" line="57"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-simple-certificate.c"
               line="114">a new #GcrSimpleCertificate</doc>
          <type name="SimpleCertificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-simple-certificate.c"
                 line="108">the raw DER certificate data</doc>
            <array length="1" zero-terminated="0" c:type="const guchar*">
              <type name="guint8" c:type="guchar"/>
            </array>
          </parameter>
          <parameter name="n_data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-simple-certificate.c"
                 line="109">The length of @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_static"
                   c:identifier="gcr_simple_certificate_new_static"
                   introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-simple-certificate.c"
             line="130">Create a new #GcrSimpleCertificate for the raw DER data. The @data memory is
not copied and must persist until the #GcrSimpleCertificate object is
destroyed.</doc>
        <source-position filename="gcr/gcr-simple-certificate.h" line="60"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-simple-certificate.c"
               line="139">a new #GcrSimpleCertificate</doc>
          <type name="SimpleCertificate" c:type="GcrCertificate*"/>
        </return-value>
        <parameters>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-simple-certificate.c"
                 line="132">The raw DER certificate data</doc>
            <array length="1" zero-terminated="0" c:type="const guchar*">
              <type name="guint8" c:type="guchar"/>
            </array>
          </parameter>
          <parameter name="n_data" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-simple-certificate.c"
                 line="133">The length of @data</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </constructor>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="SimpleCertificatePrivate"
              c:type="GcrSimpleCertificatePrivate*"/>
      </field>
    </class>
    <record name="SimpleCertificateClass"
            c:type="GcrSimpleCertificateClass"
            glib:is-gtype-struct-for="SimpleCertificate">
      <source-position filename="gcr/gcr-simple-certificate.h" line="53"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="SimpleCertificatePrivate"
            c:type="GcrSimpleCertificatePrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-simple-certificate.h" line="42"/>
    </record>
    <class name="SshAskpass"
           c:symbol-prefix="ssh_askpass"
           c:type="GcrSshAskpass"
           parent="GObject.Object"
           glib:type-name="GcrSshAskpass"
           glib:get-type="gcr_ssh_askpass_get_type"
           glib:type-struct="SshAskpassClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-ssh-askpass.c"
           line="39">When used as the setup function while spawning an ssh command like ssh-add
or ssh, this allows callbacks for passwords on the provided interaction.</doc>
      <source-position filename="gcr/gcr-ssh-askpass.h" line="34"/>
      <constructor name="new" c:identifier="gcr_ssh_askpass_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-ssh-askpass.c"
             line="348">Create a new GcrSshAskpass object which can be used to spawn an
ssh command and prompt for any necessary passwords.

Use the gcr_ssh_askpass_child_setup() function as a callback with
g_spawn_sync(), g_spawn_async() or g_spawn_async_with_pipes().</doc>
        <source-position filename="gcr/gcr-ssh-askpass.h" line="38"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-ssh-askpass.c"
               line="358">A new #GcrSshAskpass object</doc>
          <type name="SshAskpass" c:type="GcrSshAskpass*"/>
        </return-value>
        <parameters>
          <parameter name="interaction" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-ssh-askpass.c"
                 line="350">the interaction to use for prompting paswords</doc>
            <type name="Gio.TlsInteraction" c:type="GTlsInteraction*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="child_setup" c:identifier="gcr_ssh_askpass_child_setup">
        <doc xml:space="preserve"
             filename="gcr/gcr-ssh-askpass.c"
             line="384">Use this function as a callback setup function passed to g_spawn_sync(),
g_spawn_async(), g_spawn_async_with_pipes().</doc>
        <source-position filename="gcr/gcr-ssh-askpass.h" line="42"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="askpass"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-ssh-askpass.c"
                 line="386">a #GcrSshAskpass object</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_interaction"
              c:identifier="gcr_ssh_askpass_get_interaction"
              glib:get-property="interaction">
        <doc xml:space="preserve"
             filename="gcr/gcr-ssh-askpass.c"
             line="369">Get the interaction associated with this object.</doc>
        <source-position filename="gcr/gcr-ssh-askpass.h" line="40"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-ssh-askpass.c"
               line="375">the interaction</doc>
          <type name="Gio.TlsInteraction" c:type="GTlsInteraction*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-ssh-askpass.c"
                 line="371">a #GcrSshAskpass object</doc>
            <type name="SshAskpass" c:type="GcrSshAskpass*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="interaction"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_interaction">
        <doc xml:space="preserve"
             filename="gcr/gcr-ssh-askpass.c"
             line="421">The interaction used to prompt for passwords.</doc>
        <type name="Gio.TlsInteraction"/>
      </property>
    </class>
    <record name="SshAskpassClass"
            c:type="GcrSshAskpassClass"
            glib:is-gtype-struct-for="SshAskpass">
      <source-position filename="gcr/gcr-ssh-askpass.h" line="34"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="SubjectPublicKeyInfo"
            c:type="GcrSubjectPublicKeyInfo"
            opaque="1"
            glib:type-name="GcrSubjectPublicKeyInfo"
            glib:get-type="gcr_subject_public_key_info_get_type"
            c:symbol-prefix="subject_public_key_info">
      <source-position filename="gcr/gcr-subject-public-key-info.h" line="33"/>
      <method name="copy" c:identifier="gcr_subject_public_key_info_copy">
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="50"/>
        <return-value transfer-ownership="full">
          <type name="SubjectPublicKeyInfo" c:type="GcrSubjectPublicKeyInfo*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gcr_subject_public_key_info_free">
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="52"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_algorithm_description"
              c:identifier="gcr_subject_public_key_info_get_algorithm_description">
        <doc xml:space="preserve"
             filename="gcr/gcr-subject-public-key-info.c"
             line="83">Returns a user-facing description of the algorithm used by the public key.</doc>
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="43"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_algorithm_oid"
              c:identifier="gcr_subject_public_key_info_get_algorithm_oid">
        <doc xml:space="preserve"
             filename="gcr/gcr-subject-public-key-info.c"
             line="70">Returns the OID of the algorithm used by the public key.</doc>
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="41"/>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_algorithm_parameters_raw"
              c:identifier="gcr_subject_public_key_info_get_algorithm_parameters_raw">
        <doc xml:space="preserve"
             filename="gcr/gcr-subject-public-key-info.c"
             line="96">Returns the raw bytes describing the parameters for the public key's
algorithm. Their meaning is algorithm-specific</doc>
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="45"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-subject-public-key-info.c"
               line="102">The raw bytes describing the algorithm's parameters</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_key"
              c:identifier="gcr_subject_public_key_info_get_key">
        <doc xml:space="preserve"
             filename="gcr/gcr-subject-public-key-info.c"
             line="112">Returns the public key.</doc>
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="39"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-subject-public-key-info.c"
               line="117">The raw data of the public key</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_key_size"
              c:identifier="gcr_subject_public_key_info_get_key_size">
        <doc xml:space="preserve"
             filename="gcr/gcr-subject-public-key-info.c"
             line="127">Returns the size of the public key.</doc>
        <source-position filename="gcr/gcr-subject-public-key-info.h"
                         line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-subject-public-key-info.c"
               line="132">The key size</doc>
          <type name="guint" c:type="unsigned int"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SubjectPublicKeyInfo"
                  c:type="GcrSubjectPublicKeyInfo*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <class name="SystemPrompt"
           c:symbol-prefix="system_prompt"
           c:type="GcrSystemPrompt"
           parent="GObject.Object"
           glib:type-name="GcrSystemPrompt"
           glib:get-type="gcr_system_prompt_get_type"
           glib:type-struct="SystemPromptClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-system-prompt.c"
           line="37">A [iface@Prompt] implementation which calls to the system prompter to
display prompts in a system modal fashion.

Since the system prompter usually only displays one prompt at a time, you
may have to wait for the prompt to be displayed. Use [func@SystemPrompt.open]
or a related function to open a prompt. Since this can take a long time, you
should always check that the prompt is still needed after it is opened. A
previous prompt may have already provided the information needed and you
may no longer need to prompt.

Use [method@SystemPrompt.close] to close the prompt when you're done with it.</doc>
      <source-position filename="gcr/gcr-system-prompt.h" line="64"/>
      <implements name="Prompt"/>
      <implements name="Gio.AsyncInitable"/>
      <implements name="Gio.Initable"/>
      <function name="error_get_domain"
                c:identifier="gcr_system_prompt_error_get_domain">
        <source-position filename="gcr/gcr-system-prompt.h" line="42"/>
        <return-value transfer-ownership="none">
          <type name="GLib.Quark" c:type="GQuark"/>
        </return-value>
      </function>
      <function name="open"
                c:identifier="gcr_system_prompt_open"
                throws="1"
                glib:async-func="open_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1440">Opens a system prompt with the default prompter.

Most system prompters only allow showing one prompt at a time, and if
another prompt is shown then this method will block for up to
@timeout_seconds seconds. If @timeout_seconds is equal to -1, then this
will block indefinitely until the prompt can be opened. If @timeout_seconds
expires, then this function will fail with a %GCR_SYSTEM_PROMPT_IN_PROGRESS
error.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="90"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="1455">the prompt, or %NULL if
         prompt could not be opened</doc>
          <type name="SystemPrompt" c:type="GcrPrompt*"/>
        </return-value>
        <parameters>
          <parameter name="timeout_seconds" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1442">the number of seconds to wait to access the prompt, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1443">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </function>
      <function name="open_async"
                c:identifier="gcr_system_prompt_open_async"
                glib:finish-func="open_finish"
                glib:sync-func="open">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1334">Asynchronously open a system prompt with the default system prompter.

Most system prompters only allow showing one prompt at a time, and if
another prompt is shown then this method will block for up to
@timeout_seconds seconds. If @timeout_seconds is equal to -1, then this
will block indefinitely until the prompt can be opened. If @timeout_seconds
expires, then this operation will fail with a %GCR_SYSTEM_PROMPT_IN_PROGRESS
error.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="70"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="timeout_seconds" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1336">the number of seconds to wait to access the prompt, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1337">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1338">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1339">data to pass the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="open_finish"
                c:identifier="gcr_system_prompt_open_finish"
                throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1407">Complete an operation to asynchronously open a system prompt.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="82"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="1414">the prompt, or %NULL if
         prompt could not be opened</doc>
          <type name="SystemPrompt" c:type="GcrPrompt*"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1409">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </function>
      <function name="open_for_prompter"
                c:identifier="gcr_system_prompt_open_for_prompter"
                throws="1"
                glib:async-func="open_for_prompter_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1471">Opens a system prompt. If prompter_name is %NULL, then the default
system prompter is used.

Most system prompters only allow showing one prompt at a time, and if
another prompt is shown then this method will block for up to
@timeout_seconds seconds. If @timeout_seconds is equal to -1, then this
will block indefinitely until the prompt can be opened. If @timeout_seconds
expires, then this function will fail with a %GCR_SYSTEM_PROMPT_IN_PROGRESS
error.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="85"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="1488">the prompt, or %NULL if
         prompt could not be opened</doc>
          <type name="SystemPrompt" c:type="GcrPrompt*"/>
        </return-value>
        <parameters>
          <parameter name="prompter_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1473">the prompter dbus name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timeout_seconds" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1474">the number of seconds to wait to access the prompt, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1475">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </function>
      <function name="open_for_prompter_async"
                c:identifier="gcr_system_prompt_open_for_prompter_async"
                glib:finish-func="open_finish"
                glib:sync-func="open_for_prompter">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1364">Opens a system prompt asynchronously. If prompter_name is %NULL, then the
default system prompter is used.

Most system prompters only allow showing one prompt at a time, and if
another prompt is shown then this method will block for up to
@timeout_seconds seconds. If @timeout_seconds is equal to -1, then this
will block indefinitely until the prompt can be opened. If @timeout_seconds
expires, then this operation will fail with a %GCR_SYSTEM_PROMPT_IN_PROGRESS
error.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="75"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="prompter_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1366">the prompter D-Bus name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timeout_seconds" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1367">the number of seconds to wait to access the prompt, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1368">optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1369">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1370">data to pass the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <method name="close"
              c:identifier="gcr_system_prompt_close"
              throws="1"
              glib:async-func="close_async">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1512">Close this prompt. After calling this function, no further prompts will
succeed on this object. The prompt object is not unreferenced by this
function, and you must unreference it once done.

This call may block, use the gcr_system_prompt_close_async() to perform
this action indefinitely.

Whether or not this function returns %TRUE, the system prompt object is
still closed and may not be further used.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="1528">whether close was cleanly completed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1514">the prompt</doc>
            <type name="SystemPrompt" c:type="GcrSystemPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1515">an optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="close_async"
              c:identifier="gcr_system_prompt_close_async"
              glib:finish-func="close_finish"
              glib:sync-func="close">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1554">Close this prompt asynchronously. After calling this function, no further
methods may be called on this object. The prompt object is not unreferenced
by this function, and you must unreference it once done.

This call returns immediately and completes asynchronously.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="98"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1556">the prompt</doc>
            <type name="SystemPrompt" c:type="GcrSystemPrompt*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1557">an optional cancellation object</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1558">called when the operation completes</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1559">data to pass to the callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="close_finish"
              c:identifier="gcr_system_prompt_close_finish"
              throws="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="1592">Complete operation to close this prompt.

Whether or not this function returns %TRUE, the system prompt object is
still closed and may not be further used.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="103"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="1603">whether close was cleanly completed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1594">the prompt</doc>
            <type name="SystemPrompt" c:type="GcrSystemPrompt*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="1595">asynchronous operation result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_secret_exchange"
              c:identifier="gcr_system_prompt_get_secret_exchange"
              glib:get-property="secret-exchange">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="586">Get the current [class@SecretExchange] used to transfer secrets in this prompt.</doc>
        <source-position filename="gcr/gcr-system-prompt.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompt.c"
               line="592">the secret exchange</doc>
          <type name="SecretExchange" c:type="GcrSecretExchange*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompt.c"
                 line="588">a prompter</doc>
            <type name="SystemPrompt" c:type="GcrSystemPrompt*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="bus-name"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="541">The DBus bus name of the prompter to use for prompting, or %NULL
for the default prompter.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="secret-exchange"
                writable="1"
                transfer-ownership="none"
                getter="get_secret_exchange">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="562">The #GcrSecretExchange to use when transferring passwords. A default
secret exchange will be used if this is not set.</doc>
        <type name="SecretExchange"/>
      </property>
      <property name="timeout-seconds"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="-1">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="552">The timeout in seconds to wait when opening the prompt.</doc>
        <type name="gint" c:type="gint"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="SystemPromptPrivate" c:type="GcrSystemPromptPrivate*"/>
      </field>
    </class>
    <record name="SystemPromptClass"
            c:type="GcrSystemPromptClass"
            glib:is-gtype-struct-for="SystemPrompt">
      <source-position filename="gcr/gcr-system-prompt.h" line="64"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="SystemPromptError" c:type="GcrSystemPromptError">
      <doc xml:space="preserve"
           filename="gcr/gcr-system-prompt.c"
           line="59">No error returned by the #GcrSystemPrompt is suitable for display or
to the user.

If the system prompter can only show one prompt at a time, and there is
already a prompt being displayed, and the timeout waiting to open the
prompt expires, then %GCR_SYSTEM_PROMPT_IN_PROGRESS is returned.</doc>
      <source-position filename="gcr/gcr-system-prompt.h" line="38"/>
      <member name="system_prompt_in_progress"
              value="1"
              c:identifier="GCR_SYSTEM_PROMPT_IN_PROGRESS">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompt.c"
             line="61">another prompt is already in progress</doc>
      </member>
    </enumeration>
    <record name="SystemPromptPrivate"
            c:type="GcrSystemPromptPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-system-prompt.h" line="53"/>
    </record>
    <class name="SystemPrompter"
           c:symbol-prefix="system_prompter"
           c:type="GcrSystemPrompter"
           parent="GObject.Object"
           glib:type-name="GcrSystemPrompter"
           glib:get-type="gcr_system_prompter_get_type"
           glib:type-struct="SystemPrompterClass">
      <doc xml:space="preserve"
           filename="gcr/gcr-system-prompter.c"
           line="40">A prompter used by implementations of system prompts.

This is a D-Bus service which is rarely implemented. Use [class@SystemPrompt]
to display system prompts.

The system prompter service responds to D-Bus requests to create system
prompts and creates #GcrPrompt type objects to display those prompts.

Pass the GType of the implementation of [iface@Prompt] to
[ctor@SystemPrompter.new].</doc>
      <source-position filename="gcr/gcr-system-prompter.h" line="69"/>
      <constructor name="new" c:identifier="gcr_system_prompter_new">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1079">Create a new system prompter service. This prompter won't do anything unless
you connect to its signals and show appropriate prompts.

If @prompt_type is zero, then the new-prompt signal must be handled and
return a valid prompt object implementing the #GcrPrompt interface.

If @prompt_type is non-zero then the #GType must implement the #GcrPrompt
interface.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="73"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompter.c"
               line="1093">a new prompter service</doc>
          <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
        </return-value>
        <parameters>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1081">the mode for the prompt</doc>
            <type name="SystemPrompterMode" c:type="GcrSystemPrompterMode"/>
          </parameter>
          <parameter name="prompt_type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1082">the gobject type for prompts created by this prompter</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="new_prompt" introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="58">default handler for the #GcrSystemPrompter::new-prompt signal</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="65"/>
        <return-value>
          <type name="Prompt" c:type="GcrPrompt*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="get_mode" c:identifier="gcr_system_prompter_get_mode">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1112">Get the mode for this prompter.

Most system prompters only display one prompt at a time and therefore
return %GCR_SYSTEM_PROMPTER_SINGLE.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompter.c"
               line="1121">the prompter mode</doc>
          <type name="SystemPrompterMode" c:type="GcrSystemPrompterMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1114">the prompter</doc>
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_prompt_type"
              c:identifier="gcr_system_prompter_get_prompt_type"
              glib:get-property="prompt-type">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1130">Get the #GType for prompts created by this prompter.

The returned #GType will be a #GcrPrompt implementation.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompter.c"
               line="1138">the prompt #GType</doc>
          <type name="GType" c:type="GType"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1132">the prompter</doc>
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_prompting"
              c:identifier="gcr_system_prompter_get_prompting"
              glib:get-property="prompting">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1147">Get whether prompting or not.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompter.c"
               line="1153">whether prompting or not</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1149">the prompter</doc>
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="register" c:identifier="gcr_system_prompter_register">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1002">Register this system prompter on the DBus @connection.

This makes the prompter available for clients to call. The prompter will
remain registered until gcr_system_prompter_unregister() is called, or the
prompter is unreferenced.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="82"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1004">the system prompter</doc>
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
          <parameter name="connection" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1005">a DBus connection</doc>
            <type name="Gio.DBusConnection" c:type="GDBusConnection*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister" c:identifier="gcr_system_prompter_unregister">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="1039">Unregister this system prompter on the DBus @connection.

The prompter must have previously been registered with gcr_system_prompter_register().

If @wait is set then this function will wait until all prompts have been closed
or cancelled. This is usually only used by tests.</doc>
        <source-position filename="gcr/gcr-system-prompter.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1041">the system prompter</doc>
            <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
          </instance-parameter>
          <parameter name="wait" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="gcr/gcr-system-prompter.c"
                 line="1042">whether to wait for closing prompts</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <property name="mode"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="GCR_SYSTEM_PROMPTER_SINGLE">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="374">The mode for this prompter.

Most system prompters only display one prompt at a time and therefore
return %GCR_SYSTEM_PROMPTER_SINGLE.</doc>
        <type/>
      </property>
      <property name="prompt-type"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_prompt_type">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="387">The #GType for prompts created by this prompter. This must be a
#GcrPrompt implementation.</doc>
        <type name="GType" c:type="GType"/>
      </property>
      <property name="prompting"
                transfer-ownership="none"
                getter="get_prompting"
                default-value="FALSE">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="398">Whether the prompter is prompting or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="pv" readable="0" private="1">
        <type name="SystemPrompterPrivate" c:type="GcrSystemPrompterPrivate*"/>
      </field>
      <glib:signal name="new-prompt" when="last">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="407">Signal emitted to create a new prompt when needed.

The default implementation of this signal creates a prompt of the type
gcr_system_prompter_get_prompt_type().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-system-prompter.c"
               line="415">the new prompt</doc>
          <type name="Prompt"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="SystemPrompterClass"
            c:type="GcrSystemPrompterClass"
            glib:is-gtype-struct-for="SystemPrompter">
      <doc xml:space="preserve"
           filename="gcr/gcr-system-prompter.c"
           line="55">The class for #GcrSystemPrompter.</doc>
      <source-position filename="gcr/gcr-system-prompter.h" line="69"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="57">parent class</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="new_prompt" introspectable="0">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="58">default handler for the #GcrSystemPrompter::new-prompt signal</doc>
        <callback name="new_prompt" introspectable="0">
          <source-position filename="gcr/gcr-system-prompter.h" line="65"/>
          <return-value>
            <type name="Prompt" c:type="GcrPrompt*"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="SystemPrompter" c:type="GcrSystemPrompter*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding" readable="0" private="1">
        <array zero-terminated="0" fixed-size="7">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <enumeration name="SystemPrompterMode" c:type="GcrSystemPrompterMode">
      <doc xml:space="preserve"
           filename="gcr/gcr-system-prompter.c"
           line="63">The mode for the system prompter. Most system prompters can only show
one prompt at a time and would use the %GCR_SYSTEM_PROMPTER_SINGLE mode.</doc>
      <source-position filename="gcr/gcr-system-prompter.h" line="40"/>
      <member name="single"
              value="0"
              c:identifier="GCR_SYSTEM_PROMPTER_SINGLE">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="65">only one prompt shown at a time</doc>
      </member>
      <member name="multiple"
              value="1"
              c:identifier="GCR_SYSTEM_PROMPTER_MULTIPLE">
        <doc xml:space="preserve"
             filename="gcr/gcr-system-prompter.c"
             line="66">more than one prompt shown at a time</doc>
      </member>
    </enumeration>
    <record name="SystemPrompterPrivate"
            c:type="GcrSystemPrompterPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="gcr/gcr-system-prompter.h" line="51"/>
    </record>
    <constant name="UNLOCK_OPTION_ALWAYS"
              value="always"
              c:type="GCR_UNLOCK_OPTION_ALWAYS">
      <source-position filename="gcr/gcr-unlock-options.h" line="23"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="UNLOCK_OPTION_IDLE"
              value="idle"
              c:type="GCR_UNLOCK_OPTION_IDLE">
      <source-position filename="gcr/gcr-unlock-options.h" line="26"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="UNLOCK_OPTION_SESSION"
              value="session"
              c:type="GCR_UNLOCK_OPTION_SESSION">
      <source-position filename="gcr/gcr-unlock-options.h" line="24"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="UNLOCK_OPTION_TIMEOUT"
              value="timeout"
              c:type="GCR_UNLOCK_OPTION_TIMEOUT">
      <source-position filename="gcr/gcr-unlock-options.h" line="25"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function name="certificate_mixin_class_init"
              c:identifier="gcr_certificate_mixin_class_init"
              moved-to="Certificate.mixin_class_init"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate.c"
           line="1532">Initialize the certificate mixin for the class. This mixin implements the
various required properties for the certificate.

Call this function near the end of your derived class_init function. The
derived class must implement the #GcrCertificate interface.</doc>
      <source-position filename="gcr/gcr-certificate.h" line="138"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="object_class" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1534">The GObjectClass for this class</doc>
          <type name="GObject.ObjectClass" c:type="GObjectClass*"/>
        </parameter>
      </parameters>
    </function>
    <function name="certificate_mixin_get_property"
              c:identifier="gcr_certificate_mixin_get_property"
              moved-to="Certificate.mixin_get_property"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-certificate.c"
           line="1559">Implementation to get various required certificate properties. This should
be called from your derived class get_property function, or used as a
get_property virtual function.

Example of use as called from derived class get_property function:

&lt;informalexample&gt;&lt;programlisting&gt;
static void
my_get_property (GObject *obj, guint prop_id, GValue *value, GParamSpec *pspec)
{
	switch (prop_id) {

	...

	default:
		gcr_certificate_mixin_get_property (obj, prop_id, value, pspec);
		break;
	}
}
&lt;/programlisting&gt;&lt;/informalexample&gt;

Example of use as get_property function:

&lt;informalexample&gt;&lt;programlisting&gt;
static void
my_class_init (MyClass *klass)
{
	GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
	gobject_class-&gt;get_property = gcr_certificate_mixin_get_property;

	...
}
&lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
      <source-position filename="gcr/gcr-certificate.h" line="140"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="obj" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1561">The object</doc>
          <type name="GObject.Object" c:type="GObject*"/>
        </parameter>
        <parameter name="prop_id" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1562">The property id</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1563">The value to fill in.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
        <parameter name="pspec" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-certificate.c"
               line="1564">The param specification.</doc>
          <type name="GObject.ParamSpec" c:type="GParamSpec*"/>
        </parameter>
      </parameters>
    </function>
    <function name="data_error_get_domain"
              c:identifier="gcr_data_error_get_domain">
      <source-position filename="gcr/gcr-types.h" line="50"/>
      <return-value transfer-ownership="none">
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="fingerprint_from_attributes"
              c:identifier="gcr_fingerprint_from_attributes">
      <doc xml:space="preserve"
           filename="gcr/gcr-fingerprint.c"
           line="78">Create a key fingerprint for a certificate, public key or private key.
Note that this is not a fingerprint of certificate data, which you would
use gcr_certificate_get_fingerprint() for.</doc>
      <source-position filename="gcr/gcr-fingerprint.h" line="39"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-fingerprint.c"
             line="88">the
         fingerprint or %NULL if the input was invalid.</doc>
        <array length="2" zero-terminated="0" c:type="guchar*">
          <type name="guint8" c:type="guchar"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="attrs" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="80">attributes for key or certificate</doc>
          <type name="Gck.Attributes" c:type="GckAttributes*"/>
        </parameter>
        <parameter name="checksum_type" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="81">the type of fingerprint to create</doc>
          <type name="GLib.ChecksumType" c:type="GChecksumType"/>
        </parameter>
        <parameter name="n_fingerprint"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="82">the length of fingerprint returned</doc>
          <type name="gsize" c:type="gsize*"/>
        </parameter>
      </parameters>
    </function>
    <function name="fingerprint_from_subject_public_key_info"
              c:identifier="gcr_fingerprint_from_subject_public_key_info">
      <doc xml:space="preserve"
           filename="gcr/gcr-fingerprint.c"
           line="34">Create a key fingerprint for a DER encoded subjectPublicKeyInfo. The
fingerprint is created so that it will be identical for a key and its
corresponding certificate.

Note that in the case of certificates this is not a fingerprint of the
actual certificate data, but rather of the public key contained in a
certificate.</doc>
      <source-position filename="gcr/gcr-fingerprint.h" line="34"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-fingerprint.c"
             line="49">the
         fingerprint or %NULL if the input was invalid.</doc>
        <array length="3" zero-terminated="0" c:type="guchar*">
          <type name="guint8" c:type="guchar"/>
        </array>
      </return-value>
      <parameters>
        <parameter name="key_info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="36">DER encoded subjectPublicKeyInfo structure</doc>
          <array length="1" zero-terminated="0" c:type="const guchar*">
            <type name="guint8" c:type="guchar"/>
          </array>
        </parameter>
        <parameter name="n_key_info" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="37">length of DER encoded structure</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="checksum_type" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="38">the type of fingerprint to create</doc>
          <type name="GLib.ChecksumType" c:type="GChecksumType"/>
        </parameter>
        <parameter name="n_fingerprint"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-fingerprint.c"
               line="39">the length of fingerprint returned</doc>
          <type name="gsize" c:type="gsize*"/>
        </parameter>
      </parameters>
    </function>
    <function name="importer_create_for_parsed"
              c:identifier="gcr_importer_create_for_parsed"
              moved-to="Importer.create_for_parsed">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="168">Create a set of importers which can import this parsed item.

The parsed item is represented by the state of the [class@Gcr.Parser] at the
time of calling this method.</doc>
      <source-position filename="gcr/gcr-importer.h" line="61"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="177">a list of importers
         which can import the parsed item, which should be freed with
         g_object_unref(), or %NULL if no types of importers can be created</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Importer"/>
        </type>
      </return-value>
      <parameters>
        <parameter name="parsed" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="170">a parser with a parsed item to import</doc>
          <type name="Parsed" c:type="GcrParsed*"/>
        </parameter>
      </parameters>
    </function>
    <function name="importer_queue_and_filter_for_parsed"
              c:identifier="gcr_importer_queue_and_filter_for_parsed"
              moved-to="Importer.queue_and_filter_for_parsed">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="286">Queues an additional item to be imported in all compattible importers
in the set. The parsed item is represented by the state of the #GcrParser
at the time of calling this method.

If the parsed item is incompatible with an importer, then that the item
will not be queued on that importer.</doc>
      <source-position filename="gcr/gcr-importer.h" line="66"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gcr/gcr-importer.c"
             line="298">a new set of importers
         that queued the item.</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Importer"/>
        </type>
      </return-value>
      <parameters>
        <parameter name="importers" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="288">a set of importers</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Importer"/>
          </type>
        </parameter>
        <parameter name="parsed" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="289">a parsed item</doc>
          <type name="Parsed" c:type="GcrParsed*"/>
        </parameter>
      </parameters>
    </function>
    <function name="importer_register"
              c:identifier="gcr_importer_register"
              moved-to="Importer.register">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="117">Register an importer to handle parsed items that match the given attributes.</doc>
      <source-position filename="gcr/gcr-importer.h" line="83"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="importer_type" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="119">the GType of the importer being registered</doc>
          <type name="GType" c:type="GType"/>
        </parameter>
        <parameter name="attrs" transfer-ownership="full">
          <doc xml:space="preserve"
               filename="gcr/gcr-importer.c"
               line="120">the attributes that this importer is compatible with</doc>
          <type name="Gck.Attributes" c:type="GckAttributes*"/>
        </parameter>
      </parameters>
    </function>
    <function name="importer_register_well_known"
              c:identifier="gcr_importer_register_well_known"
              moved-to="Importer.register_well_known">
      <doc xml:space="preserve"
           filename="gcr/gcr-importer.c"
           line="412">Register built-in PKCS#11 and GnuPG importers.</doc>
      <source-position filename="gcr/gcr-importer.h" line="86"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="mock_prompter_disconnect"
              c:identifier="gcr_mock_prompter_disconnect">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="1035">Disconnect the mock prompter</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="37"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="mock_prompter_expect_close"
              c:identifier="gcr_mock_prompter_expect_close">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="810">Queue an expected response on the mock prompter.

Expects any prompt, and closes the prompt when it gets it.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="58"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="mock_prompter_expect_confirm_cancel"
              c:identifier="gcr_mock_prompter_expect_confirm_cancel">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="710">Queue an expected response on the mock prompter.

Expects a confirmation prompt, and then cancels that prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="50"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="mock_prompter_expect_confirm_ok"
              c:identifier="gcr_mock_prompter_expect_confirm_ok"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="664">Queue an expected response on the mock prompter.

Expects a confirmation prompt, and then confirms that prompt by
simulating a click on the ok button.

Additional property pairs for the prompt can be added in the argument
list, in the same way that you would with g_object_new().

If the "choice-chosen" property is specified then that value will be
set on the prompt as if the user had changed the value.

All other properties will be checked against the prompt, and an error
will occur if they do not match the value set on the prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="47"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="first_property_name" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="666">the first property name in the argument list or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="667">properties to expect</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="mock_prompter_expect_password_cancel"
              c:identifier="gcr_mock_prompter_expect_password_cancel">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="785">Queue an expected response on the mock prompter.

Expects a password prompt, and then cancels that prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="56"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="mock_prompter_expect_password_ok"
              c:identifier="gcr_mock_prompter_expect_password_ok"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="735">Queue an expected response on the mock prompter.

Expects a password prompt, and returns @password as if the user had entered
it and clicked the ok button.

Additional property pairs for the prompt can be added in the argument
list, in the same way that you would with g_object_new().

If the "choice-chosen" property is specified then that value will be
set on the prompt as if the user had changed the value.

All other properties will be checked against the prompt, and an error
will occur if they do not match the value set on the prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="52"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="password" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="737">the password to return from the prompt</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="first_property_name" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="738">the first property name in the argument list or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="..." transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="739">properties to expect</doc>
          <varargs/>
        </parameter>
      </parameters>
    </function>
    <function name="mock_prompter_get_delay_msec"
              c:identifier="gcr_mock_prompter_get_delay_msec">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="627">Get the delay in milliseconds before the mock prompter completes
an expected prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="43"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-mock-prompter.c"
             line="633">the delay</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
    </function>
    <function name="mock_prompter_is_expecting"
              c:identifier="gcr_mock_prompter_is_expecting">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="834">Check if the mock prompter is expecting a response. This will be %TRUE
when one of the &lt;literal&gt;gcr_mock_prompter_expect_xxx&lt;!-- --&gt;()&lt;/literal&gt;
functions have been used to queue an expected prompt, but that prompt
response has not be 'used' yet.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="60"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-mock-prompter.c"
             line="842">whether expecting a prompt</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="mock_prompter_is_prompting"
              c:identifier="gcr_mock_prompter_is_prompting">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="614">Check if the mock prompter is showing any prompts.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="41"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-mock-prompter.c"
             line="619">whether prompting</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="mock_prompter_set_delay_msec"
              c:identifier="gcr_mock_prompter_set_delay_msec">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="648">Set the delay in milliseconds before the mock prompter completes
an expected prompt.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="45"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="delay_msec" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-mock-prompter.c"
               line="650">prompt response delay in milliseconds</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="mock_prompter_start"
              c:identifier="gcr_mock_prompter_start">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="997">Start the mock prompter. This is often used from the
&lt;literal&gt;setup&lt;!-- --&gt;()&lt;/literal&gt; function of tests.

Starts the mock prompter in an additional thread. Use the returned DBus bus
name with gcr_system_prompt_open_for_prompter() to connect to this prompter.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="35"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-mock-prompter.c"
             line="1006">the bus name that the mock prompter is listening on</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="mock_prompter_stop" c:identifier="gcr_mock_prompter_stop">
      <doc xml:space="preserve"
           filename="gcr/gcr-mock-prompter.c"
           line="1055">Stop the mock prompter. This is often used from the
&lt;literal&gt;teardown&lt;!-- --&gt;()&lt;/literal&gt; function of tests.</doc>
      <source-position filename="gcr/gcr-mock-prompter.h" line="39"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="parsed_unref"
              c:identifier="gcr_parsed_unref"
              moved-to="Parsed.unref">
      <doc xml:space="preserve"
           filename="gcr/gcr-parser.c"
           line="2021">Unreferences a parsed item which was referenced with gcr_parsed_ref()</doc>
      <source-position filename="gcr/gcr-parser.h" line="130"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="parsed"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-parser.c"
               line="2023">a parsed item</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_add_module" c:identifier="gcr_pkcs11_add_module">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="363">Add a #GckModule to the list of PKCS#11 modules that are used by the
GCR library.

It is not normally necessary to call this function. The available
PKCS#11 modules installed on the system are automatically loaded
by the GCR library.</doc>
      <source-position filename="gcr/gcr-library.h" line="47"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="module" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="365">a #GckModule</doc>
          <type name="Gck.Module" c:type="GckModule*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_add_module_from_file"
              c:identifier="gcr_pkcs11_add_module_from_file"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="381">Initialize a PKCS#11 module and add it to the modules that are
used by the GCR library. Note that is an error to initialize the same
PKCS#11 module twice.

It is not normally necessary to call this function. The available
PKCS#11 modules installed on the system are automatically loaded
by the GCR library.</doc>
      <source-position filename="gcr/gcr-library.h" line="49"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="395">whether the module was sucessfully added.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="module_path" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="383">the full file path of the PKCS#11 module</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="unused"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="384">unused</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_get_modules" c:identifier="gcr_pkcs11_get_modules">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="318">List all the PKCS#11 modules that are used by the GCR library.
Each module is a [class@Gck.Module] object.

An empty list of modules will be returned if [func@pkcs11_set_modules],
or [func@pkcs11_initialize] has not yet run.</doc>
      <source-position filename="gcr/gcr-library.h" line="43"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="327">a newly allocated list
         of #GckModule objects</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Gck.Module"/>
        </type>
      </return-value>
    </function>
    <function name="pkcs11_get_trust_lookup_slots"
              c:identifier="gcr_pkcs11_get_trust_lookup_slots">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="466">List all the PKCS#11 slots that are used by the GCR library for lookup
of trust assertions. Each slot is a [class@Gck.Slot] object.

This will return an empty list if the [func@pkcs11_initialize] function has
not yet been called.</doc>
      <source-position filename="gcr/gcr-library.h" line="53"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="475">a list of #GckSlot
         objects to use for lookup of trust, or the empty list if not
         initialized or no appropriate trust stores could be found.</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Gck.Slot"/>
        </type>
      </return-value>
    </function>
    <function name="pkcs11_get_trust_lookup_uris"
              c:identifier="gcr_pkcs11_get_trust_lookup_uris">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="548">Get the PKCS#11 URIs that are used to identify which slots to use for
lookup trust assertions.</doc>
      <source-position filename="gcr/gcr-library.h" line="57"/>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="554">the uri which identifies trust storage slot</doc>
        <array c:type="const gchar**">
          <type name="utf8"/>
        </array>
      </return-value>
    </function>
    <function name="pkcs11_get_trust_store_slot"
              c:identifier="gcr_pkcs11_get_trust_store_slot">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="422">Selects an appropriate PKCS#11 slot to store trust assertions. The slot
to use is normally configured automatically by the system.

This will only return a valid result after the [func@pkcs11_initialize]
method has been called.

When done with the #GckSlot, use g_object_unref() to release it.</doc>
      <source-position filename="gcr/gcr-library.h" line="55"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="433">the #GckSlot to use for trust
         assertions, or null if not initialized or no appropriate
         trust store could be found.</doc>
        <type name="Gck.Slot" c:type="GckSlot*"/>
      </return-value>
    </function>
    <function name="pkcs11_get_trust_store_uri"
              c:identifier="gcr_pkcs11_get_trust_store_uri">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="510">Get the PKCS#11 URI that is used to identify which slot to use for
storing trust storage.</doc>
      <source-position filename="gcr/gcr-library.h" line="61"/>
      <return-value transfer-ownership="none" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="516">the uri which identifies trust storage slot</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="pkcs11_initialize"
              c:identifier="gcr_pkcs11_initialize"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="274">Asynchronously initialize the registered PKCS#11 modules.</doc>
      <source-position filename="gcr/gcr-library.h" line="40"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="281">whether the operation was successful or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="276">optional cancellable used to cancel the operation</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_initialize_async"
              c:identifier="gcr_pkcs11_initialize_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="222">Asynchronously initialize the registered PKCS#11 modules.</doc>
      <source-position filename="gcr/gcr-library.h" line="33"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="224">optional cancellable used to cancel the operation</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="2">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="225">callback which will be called when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="226">data passed to the callback</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_initialize_finish"
              c:identifier="gcr_pkcs11_initialize_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="255">Complete the asynchronous operation to initialize the registered PKCS#11
modules.</doc>
      <source-position filename="gcr/gcr-library.h" line="37"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-library.c"
             line="263">whether the operation was successful or not.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="257">the asynchronous result</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_set_modules" c:identifier="gcr_pkcs11_set_modules">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="340">Set the list of PKCS#11 modules that are used by the GCR library.
Each module in the list is a [class@Gck.Module] object.

It is not normally necessary to call this function. The available
PKCS#11 modules installed on the system are automatically loaded
by the GCR library.</doc>
      <source-position filename="gcr/gcr-library.h" line="45"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="modules" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="342">a list of PKCS#11 modules</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Gck.Module"/>
          </type>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_set_trust_lookup_uris"
              c:identifier="gcr_pkcs11_set_trust_lookup_uris">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="563">Set the PKCS#11 URIs that are used to identify which slots to use for
lookup of trust assertions.

It is not normally necessary to call this function. The relevant
PKCS#11 slots are automatically configured by the GCR library.</doc>
      <source-position filename="gcr/gcr-library.h" line="59"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pkcs11_uris"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="565">the uris which identifies trust lookup slots</doc>
          <type name="utf8" c:type="const gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="pkcs11_set_trust_store_uri"
              c:identifier="gcr_pkcs11_set_trust_store_uri">
      <doc xml:space="preserve"
           filename="gcr/gcr-library.c"
           line="525">Set the PKCS#11 URI that is used to identify which slot to use for
storing trust assertions.

It is not normally necessary to call this function. The relevant
PKCS#11 slot is automatically configured by the GCR library.</doc>
      <source-position filename="gcr/gcr-library.h" line="63"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pkcs11_uri"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-library.c"
               line="527">the uri which identifies trust storage slot</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_alloc"
              c:identifier="gcr_secure_memory_alloc"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="44">Allocate a block of non-pageable memory.

If non-pageable memory cannot be allocated then normal memory will be
returned.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="38"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="53">new memory block which should be freed
with gcr_secure_memory_free()</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="46">The new desired size of the memory block.</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_free"
              c:identifier="gcr_secure_memory_free"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="169">Free a block of non-pageable memory.

Glib memory is also freed correctly when passed to this function. If called
with a %NULL pointer then no action is taken.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="48"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="memory"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="171">pointer to the beginning of the block of memory to free</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_is_secure"
              c:identifier="gcr_secure_memory_is_secure"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="186">Check if a pointer is in non-pageable memory allocated by.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="50"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="192">whether the memory is secure non-pageable memory allocated by the
         Gcr library or not</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="memory"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="188">pointer to check</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function-macro name="secure_memory_new"
                    c:identifier="gcr_secure_memory_new"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="34">Allocate objects in non-pageable memory.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="35"/>
      <parameters>
        <parameter name="type">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="36">C type of the objects to allocate</doc>
        </parameter>
        <parameter name="n_objects">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="37">number of objects to allocate</doc>
        </parameter>
      </parameters>
    </function-macro>
    <function name="secure_memory_realloc"
              c:identifier="gcr_secure_memory_realloc"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="88">Reallocate a block of non-pageable memory.

Glib memory is also reallocated correctly. If called with a null pointer,
then a new block of memory is allocated. If called with a zero size,
then the block of memory is freed.

If non-pageable memory cannot be allocated then normal memory will be
returned.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="42"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="102">new block, or %NULL if the block was
freed; memory block should be freed with gcr_secure_memory_free()</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="memory"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="90">pointer to reallocate or %NULL to allocate a new block</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="91">new desired size of the memory block, or 0 to free the memory</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_strdup"
              c:identifier="gcr_secure_memory_strdup"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="201">Copy a string into non-pageable memory. If the input string is %NULL, then
%NULL will be returned.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="52"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="208">copied string, should be freed with gcr_secure_memory_free()</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="string"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="203">null terminated string to copy</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_strfree"
              c:identifier="gcr_secure_memory_strfree"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="217">Free a string, whether securely allocated using these functions or not.
This will also clear out the contents of the string so they do not
remain in memory.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="54"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="string"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="219">null terminated string to fere</doc>
          <type name="utf8" c:type="gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_try_alloc"
              c:identifier="gcr_secure_memory_try_alloc"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="71">Allocate a block of non-pageable memory.

If non-pageable memory cannot be allocated, then %NULL is returned.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="40"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="79">new block, or %NULL if memory cannot be
allocated; memory block should be freed with gcr_secure_memory_free()</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="73">new desired size of the memory block</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="secure_memory_try_realloc"
              c:identifier="gcr_secure_memory_try_realloc"
              introspectable="0">
      <doc xml:space="preserve"
           filename="gcr/gcr-secure-memory.c"
           line="129">Reallocate a block of non-pageable memory.

Glib memory is also reallocated correctly when passed to this function.
If called with a null pointer, then a new block of memory is allocated.
If called with a zero size, then the block of memory is freed.

If memory cannot be allocated, %NULL is returned and the original block
of memory remains intact.</doc>
      <source-position filename="gcr/gcr-secure-memory.h" line="45"/>
      <return-value transfer-ownership="full" nullable="1">
        <doc xml:space="preserve"
             filename="gcr/gcr-secure-memory.c"
             line="143">the new block, or %NULL if memory cannot be
allocated; the memory block should be freed with gcr_secure_memory_free()</doc>
        <type name="gpointer" c:type="gpointer"/>
      </return-value>
      <parameters>
        <parameter name="memory"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="131">pointer to reallocate or %NULL to allocate a new block</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="size" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-secure-memory.c"
               line="132">new desired size of the memory block</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_add_pinned_certificate"
              c:identifier="gcr_trust_add_pinned_certificate"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="335">Add a pinned @certificate for connections to @peer for @purpose. A pinned
certificate overrides all other certificate verification and should be
used with care.

If the same pinned certificate already exists, then this operation
does not add another, and succeeds without error.

This call may block, see [func@Gcr.trust_add_pinned_certificate_async] for
the non-blocking version.</doc>
      <source-position filename="gcr/gcr-trust.h" line="53"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="353">%TRUE if the pinned certificate is recorded successfully</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="337">a #GcrCertificate</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="338">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="339">the peer for this pinned certificate</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="340">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_add_pinned_certificate_async"
              c:identifier="gcr_trust_add_pinned_certificate_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="389">Add a pinned certificate for communication with @peer for @purpose. A pinned
certificate overrides all other certificate verification and should be used
with care.

If the same pinned certificate already exists, then this operation
does not add another, and succeeds without error.

When the operation is finished, callback will be called. You can then call
[func@Gcr.trust_add_pinned_certificate_finish] to get the result of the
operation.</doc>
      <source-position filename="gcr/gcr-trust.h" line="59"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="391">a #GcrCertificate</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="392">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="393">the peer for this pinned certificate</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="394">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="5">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="395">a #GAsyncReadyCallback to call when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="396">the data to pass to callback function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_add_pinned_certificate_finish"
              c:identifier="gcr_trust_add_pinned_certificate_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="433">Finishes an asynchronous operation started by
[func@Gcr.trust_add_pinned_certificate_async].</doc>
      <source-position filename="gcr/gcr-trust.h" line="66"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="441">%TRUE if the pinned certificate is recorded successfully</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="435">the #GAsyncResult passed to the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_anchored"
              c:identifier="gcr_trust_is_certificate_anchored"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="674">Check if the @certificate is a trust anchor for the given @purpose. A trust
anchor is used to verify the signatures on other certificates when verifying
a certificate chain. Also known as a trusted certificate authority.

This call may block, see [func@Gcr.trust_is_certificate_anchored_async] for
the non-blocking version.

In the case of an error, %FALSE is also returned. Check @error to detect
if an error occurred.</doc>
      <source-position filename="gcr/gcr-trust.h" line="85"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="691">%TRUE if the certificate is a trust anchor</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="676">a #GcrCertificate to check</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="677">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="678">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_anchored_async"
              c:identifier="gcr_trust_is_certificate_anchored_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="727">Check if the @certificate is a trust anchor for the given @purpose. A trust
anchor is used to verify the signatures on other certificates when verifying
a certificate chain. Also known as a trusted certificate authority.

When the operation is finished, callback will be called. You can then call
[func@Gcr.trust_is_certificate_anchored_finish] to get the result of the
operation.</doc>
      <source-position filename="gcr/gcr-trust.h" line="90"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="729">a #GcrCertificate to check</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="730">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="731">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="4">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="732">a #GAsyncReadyCallback to call when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="733">the data to pass to callback function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_anchored_finish"
              c:identifier="gcr_trust_is_certificate_anchored_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="766">Finishes an asynchronous operation started by
[func@Gcr.trust_is_certificate_anchored_async].

In the case of an error, %FALSE is also returned. Check @error to detect
if an error occurred.</doc>
      <source-position filename="gcr/gcr-trust.h" line="96"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="777">%TRUE if the certificate is a trust anchor</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="768">the #GAsyncResult passed to the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_distrusted"
              c:identifier="gcr_trust_is_certificate_distrusted"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="836">Checks whether the certificate that can be uniquely identified with the
given @serial_nr and @issuer is marked as distrusted (for example by the
user, or because it's part of a CRL).

Since we can't directly use [iface@Certificate] to fetch these values, you
need to call these with the raw serial number and issuer as provided by the
PKCS#11 fields `CKA_SERIAL_NR` and `CKA_ISSUER`.</doc>
      <source-position filename="gcr/gcr-trust.h" line="99"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="853">%TRUE if the certificate is marked as distrusted</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="serial_nr" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="838">The serial number of the certificate</doc>
          <array length="1" zero-terminated="0" c:type="unsigned char*">
            <type name="guint8" c:type="unsigned char"/>
          </array>
        </parameter>
        <parameter name="serial_nr_len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="839">The nr of bytes in @serial_nr</doc>
          <type name="gsize" c:type="size_t"/>
        </parameter>
        <parameter name="issuer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="840">The raw issuer</doc>
          <array length="3" zero-terminated="0" c:type="unsigned char*">
            <type name="guint8" c:type="unsigned char"/>
          </array>
        </parameter>
        <parameter name="issuer_len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="841">The nr of bytes in @issuer</doc>
          <type name="gsize" c:type="size_t"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="842">a #GCancellable or %NULL</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_distrusted_async"
              c:identifier="gcr_trust_is_certificate_distrusted_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="899">Asynchronously checks whether the certificate that can be uniquely
identified with the given @serial_nr and @issuer is marked as distrusted
(for example by the user, or because it's part of a CRL).

Since we can't directly use [iface@Certificate] to fetch these values, you
need to call these with the raw serial number and issuer as provided by the
PKCS#11 fields `CKA_SERIAL_NR` and `CKA_ISSUER`.

When the operation is finished, @callback will be called. You can then call
[func@trust_is_certificate_distrusted_finish] to get the result of the
operation.</doc>
      <source-position filename="gcr/gcr-trust.h" line="106"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="serial_nr" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="901">The serial number of the certificate</doc>
          <array length="1" zero-terminated="0" c:type="unsigned char*">
            <type name="guint8" c:type="unsigned char"/>
          </array>
        </parameter>
        <parameter name="serial_nr_len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="902">The nr of bytes in @serial_nr</doc>
          <type name="gsize" c:type="size_t"/>
        </parameter>
        <parameter name="issuer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="903">The raw issuer</doc>
          <array length="3" zero-terminated="0" c:type="unsigned char*">
            <type name="guint8" c:type="unsigned char"/>
          </array>
        </parameter>
        <parameter name="issuer_len" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="904">The number of bytes in @issuer</doc>
          <type name="gsize" c:type="size_t"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="905">a #GCancellable or %NULL</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="6">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="906">a #GAsyncReadyCallback to call when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="907">the data to pass to callback function</doc>
          <type name="gpointer" c:type="void*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_distrusted_finish"
              c:identifier="gcr_trust_is_certificate_distrusted_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="951">Finishes an asynchronous operation started by
[func@trust_is_certificate_distrusted_async].

In the case of an error, %FALSE is also returned. Check @error to detect
if an error occurred.</doc>
      <source-position filename="gcr/gcr-trust.h" line="114"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="962">%TRUE if the certificate is a trust anchor</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="953">the #GAsyncResult passed to the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_pinned"
              c:identifier="gcr_trust_is_certificate_pinned"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="127">Check if @certificate is pinned for @purpose to communicate with @peer.
A pinned certificate overrides all other certificate verification.

This call may block, see [func@Gcr.trust_is_certificate_pinned_async] for
the non-blocking version.

In the case of an error, %FALSE is also returned. Check @error to detect
if an error occurred.</doc>
      <source-position filename="gcr/gcr-trust.h" line="37"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="144">%TRUE if the certificate is pinned for the host and purpose</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="129">a #GcrCertificate to check</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="130">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="131">the peer for this pinned</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="132">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_pinned_async"
              c:identifier="gcr_trust_is_certificate_pinned_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="181">Check if @certificate is pinned for @purpose to communicate with @peer. A
pinned certificate overrides all other certificate verification.

When the operation is finished, callback will be called. You can then call
[func@Gcr.trust_is_certificate_pinned_finish] to get the result of the
operation.</doc>
      <source-position filename="gcr/gcr-trust.h" line="43"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="183">a #GcrCertificate to check</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="184">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="185">the peer for this pinned</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="186">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="5">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="187">a #GAsyncReadyCallback to call when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="188">the data to pass to callback function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_is_certificate_pinned_finish"
              c:identifier="gcr_trust_is_certificate_pinned_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="221">Finishes an asynchronous operation started by
[func@Gcr.trust_is_certificate_pinned_async].

In the case of an error, %FALSE is also returned. Check @error to detect
if an error occurred.</doc>
      <source-position filename="gcr/gcr-trust.h" line="50"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="232">%TRUE if the certificate is pinned.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="223">the #GAsyncResult passed to the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_remove_pinned_certificate"
              c:identifier="gcr_trust_remove_pinned_certificate"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="514">Remove a pinned certificate for communication with @peer for @purpose.

If the same pinned certificate does not exist, or was already removed,
then this operation succeeds without error.

This call may block, see [func@Gcr.trust_remove_pinned_certificate_async]
for the non-blocking version.</doc>
      <source-position filename="gcr/gcr-trust.h" line="69"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="530">%TRUE if the pinned certificate no longer exists</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="516">a #GcrCertificate</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="517">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="518">the peer for this pinned certificate</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="519">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_remove_pinned_certificate_async"
              c:identifier="gcr_trust_remove_pinned_certificate_async">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="567">Remove a pinned certificate for communication with @peer for @purpose.

If the same pinned certificate does not exist, or was already removed,
then this operation succeeds without error.

When the operation is finished, callback will be called. You can then call
[func@Gcr.trust_remove_pinned_certificate_finish] to get the result of the
operation.</doc>
      <source-position filename="gcr/gcr-trust.h" line="75"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="certificate" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="569">a #GcrCertificate</doc>
          <type name="Certificate" c:type="GcrCertificate*"/>
        </parameter>
        <parameter name="purpose" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="570">the purpose string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="peer" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="571">the peer for this pinned certificate</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="572">a #GCancellable</doc>
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="5">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="573">a #GAsyncReadyCallback to call when the operation completes</doc>
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="574">the data to pass to callback function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_remove_pinned_certificate_finish"
              c:identifier="gcr_trust_remove_pinned_certificate_finish"
              throws="1">
      <doc xml:space="preserve"
           filename="gcr/gcr-trust.c"
           line="612">Finishes an asynchronous operation started by
[func@Gcr.trust_remove_pinned_certificate_async].</doc>
      <source-position filename="gcr/gcr-trust.h" line="82"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="gcr/gcr-trust.c"
             line="620">%TRUE if the pinned certificate no longer exists</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="result" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="gcr/gcr-trust.c"
               line="614">the #GAsyncResult passed to the callback</doc>
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>
