summaryrefslogtreecommitdiff
path: root/arm/include/generated-headers/hardware/interfaces/keymaster/aidl/android.hardware.keymaster-ndk_platform-source/gen/include/aidl/android/hardware/keymaster/HardwareAuthToken.h
blob: ec680b025af79a9dcf4cd78b9931e06e6901e517 (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
34
35
#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/HardwareAuthenticatorType.h>
#include <aidl/android/hardware/keymaster/Timestamp.h>
namespace aidl {
namespace android {
namespace hardware {
namespace keymaster {
class HardwareAuthToken {
public:
  static const char* descriptor;

  int64_t challenge;
  int64_t userId;
  int64_t authenticatorId;
  ::aidl::android::hardware::keymaster::HardwareAuthenticatorType authenticatorType = ::aidl::android::hardware::keymaster::HardwareAuthenticatorType(0);
  ::aidl::android::hardware::keymaster::Timestamp timestamp;
  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