Chromium Code Reviews| Index: pkcs11_init.h | 
| diff --git a/pkcs11_init.h b/pkcs11_init.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..05796e65d6d0553f4c36cd0c90970154493f47b3 | 
| --- /dev/null | 
| +++ b/pkcs11_init.h | 
| @@ -0,0 +1,33 @@ | 
| +// Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved. | 
| 
 
Greg Spencer (Chromium)
2011/04/08 20:21:45
Should just be "2011"
 
kmixter1
2011/04/08 21:04:14
Done.
 
 | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +// Pkcs11Init - class for handling opencryptoki initialization. | 
| + | 
| +#ifndef CRYPTOHOME_PKCS11_INIT_H_ | 
| +#define CRYPTOHOME_PKCS11_INIT_H_ | 
| + | 
| +#include <base/basictypes.h> | 
| +#include <glib.h> | 
| + | 
| +namespace cryptohome { | 
| + | 
| +class Pkcs11Init { | 
| + public: | 
| + Pkcs11Init(); | 
| + virtual ~Pkcs11Init(); | 
| + | 
| + bool IsReady() const { | 
| + return true; | 
| + } | 
| + void GetTpmTokenInfo(gchar **OUT_label, | 
| + gchar **OUT_so_pin, | 
| + gchar **OUT_user_pin); | 
| + | 
| + private: | 
| + DISALLOW_COPY_AND_ASSIGN(Pkcs11Init); | 
| +}; | 
| + | 
| +} // namespace cryptohome | 
| + | 
| +#endif // CRYPTOHOME_PKCS11_INIT_H_ |