Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: pkcs11_init.h

Issue 6823012: cryptohome: Add stub functions to query PKCS11 set up status (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cryptohome.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // 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.
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 IsReady() const {
21 return true;
22 }
23 void GetTpmTokenInfo(gchar **OUT_label,
24 gchar **OUT_so_pin,
25 gchar **OUT_user_pin);
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(Pkcs11Init);
29 };
30
31 } // namespace cryptohome
32
33 #endif // CRYPTOHOME_PKCS11_INIT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698