<?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="Gtk" version="3.0"/>
  <package name="gtk+-3.0"/>
  <namespace name="CryptUI"
             version="0.0"
             shared-library="libcryptui.so.0"
             c:identifier-prefixes="CryptUI"
             c:symbol-prefixes="crypt_ui">
    <enumeration name="EncType" c:type="CryptUIEncType">
      <doc xml:space="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">
        <doc xml:space="preserve">the key is none of the below types</doc>
      </member>
      <member name="symmetric"
              value="1"
              c:identifier="CRYPTUI_ENCTYPE_SYMMETRIC">
        <doc xml:space="preserve">the key's type is symmetric</doc>
      </member>
      <member name="public" value="2" c:identifier="CRYPTUI_ENCTYPE_PUBLIC">
        <doc xml:space="preserve">the key's type is public</doc>
      </member>
      <member name="private" value="3" c:identifier="CRYPTUI_ENCTYPE_PRIVATE">
        <doc xml:space="preserve">the key's type is private</doc>
      </member>
      <member name="maxvalue"
              value="4"
              c:identifier="CRYPTUI_ENCTYPE_MAXVALUE">
        <doc xml:space="preserve">for internal use only</doc>
      </member>
    </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>
      <member name="signer"
              value="2"
              c:identifier="CRYPTUI_KEY_CHOOSER_SIGNER">
      </member>
      <member name="support_symmetric"
              value="4"
              c:identifier="CRYPTUI_KEY_CHOOSER_SUPPORT_SYMMETRIC">
      </member>
      <member name="mustsign"
              value="16"
              c:identifier="CRYPTUI_KEY_CHOOSER_MUSTSIGN">
      </member>
    </enumeration>
    <record name="KeyChooserPriv" c:type="CryptUIKeyChooserPriv" disguised="1">
    </record>
    <enumeration name="KeyFlags" c:type="CryptUIKeyFlags">
      <doc xml:space="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">
        <doc xml:space="preserve">whether the key is valid</doc>
      </member>
      <member name="can_encrypt"
              value="2"
              c:identifier="CRYPTUI_FLAG_CAN_ENCRYPT">
        <doc xml:space="preserve">whether the key can encrypt</doc>
      </member>
      <member name="can_sign" value="4" c:identifier="CRYPTUI_FLAG_CAN_SIGN">
        <doc xml:space="preserve">whether the key can sign</doc>
      </member>
      <member name="expired" value="256" c:identifier="CRYPTUI_FLAG_EXPIRED">
        <doc xml:space="preserve">whether the key is expired</doc>
      </member>
      <member name="revoked" value="512" c:identifier="CRYPTUI_FLAG_REVOKED">
        <doc xml:space="preserve">whether the key is revoked</doc>
      </member>
      <member name="disabled"
              value="1024"
              c:identifier="CRYPTUI_FLAG_DISABLED">
        <doc xml:space="preserve">whether the key is disabled</doc>
      </member>
      <member name="trusted" value="4096" c:identifier="CRYPTUI_FLAG_TRUSTED">
        <doc xml:space="preserve">whether the key is trusted</doc>
      </member>
      <member name="exportable"
              value="1048576"
              c:identifier="CRYPTUI_FLAG_EXPORTABLE">
        <doc xml:space="preserve">whether the key is exportable</doc>
      </member>
    </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="const gchar*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   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>
      <member name="selected"
              value="1"
              c:identifier="CRYPTUI_KEY_STORE_MODE_SELECTED">
      </member>
      <member name="results"
              value="2"
              c:identifier="CRYPTUI_KEY_STORE_MODE_RESULTS">
      </member>
    </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="const 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="const 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="const 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:space="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">
        <doc xml:space="preserve">An invalid key</doc>
      </member>
      <member name="missing" value="10" c:identifier="CRYPTUI_LOC_MISSING">
        <doc xml:space="preserve">A key we don't know anything about</doc>
      </member>
      <member name="searching" value="20" c:identifier="CRYPTUI_LOC_SEARCHING">
        <doc xml:space="preserve">A key we're searching for but haven't found yet</doc>
      </member>
      <member name="remote" value="50" c:identifier="CRYPTUI_LOC_REMOTE">
        <doc xml:space="preserve">A key that we've found is present remotely</doc>
      </member>
      <member name="local" value="100" c:identifier="CRYPTUI_LOC_LOCAL">
        <doc xml:space="preserve">A key on the local machine</doc>
      </member>
    </enumeration>
    <enumeration name="Validity" c:type="CryptUIValidity">
      <doc xml:space="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">
        <doc xml:space="preserve">the key is revoked</doc>
      </member>
      <member name="disabled"
              value="-2"
              c:identifier="CRYPTUI_VALIDITY_DISABLED">
        <doc xml:space="preserve">the key is disabled</doc>
      </member>
      <member name="never" value="-1" c:identifier="CRYPTUI_VALIDITY_NEVER">
        <doc xml:space="preserve">the key has never been valid</doc>
      </member>
      <member name="unknown" value="0" c:identifier="CRYPTUI_VALIDITY_UNKNOWN">
        <doc xml:space="preserve">the key's validity is unknown</doc>
      </member>
      <member name="marginal"
              value="1"
              c:identifier="CRYPTUI_VALIDITY_MARGINAL">
        <doc xml:space="preserve">the key's validity is marginal</doc>
      </member>
      <member name="full" value="5" c:identifier="CRYPTUI_VALIDITY_FULL">
        <doc xml:space="preserve">the key's validity is full</doc>
      </member>
      <member name="ultimate"
              value="10"
              c:identifier="CRYPTUI_VALIDITY_ULTIMATE">
        <doc xml:space="preserve">the key's validity is ultimate</doc>
      </member>
    </enumeration>
  </namespace>
</repository>
