blob: 306cc488047e6b7b01682dfda313a2520f406a1e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2012 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="IsMountedForUser">
<arg type="s" name="username" direction="in" />
<arg type="b" name="is_mounted" direction="out" />
<arg type="b" name="is_ephemeral_mount" 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="AddKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="s" name="new_key" direction="in" />
<arg type="i" name="key_id" direction="out" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncAddKey">
<arg type="s" name="username" direction="in" />
<arg type="s" name="key" direction="in" />
<arg type="s" name="new_key" direction="in" />
<!-- key_id will be returned in the return_code -->
<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="GetSanitizedUsername">
<arg type="s" name="username" direction="in" />
<arg type="s" name="sanitized" 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="ensure_ephemeral" direction="in" />
<arg type="as" name="deprecated_tracked_subdirectories" direction="in" />
<arg type="i" name="error_num" 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="ensure_ephemeral" 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_num" direction="out" />
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncMountGuest">
<arg type="i" name="async_id" direction="out" />
</method>
<method name="MountPublic">
<arg type="s" name="public_mount_id" direction="in" />
<arg type="b" name="create_if_missing" direction="in" />
<arg type="b" name="ensure_ephemeral" direction="in" />
<arg type="i" name="error_num" direction="out" />
<arg type="b" name="done" direction="out" />
</method>
<method name="AsyncMountPublic">
<arg type="s" name="public_mount_id" direction="in" />
<arg type="b" name="create_if_missing" direction="in" />
<arg type="b" name="ensure_ephemeral" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="Unmount">
<arg type="b" name="done" direction="out" />
</method>
<method name="UnmountForUser">
<arg type="s" name="username" direction="in" />
<arg type="b" name="done" 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="UpdateCurrentUserActivityTimestamp">
<arg type="i" name="time_shift_sec" direction="in" />
</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="TpmIsAttestationPrepared">
<arg type="b" name="prepared" direction="out" />
</method>
<method name="TpmVerifyAttestationData">
<arg type="b" name="verified" direction="out" />
</method>
<method name="TpmVerifyEK">
<arg type="b" name="verified" direction="out" />
</method>
<method name="TpmAttestationCreateEnrollRequest">
<arg type="ay" name="pca_request" direction="out" />
</method>
<method name="AsyncTpmAttestationCreateEnrollRequest">
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationEnroll">
<arg type="ay" name="pca_response" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncTpmAttestationEnroll">
<arg type="ay" name="pca_response" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationCreateCertRequest">
<arg type="b" name="include_stable_id" direction="in" />
<arg type="b" name="include_device_state" direction="in" />
<arg type="ay" name="pca_request" direction="out" />
</method>
<method name="AsyncTpmAttestationCreateCertRequest">
<arg type="b" name="include_stable_id" direction="in" />
<arg type="b" name="include_device_state" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationCreateCertRequestByProfile">
<arg type="i" name="certificate_profile" direction="in" />
<arg type="s" name="username" direction="in" />
<arg type="s" name="request_origin" direction="in" />
<arg type="ay" name="pca_request" direction="out" />
</method>
<method name="AsyncTpmAttestationCreateCertRequestByProfile">
<arg type="i" name="certificate_profile" direction="in" />
<arg type="s" name="username" direction="in" />
<arg type="s" name="request_origin" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationFinishCertRequest">
<arg type="ay" name="pca_response" direction="in" />
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="certificate" direction="out" />
<arg type="b" name="success" direction="out" />
</method>
<method name="AsyncTpmAttestationFinishCertRequest">
<arg type="ay" name="pca_response" direction="in" />
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmIsAttestationEnrolled">
<arg type="b" name="enrolled" direction="out" />
</method>
<method name="TpmAttestationDoesKeyExist">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="b" name="exists" direction="out" />
</method>
<method name="TpmAttestationGetCertificate">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="certificate" direction="out" />
<arg type="b" name="success" direction="out" />
</method>
<method name="TpmAttestationGetPublicKey">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="public_key" direction="out" />
<arg type="b" name="success" direction="out" />
</method>
<method name="TpmAttestationRegisterKey">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationSignEnterpriseChallenge">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="s" name="domain" direction="in" />
<arg type="ay" name="device_id" direction="in" />
<arg type="b" name="include_signed_public_key" direction="in" />
<arg type="ay" name="challenge" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationSignSimpleChallenge">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="challenge" direction="in" />
<arg type="i" name="async_id" direction="out" />
</method>
<method name="TpmAttestationGetKeyPayload">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="payload" direction="out" />
<arg type="b" name="success" direction="out" />
</method>
<method name="TpmAttestationSetKeyPayload">
<arg type="b" name="is_user_specific" direction="in" />
<arg type="s" name="key_name" direction="in" />
<arg type="ay" name="payload" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="Pkcs11IsTpmTokenReady">
<arg type="b" name="ready" direction="out" />
</method>
<method name="Pkcs11IsTpmTokenReadyForUser">
<arg type="s" name="username" direction="in" />
<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="Pkcs11GetTpmTokenInfoForUser">
<arg type="s" name="username" direction="in" />
<arg type="s" name="label" direction="out" />
<arg type="s" name="user_pin" direction="out" />
</method>
<method name="Pkcs11Terminate">
<arg type="s" name="username" direction="in" />
</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>
<method name="StoreEnrollmentState">
<arg type="ay" name="enrollment_state" direction="in" />
<arg type="b" name="success" direction="out" />
</method>
<method name="LoadEnrollmentState">
<arg type="ay" name="enrollment_state" direction="out" />
<arg type="b" name="success" 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>
<signal name="AsyncCallStatusWithData">
<arg type="i" name="async_id" />
<arg type="b" name="return_status" />
<arg type="ay" name="data" />
</signal>
</interface>
</node>