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

Side by Side Diff: chromeos/attestation/attestation_constants.h

Issue 2464333002: Support different Google attestation (Privacy CA) servers. (Closed)
Patch Set: Fixed memory issues. Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium 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 4
5 #ifndef CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_ 5 #ifndef CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_
6 #define CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_ 6 #define CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_
7 7
8 #include "chromeos/chromeos_export.h" 8 #include "chromeos/chromeos_export.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 30 matching lines...) Expand all
41 // CERTIFICATE_INCLUDE_DEVICE_STATE 41 // CERTIFICATE_INCLUDE_DEVICE_STATE
42 PROFILE_ENTERPRISE_USER_CERTIFICATE = 1, 42 PROFILE_ENTERPRISE_USER_CERTIFICATE = 1,
43 // A profile for certificates intended for protected content providers. 43 // A profile for certificates intended for protected content providers.
44 PROFILE_CONTENT_PROTECTION_CERTIFICATE = 2, 44 PROFILE_CONTENT_PROTECTION_CERTIFICATE = 2,
45 // A profile for certificates intended for enterprise registration. 45 // A profile for certificates intended for enterprise registration.
46 PROFILE_ENTERPRISE_ENROLLMENT_CERTIFICATE = 7 46 PROFILE_ENTERPRISE_ENROLLMENT_CERTIFICATE = 7
47 }; 47 };
48 48
49 enum PrivacyCAType { 49 enum PrivacyCAType {
50 DEFAULT_PCA, // The Google-operated Privacy CA. 50 DEFAULT_PCA, // The Google-operated Privacy CA.
51 TEST_PCA, // The test version of the Google-operated Privacy CA.
51 ALTERNATE_PCA, // An alternate Privacy CA specified by enterprise policy. 52 ALTERNATE_PCA, // An alternate Privacy CA specified by enterprise policy.
52 }; 53 };
53 54
54 // A key name for the Enterprise Machine Key. This key should always be stored 55 // A key name for the Enterprise Machine Key. This key should always be stored
55 // as a DEVICE_KEY. 56 // as a DEVICE_KEY.
56 CHROMEOS_EXPORT extern const char kEnterpriseMachineKey[]; 57 CHROMEOS_EXPORT extern const char kEnterpriseMachineKey[];
57 58
58 // A key name for the Enterprise User Key. This key should always be stored as 59 // A key name for the Enterprise User Key. This key should always be stored as
59 // a USER_KEY. 60 // a USER_KEY.
60 CHROMEOS_EXPORT extern const char kEnterpriseUserKey[]; 61 CHROMEOS_EXPORT extern const char kEnterpriseUserKey[];
61 62
62 // The key name prefix for content protection keys. This prefix must be 63 // The key name prefix for content protection keys. This prefix must be
63 // appended with an origin-specific identifier to form the final key name. 64 // appended with an origin-specific identifier to form the final key name.
64 CHROMEOS_EXPORT extern const char kContentProtectionKeyPrefix[]; 65 CHROMEOS_EXPORT extern const char kContentProtectionKeyPrefix[];
65 66
66 } // namespace attestation 67 } // namespace attestation
67 } // namespace chromeos 68 } // namespace chromeos
68 69
69 #endif // CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_ 70 #endif // CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/attestation/attestation_ca_client_unittest.cc ('k') | chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698