blob: 9b0ef3d85316bfc778ff730d3e695fcdc27458c1 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.chromium.tpmd">
<method name="Encrypt">
<tp:docstring>
Encrypts a supplied plaintext with the tpmd sealing key, returning the
ciphertext.
</tp:docstring>
<arg name="plaintext" type="ay" direction="in">
<tp:docstring>
Plaintext to encrypt with the sealing key.
</tp:docstring>
</arg>
<arg name="ciphertext" type="ay" direction="out">
<tp:docstring>
Ciphertext encrypted with the sealing key.
</tp:docstring>
</arg>
</method>
<method name="Decrypt">
<tp:docstring>
Decrypts a supplied ciphertext with the tpmd sealing key, returning the
plaintext.
</tp:docstring>
<arg name="ciphertext" type="ay" direction="in">
<tp:docstring>
Ciphertext to decrypt with the sealing key.
</tp:docstring>
</arg>
<arg name="plaintext" type="ay" direction="out">
<tp:docstring>
Plaintext decrypted with the sealing key.
</tp:docstring>
</arg>
</method>
<method name="GetStatus">
<tp:docstring>
Returns the status of the TPM as a JSON string.
</tp:docstring>
<arg name="status" type="s" direction="out">
<tp:docstring>
TPM status.
</tp:docstring>
</arg>
</method>
<property name="IsReady" type="b">
<tp:docstring>
True if the TPM is ready for Encrypt, Decrypt, and NVRAM operations. It
is always safe to call GetStatus.
</tp:docstring>
</property>
</interface>
</node>