Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
Stay organized with collections
Save and categorize content based on your preferences.
keymaster_key_characteristics_t Struct Reference
#include <
keymaster_defs.h
>
Parameters 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.
Definition at line
310
of file
keymaster_defs.h
.
The documentation for this struct was generated from the following file:
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-10-02 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)"]]