Merge "Correct the description for getKeyCharacteristics"

This commit is contained in:
Treehugger Robot 2021-06-01 19:49:43 +00:00 committed by Gerrit Code Review
commit e8d43f7e59

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.
*