diff options
| author | 2021-02-03 16:42:01 +0000 | |
|---|---|---|
| committer | 2021-02-03 16:42:01 +0000 | |
| commit | 63e30d9a38fbbff54cca1bf94dea8b4057b62151 (patch) | |
| tree | 06cf1352aeb3a9da04f0cb79c7af78ddfbb8db00 | |
| parent | bd18538fd8834c4f064167005d2f9fbe55558d53 (diff) | |
| parent | 69492e9372b8cca25fa4964eac1ab3138f51f006 (diff) | |
Merge "Limited use key: feature files"
| -rw-r--r-- | data/etc/android.hardware.keystore.limited_use_key.xml | 21 | ||||
| -rw-r--r-- | data/etc/android.hardware.keystore.single_use_key.xml | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/data/etc/android.hardware.keystore.limited_use_key.xml b/data/etc/android.hardware.keystore.limited_use_key.xml new file mode 100644 index 0000000000..5217086715 --- /dev/null +++ b/data/etc/android.hardware.keystore.limited_use_key.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2021 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- Feature for devices with KeyMint that can enforce limited use key + in hardware with any max usage count (including count equals to 1). --> +<permissions> + <feature name="android.hardware.keystore.limited_use_key" /> +</permissions>
\ No newline at end of file diff --git a/data/etc/android.hardware.keystore.single_use_key.xml b/data/etc/android.hardware.keystore.single_use_key.xml new file mode 100644 index 0000000000..40e80aaa9b --- /dev/null +++ b/data/etc/android.hardware.keystore.single_use_key.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2021 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- Feature for devices with KeyMint that only can enforce limited use key + in hardware with max usage count equals to 1. --> +<permissions> + <feature name="android.hardware.keystore.single_use_key" /> +</permissions>
\ No newline at end of file |