Merge "Correct the description for getKeyCharacteristics" am: e8d43f7e59 am: bb1b56ab1f

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1723364

Change-Id: I6462aaf864f7c5da64d28749238e9aecaad221fe
This commit is contained in:
Treehugger Robot
2021-06-01 20:13:47 +00:00
committed by Automerger Merge Worker

View File

@@ -805,9 +805,10 @@ interface IKeyMintDevice {
byte[] convertStorageKeyToEphemeral(in byte[] storageKeyBlob);
/**
* Returns parameters associated with the provided key. This should match the
* KeyCharacteristics present in the KeyCreationResult returned by generateKey(),
* importKey(), or importWrappedKey().
* Returns KeyMint-enforced parameters associated with the provided key. The returned tags are
* a subset of KeyCharacteristics found in the KeyCreationResult returned by generateKey(),
* importKey(), or importWrappedKey(). The returned value is a subset, as it does not include
* any Keystore-enforced parameters.
*
* @param keyBlob The opaque descriptor returned by generateKey, importKey or importWrappedKey.
*