Mulai 27 Maret 2025, sebaiknya gunakan android-latest-release
, bukan aosp-main
, untuk mem-build dan berkontribusi pada AOSP. Untuk mengetahui informasi selengkapnya, lihat Perubahan pada AOSP.
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Struct keymaster_key_characteristics_t
#include <
keymaster_defs.h
>
Parameter yang menentukan karakteristik kunci, termasuk mode penggunaan yang diotorisasi dan batasan kontrol akses. Parameter dibagi menjadi dua kategori, yaitu yang diterapkan oleh hardware aman, dan yang tidak. Untuk penerapan keymaster khusus software, array yang diterapkan harus NULL. Implementasi hardware harus menerapkan semuanya dalam array yang diterapkan.
Definisi pada baris
310
file
keymaster_defs.h
.
Dokumentasi untuk struct ini dibuat dari file berikut:
Konten dan contoh kode di halaman ini tunduk kepada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-27 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: keymaster_key_characteristics_t Struct Reference\n\nkeymaster_key_characteristics_t Struct Reference\n================================================\n\n[Data Fields](#pub-attribs) \nkeymaster_key_characteristics_t Struct Reference \n\n`\n#include \u003c\n`[keymaster_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)`\n\u003e\n`\n\n|---------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| [keymaster_key_param_set_t](/reference/hal/structkeymaster__key__param__set__t) | [hw_enforced](/reference/hal/structkeymaster__key__characteristics__t#a1f2beeb370e4d5e51096b726fd9b2022) |\n| ||\n| [keymaster_key_param_set_t](/reference/hal/structkeymaster__key__param__set__t) | [sw_enforced](/reference/hal/structkeymaster__key__characteristics__t#a533d175e131e9ce592e58e077d63dc91) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nParameters that define a key's characteristics, including authorized modes of usage and access control restrictions. The parameters are divided into two categories, those that are enforced by secure hardware, and those that are not. For a software-only keymaster implementation the enforced array must NULL. Hardware implementations must enforce everything in the enforced array.\n\n\nDefinition at line\n[310](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\nof file\n[keymaster_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\n.\n\nField Documentation\n-------------------\n\n\n|---------------------------------------------------------------------------------------------|\n| [keymaster_key_param_set_t](/reference/hal/structkeymaster__key__param__set__t) hw_enforced |\n\n\nDefinition at line\n[311](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\nof file\n[keymaster_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\n.\n\n|---------------------------------------------------------------------------------------------|\n| [keymaster_key_param_set_t](/reference/hal/structkeymaster__key__param__set__t) sw_enforced |\n\n\nDefinition at line\n[312](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\nof file\n[keymaster_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [keymaster_defs.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/keymaster_defs.h)"]]