summaryrefslogtreecommitdiff
path: root/x86_64/include/out/soong/.intermediates/hardware/interfaces/keymaster/aidl/android.hardware.keymaster-ndk_platform-source/gen/include/aidl/android/hardware/keymaster/VerificationToken.h
blob: 40b496ddae5f7996c6bb133ef84727e4c2ae9cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <android/binder_interface_utils.h>

#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#ifdef BINDER_STABILITY_SUPPORT
#include <android/binder_stability.h>
#endif  // BINDER_STABILITY_SUPPORT
#include <aidl/android/hardware/keymaster/SecurityLevel.h>
#include <aidl/android/hardware/keymaster/Timestamp.h>
namespace aidl {
namespace android {
namespace hardware {
namespace keymaster {
class VerificationToken {
public:
  static const char* descriptor;

  int64_t challenge;
  ::aidl::android::hardware::keymaster::Timestamp timestamp;
  ::aidl::android::hardware::keymaster::SecurityLevel securityLevel = ::aidl::android::hardware::keymaster::SecurityLevel(0);
  std::vector<int8_t> mac;

  binder_status_t readFromParcel(const AParcel* parcel);
  binder_status_t writeToParcel(AParcel* parcel) const;
};
}  // namespace keymaster
}  // namespace hardware
}  // namespace android
}  // namespace aidl