OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Pkcs11Init - class for handling opencryptoki initialization. |
| 6 |
| 7 #ifndef CRYPTOHOME_PKCS11_INIT_H_ |
| 8 #define CRYPTOHOME_PKCS11_INIT_H_ |
| 9 |
| 10 #include <base/basictypes.h> |
| 11 #include <glib.h> |
| 12 |
| 13 namespace cryptohome { |
| 14 |
| 15 class Pkcs11Init { |
| 16 public: |
| 17 Pkcs11Init(); |
| 18 virtual ~Pkcs11Init(); |
| 19 |
| 20 bool IsTpmTokenReady() const { |
| 21 return true; |
| 22 } |
| 23 void GetTpmTokenInfo(gchar **OUT_label, |
| 24 gchar **OUT_user_pin); |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(Pkcs11Init); |
| 28 }; |
| 29 |
| 30 } // namespace cryptohome |
| 31 |
| 32 #endif // CRYPTOHOME_PKCS11_INIT_H_ |
OLD | NEW |