blob: 660a011fac1dbc4bb117344fb04866ffb3662ac6 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
dbus-binding-tool -mode=glib-server -prefix=cryptohome cryptohome.xml
&gt; bindings/server.h
-->
<node name="/org/chromium/">
<interface name="org.chromium.CryptohomeInterface">
<annotation name="org.freedesktop.DBus.GLib.CSymbol"
value="cryptohome"/>
<method name="IsMounted">
<arg type="b" name="is_mounted" direction="out" />
</method>
<method name="CheckKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncCheckKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="MigrateKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="from_key" direction="in" />
<arg type="s" name="to_key" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncMigrateKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="from_key" direction="in" />
<arg type="s" name="to_key" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="Remove">
<arg type="s" name="username" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncRemove">
<arg type="s" name="username" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="GetSystemSalt">
<arg type="ay" name="salt" direction="out" />
</method>
<method name="Mount">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="b" name="create_if_missing" direction="in" />
<arg type="b" name="deprecated_replace_tracked_subdirectories" direction="in" />
<arg type="as" name="deprecated_tracked_subdirectories" direction="in" />
<arg type="i" name="error" direction="out" />
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncMount">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="b" name="create_if_missing" direction="in" />
<arg type="b" name="deprecated_replace_tracked_subdirectories" direction="in" />
<arg type="as" name="deprecated_tracked_subdirectories" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="MountGuest">
<arg type="i" name="error" direction="out" />
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncMountGuest">
<arg type="i" name="async_id" direction="out" />
</method>
<method name="Unmount">
<arg type="b" name="done" direction="out" />
</method>
<method name="RemoveTrackedSubdirectories">
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncRemoveTrackedSubdirectories">
<arg type="i" name="async_id" direction="out" />
</method>
<method name="DoAutomaticFreeDiskSpaceControl">
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncDoAutomaticFreeDiskSpaceControl">
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmIsReady">
<arg type="b" name="ready" direction="out" />
</method>
<method name="TpmIsEnabled">
<arg type="b" name="enabled" direction="out" />
</method>
<method name="TpmGetPassword">
<arg type="s" name="password" direction="out" />
</method>
<method name="TpmIsOwned">
<arg type="b" name="owned" direction="out" />
</method>
<method name="TpmIsBeingOwned">
<arg type="b" name="owning" direction="out" />
</method>
<method name="TpmCanAttemptOwnership">
</method>
<method name="TpmClearStoredPassword">
</method>
<method name="Pkcs11IsTpmTokenReady">
<arg type="b" name="ready" direction="out" />
</method>
<method name="Pkcs11GetTpmTokenInfo">
<arg type="s" name="label" direction="out" />
<arg type="s" name="user_pin" direction="out" />
</method>
<method name="GetStatusString">
<arg type="s" name="status" direction="out" />
</method>
<method name="InstallAttributesGet">
<arg type="s" name="name" direction="in" />
<arg type="ay" name="value" direction="out" />
<arg type="b" name="successful" direction="out" />
</method>
<method name="InstallAttributesSet">
<arg type="s" name="name" direction="in" />
<arg type="ay" name="value" direction="in" />
<arg type="b" name="successful" direction="out" />
</method>
<method name="InstallAttributesCount">
<arg type="i" name="count" direction="out" />
</method>
<method name="InstallAttributesFinalize">
<arg type="b" name="successful" direction="out" />
</method>
<method name="InstallAttributesIsReady">
<arg type="b" name="is_ready" direction="out" />
</method>
<method name="InstallAttributesIsSecure">
<arg type="b" name="is_secure" direction="out" />
</method>
<method name="InstallAttributesIsInvalid">
<arg type="b" name="is_invalid" direction="out" />
</method>
<method name="InstallAttributesIsFirstInstall">
<arg type="b" name="is_first_install" direction="out" />
</method>
<signal name="TpmInitStatus">
<arg type="b" name="ready" />
<arg type="b" name="owned" />
<arg type="b" name="was_owned_this_boot" />
</signal>
<signal name="AsyncCallStatus">
<arg type="i" name="async_id" />
<arg type="b" name="return_status" />
<arg type="i" name="return_code" />
</signal>
</interface>
</node>