1 // 2 // Copyright (C) 2014 The Android Open Source Project 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 // 16 17 #ifndef ATTESTATION_COMMON_DBUS_INTERFACE_H_ 18 #define ATTESTATION_COMMON_DBUS_INTERFACE_H_ 19 20 namespace attestation { 21 22 // TODO(namnguyen): Move to brillo/system_api once we're ready. 23 constexpr char kAttestationInterface[] = "org.chromium.Attestation"; 24 constexpr char kAttestationServicePath[] = "/org/chromium/Attestation"; 25 constexpr char kAttestationServiceName[] = "org.chromium.Attestation"; 26 27 // Methods exported by attestation. 28 constexpr char kCreateGoogleAttestedKey[] = "CreateGoogleAttestedKey"; 29 constexpr char kGetKeyInfo[] = "GetKeyInfo"; 30 constexpr char kGetEndorsementInfo[] = "GetEndorsementInfo"; 31 constexpr char kGetAttestationKeyInfo[] = "GetAttestationKeyInfo"; 32 constexpr char kActivateAttestationKey[] = "ActivateAttestationKey"; 33 constexpr char kCreateCertifiableKey[] = "CreateCertifiableKey"; 34 constexpr char kDecrypt[] = "Decrypt"; 35 constexpr char kSign[] = "Sign"; 36 constexpr char kRegisterKeyWithChapsToken[] = "RegisterKeyWithChapsToken"; 37 38 } // namespace attestation 39 40 #endif // ATTESTATION_COMMON_DBUS_INTERFACE_H_ 41