| OLD | NEW |
| 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 Loading... |
| 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. | |
| 52 ALTERNATE_PCA, // An alternate Privacy CA specified by enterprise policy. | 51 ALTERNATE_PCA, // An alternate Privacy CA specified by enterprise policy. |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 // A key name for the Enterprise Machine Key. This key should always be stored | 54 // A key name for the Enterprise Machine Key. This key should always be stored |
| 56 // as a DEVICE_KEY. | 55 // as a DEVICE_KEY. |
| 57 CHROMEOS_EXPORT extern const char kEnterpriseMachineKey[]; | 56 CHROMEOS_EXPORT extern const char kEnterpriseMachineKey[]; |
| 58 | 57 |
| 59 // A key name for the Enterprise User Key. This key should always be stored as | 58 // A key name for the Enterprise User Key. This key should always be stored as |
| 60 // a USER_KEY. | 59 // a USER_KEY. |
| 61 CHROMEOS_EXPORT extern const char kEnterpriseUserKey[]; | 60 CHROMEOS_EXPORT extern const char kEnterpriseUserKey[]; |
| 62 | 61 |
| 63 // The key name prefix for content protection keys. This prefix must be | 62 // The key name prefix for content protection keys. This prefix must be |
| 64 // appended with an origin-specific identifier to form the final key name. | 63 // appended with an origin-specific identifier to form the final key name. |
| 65 CHROMEOS_EXPORT extern const char kContentProtectionKeyPrefix[]; | 64 CHROMEOS_EXPORT extern const char kContentProtectionKeyPrefix[]; |
| 66 | 65 |
| 67 } // namespace attestation | 66 } // namespace attestation |
| 68 } // namespace chromeos | 67 } // namespace chromeos |
| 69 | 68 |
| 70 #endif // CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_ | 69 #endif // CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_ |
| OLD | NEW |