OLD | NEW |
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 #ifndef CRYPTOHOME_INTERFACE_H_ | 4 #ifndef CRYPTOHOME_INTERFACE_H_ |
5 #define CRYPTOHOME_INTERFACE_H_ | 5 #define CRYPTOHOME_INTERFACE_H_ |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include <base/logging.h> | 9 #include <base/logging.h> |
10 #include <chromeos/dbus/dbus.h> | 10 #include <chromeos/dbus/dbus.h> |
11 #include <chromeos/glib/object.h> | 11 #include <chromeos/glib/object.h> |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 gboolean cryptohome_tpm_is_owned(Cryptohome *self, | 119 gboolean cryptohome_tpm_is_owned(Cryptohome *self, |
120 gboolean *OUT_owned, | 120 gboolean *OUT_owned, |
121 GError **error); | 121 GError **error); |
122 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, | 122 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, |
123 gboolean *OUT_owning, | 123 gboolean *OUT_owning, |
124 GError **error); | 124 GError **error); |
125 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, | 125 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, |
126 GError **error); | 126 GError **error); |
127 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, | 127 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, |
128 GError **error); | 128 GError **error); |
| 129 gboolean cryptohome_pkcs11_get_tpm_token_info(Cryptohome *self, |
| 130 gchar **OUT_label, |
| 131 gchar **OUT_user_pin, |
| 132 GError **error); |
| 133 gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self, |
| 134 gboolean *OUT_ready, |
| 135 GError **error); |
129 gboolean cryptohome_get_status_string(Cryptohome *self, | 136 gboolean cryptohome_get_status_string(Cryptohome *self, |
130 gchar **OUT_status, | 137 gchar **OUT_status, |
131 GError **error); | 138 GError **error); |
132 | 139 |
133 } // namespace gobject | 140 } // namespace gobject |
134 } // namespace cryptohome | 141 } // namespace cryptohome |
135 #endif // CRYPTOHOME_INTERFACE_H_ | 142 #endif // CRYPTOHOME_INTERFACE_H_ |
OLD | NEW |