<?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:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Atk" version="1.0"/>
  <include name="GLib" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gdk" version="3.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <include name="Pango" version="1.0"/>
  <include name="cairo" version="1.0"/>
  <include name="xlib" version="2.0"/>
  <package name="gtk+-3.0"/>
  <namespace name="CryptUI"
             version="0.0"
             shared-library="libcryptui.so.2.0"
             c:identifier-prefixes="CryptUI"
             c:symbol-prefixes="crypt_ui">
    <enumeration name="EncType" c:type="CryptUIEncType">
      <doc xml:whitespace="preserve">Used in key properties to indicate what kind of key it is

Never ever change a values already present. These values are used
across applications, DBus etc...</doc>
      <member name="none" value="0" c:identifier="CRYPTUI_ENCTYPE_NONE"/>
      <member name="symmetric"
              value="1"
              c:identifier="CRYPTUI_ENCTYPE_SYMMETRIC"/>
      <member name="public" value="2" c:identifier="CRYPTUI_ENCTYPE_PUBLIC"/>
      <member name="private" value="3" c:identifier="CRYPTUI_ENCTYPE_PRIVATE"/>
      <member name="maxvalue"
              value="4"
              c:identifier="CRYPTUI_ENCTYPE_MAXVALUE"/>
    </enumeration>
    <record name="KeyChooser" c:type="CryptUIKeyChooser">
      <field name="parent" writable="1">
        <type name="Gtk.VBox" c:type="GtkVBox"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="KeyChooserPriv" c:type="CryptUIKeyChooserPriv*"/>
      </field>
    </record>
    <record name="KeyChooserClass" c:type="CryptUIKeyChooserClass">
      <field name="parent_class" writable="1">
        <type name="Gtk.VBoxClass" c:type="GtkVBoxClass"/>
      </field>
      <field name="changed">
        <callback name="changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="chooser" transfer-ownership="none">
              <type name="KeyChooser" c:type="CryptUIKeyChooser*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="KeyChooserMode" c:type="CryptUIKeyChooserMode">
      <member name="recipients"
              value="1"
              c:identifier="CRYPTUI_KEY_CHOOSER_RECIPIENTS"/>
      <member name="signer"
              value="2"
              c:identifier="CRYPTUI_KEY_CHOOSER_SIGNER"/>
      <member name="mustsign"
              value="16"
              c:identifier="CRYPTUI_KEY_CHOOSER_MUSTSIGN"/>
    </enumeration>
    <record name="KeyChooserPriv" c:type="CryptUIKeyChooserPriv" disguised="1">
    </record>
    <enumeration name="KeyFlags" c:type="CryptUIKeyFlags">
      <doc xml:whitespace="preserve">Used in key properties to indicate a key's status.  These values are
logically OR'd together.

Never ever change a values already present. These values are used
across applications, DBus etc...</doc>
      <member name="is_valid" value="1" c:identifier="CRYPTUI_FLAG_IS_VALID"/>
      <member name="can_encrypt"
              value="2"
              c:identifier="CRYPTUI_FLAG_CAN_ENCRYPT"/>
      <member name="can_sign" value="4" c:identifier="CRYPTUI_FLAG_CAN_SIGN"/>
      <member name="expired" value="256" c:identifier="CRYPTUI_FLAG_EXPIRED"/>
      <member name="revoked" value="512" c:identifier="CRYPTUI_FLAG_REVOKED"/>
      <member name="disabled"
              value="1024"
              c:identifier="CRYPTUI_FLAG_DISABLED"/>
      <member name="trusted" value="4096" c:identifier="CRYPTUI_FLAG_TRUSTED"/>
      <member name="exportable"
              value="1048576"
              c:identifier="CRYPTUI_FLAG_EXPORTABLE"/>
    </enumeration>
    <record name="KeyStore" c:type="CryptUIKeyStore">
      <field name="parent" writable="1">
        <type name="Gtk.TreeModelSort" c:type="GtkTreeModelSort"/>
      </field>
      <field name="ckset" writable="1">
        <type name="Keyset" c:type="CryptUIKeyset*"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="KeyStorePriv" c:type="CryptUIKeyStorePriv*"/>
      </field>
    </record>
    <record name="KeyStoreClass" c:type="CryptUIKeyStoreClass">
      <field name="parent_class" writable="1">
        <type name="Gtk.TreeModelSortClass" c:type="GtkTreeModelSortClass"/>
      </field>
    </record>
    <callback name="KeyStoreFilterFunc" c:type="CryptUIKeyStoreFilterFunc">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="ckset" transfer-ownership="none">
          <type name="Keyset" c:type="CryptUIKeyset*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="gchar*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="2">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="KeyStoreMode" c:type="CryptUIKeyStoreMode">
      <member name="all" value="0" c:identifier="CRYPTUI_KEY_STORE_MODE_ALL"/>
      <member name="selected"
              value="1"
              c:identifier="CRYPTUI_KEY_STORE_MODE_SELECTED"/>
      <member name="results"
              value="2"
              c:identifier="CRYPTUI_KEY_STORE_MODE_RESULTS"/>
    </enumeration>
    <record name="KeyStorePriv" c:type="CryptUIKeyStorePriv" disguised="1">
    </record>
    <record name="Keyset" c:type="CryptUIKeyset">
      <field name="parent" writable="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="KeysetPrivate" c:type="CryptUIKeysetPrivate*"/>
      </field>
    </record>
    <record name="KeysetClass" c:type="CryptUIKeysetClass">
      <field name="parent_class" writable="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="added">
        <callback name="added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keyset" transfer-ownership="none">
              <type name="Keyset" c:type="CryptUIKeyset*"/>
            </parameter>
            <parameter name="key" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="removed">
        <callback name="removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keyset" transfer-ownership="none">
              <type name="Keyset" c:type="CryptUIKeyset*"/>
            </parameter>
            <parameter name="key" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
            <parameter name="closure" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="changed">
        <callback name="changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keyset" transfer-ownership="none">
              <type name="Keyset" c:type="CryptUIKeyset*"/>
            </parameter>
            <parameter name="key" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
            <parameter name="closure" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="KeysetPrivate" c:type="CryptUIKeysetPrivate" disguised="1">
    </record>
    <enumeration name="Location" c:type="CryptUILocation">
      <doc xml:whitespace="preserve">Indicates where a key is located.

Never ever change a values already present. These values are used
across applications, DBus etc...</doc>
      <member name="invalid" value="0" c:identifier="CRYPTUI_LOC_INVALID"/>
      <member name="missing" value="10" c:identifier="CRYPTUI_LOC_MISSING"/>
      <member name="searching"
              value="20"
              c:identifier="CRYPTUI_LOC_SEARCHING"/>
      <member name="remote" value="50" c:identifier="CRYPTUI_LOC_REMOTE"/>
      <member name="local" value="100" c:identifier="CRYPTUI_LOC_LOCAL"/>
    </enumeration>
    <enumeration name="Validity" c:type="CryptUIValidity">
      <doc xml:whitespace="preserve">What the validity of the key is.

Never ever change a values already present. These values are used
across applications, DBus etc...</doc>
      <member name="revoked"
              value="-3"
              c:identifier="CRYPTUI_VALIDITY_REVOKED"/>
      <member name="disabled"
              value="-2"
              c:identifier="CRYPTUI_VALIDITY_DISABLED"/>
      <member name="never" value="-1" c:identifier="CRYPTUI_VALIDITY_NEVER"/>
      <member name="unknown"
              value="0"
              c:identifier="CRYPTUI_VALIDITY_UNKNOWN"/>
      <member name="marginal"
              value="1"
              c:identifier="CRYPTUI_VALIDITY_MARGINAL"/>
      <member name="full" value="5" c:identifier="CRYPTUI_VALIDITY_FULL"/>
      <member name="ultimate"
              value="10"
              c:identifier="CRYPTUI_VALIDITY_ULTIMATE"/>
    </enumeration>
  </namespace>
</repository>
