1 // 2 // Copyright (C) 2015 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 // THIS CODE IS GENERATED. 18 19 #ifndef ATTESTATION_COMMON_PRINT_COMMON_PROTO_H_ 20 #define ATTESTATION_COMMON_PRINT_COMMON_PROTO_H_ 21 22 #include <string> 23 24 #include "attestation/common/common.pb.h" 25 26 namespace attestation { 27 28 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size); 29 std::string GetProtoDebugString(KeyType value); 30 std::string GetProtoDebugStringWithIndent(KeyUsage value, int indent_size); 31 std::string GetProtoDebugString(KeyUsage value); 32 std::string GetProtoDebugStringWithIndent(CertificateProfile value, 33 int indent_size); 34 std::string GetProtoDebugString(CertificateProfile value); 35 std::string GetProtoDebugStringWithIndent(const Quote& value, int indent_size); 36 std::string GetProtoDebugString(const Quote& value); 37 std::string GetProtoDebugStringWithIndent(const EncryptedData& value, 38 int indent_size); 39 std::string GetProtoDebugString(const EncryptedData& value); 40 std::string GetProtoDebugStringWithIndent(const SignedData& value, 41 int indent_size); 42 std::string GetProtoDebugString(const SignedData& value); 43 std::string GetProtoDebugStringWithIndent( 44 const EncryptedIdentityCredential& value, 45 int indent_size); 46 std::string GetProtoDebugString(const EncryptedIdentityCredential& value); 47 48 } // namespace attestation 49 50 #endif // ATTESTATION_COMMON_PRINT_COMMON_PROTO_H_ 51