1 /*
2  * This file is auto-generated.  DO NOT MODIFY.
3  * Using: out/host/linux-x86/bin/aidl --lang=cpp -Weverything -Wno-missing-permission-annotation -t --min_sdk_version current --ninja -d out/soong/.intermediates/frameworks/base/core/java/android.security.rkp_aidl-cpp-source/gen/staging/android/security/rkp/RemotelyProvisionedKey.cpp.d -h out/soong/.intermediates/frameworks/base/core/java/android.security.rkp_aidl-cpp-source/gen/include/staging -o out/soong/.intermediates/frameworks/base/core/java/android.security.rkp_aidl-cpp-source/gen/staging -Nframeworks/base/core/java frameworks/base/core/java/android/security/rkp/RemotelyProvisionedKey.aidl
4  *
5  * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
6  * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
7  * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
8  */
9 #pragma once
10 
11 #include <android/binder_to_string.h>
12 #include <binder/Parcel.h>
13 #include <binder/Status.h>
14 #include <cstdint>
15 #include <tuple>
16 #include <utils/String16.h>
17 #include <vector>
18 
19 namespace android {
20 namespace security {
21 namespace rkp {
22 class LIBBINDER_EXPORTED RemotelyProvisionedKey : public ::android::Parcelable {
23 public:
24   ::std::vector<uint8_t> keyBlob;
25   ::std::vector<uint8_t> encodedCertChain;
26   inline bool operator==(const RemotelyProvisionedKey& _rhs) const {
27     return std::tie(keyBlob, encodedCertChain) == std::tie(_rhs.keyBlob, _rhs.encodedCertChain);
28   }
29   inline bool operator<(const RemotelyProvisionedKey& _rhs) const {
30     return std::tie(keyBlob, encodedCertChain) < std::tie(_rhs.keyBlob, _rhs.encodedCertChain);
31   }
32   inline bool operator!=(const RemotelyProvisionedKey& _rhs) const {
33     return !(*this == _rhs);
34   }
35   inline bool operator>(const RemotelyProvisionedKey& _rhs) const {
36     return _rhs < *this;
37   }
38   inline bool operator>=(const RemotelyProvisionedKey& _rhs) const {
39     return !(*this < _rhs);
40   }
41   inline bool operator<=(const RemotelyProvisionedKey& _rhs) const {
42     return !(_rhs < *this);
43   }
44 
45   ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
46   ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
getParcelableDescriptor()47   static const ::android::String16& getParcelableDescriptor() {
48     static const ::android::StaticString16 DESCRIPTOR (u"android.security.rkp.RemotelyProvisionedKey");
49     return DESCRIPTOR;
50   }
toString()51   inline std::string toString() const {
52     std::ostringstream _aidl_os;
53     _aidl_os << "RemotelyProvisionedKey{";
54     _aidl_os << "keyBlob: " << ::android::internal::ToString(keyBlob);
55     _aidl_os << ", encodedCertChain: " << ::android::internal::ToString(encodedCertChain);
56     _aidl_os << "}";
57     return _aidl_os.str();
58   }
59 };  // class RemotelyProvisionedKey
60 }  // namespace rkp
61 }  // namespace security
62 }  // namespace android
63