From 8691e58bd1339efb9ad7e590106c7af5287ea1ae Mon Sep 17 00:00:00 2001 From: Shawn Willden Date: Thu, 8 Apr 2021 15:55:25 -0600 Subject: [PATCH] AttestationKey documentation Test: N/A, only added documentation Change-Id: I41ed99c385c99511e8a9a19a5aa7aec180ee41ac --- .../hardware/security/keymint/AttestationKey.aidl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/security/keymint/aidl/android/hardware/security/keymint/AttestationKey.aidl b/security/keymint/aidl/android/hardware/security/keymint/AttestationKey.aidl index b4bc60c05b..4e3008fe90 100644 --- a/security/keymint/aidl/android/hardware/security/keymint/AttestationKey.aidl +++ b/security/keymint/aidl/android/hardware/security/keymint/AttestationKey.aidl @@ -27,7 +27,19 @@ import android.hardware.security.keymint.KeyParameter; @VintfStability @RustDerive(Clone=true, Eq=true, PartialEq=true, Ord=true, PartialOrd=true, Hash=true) parcelable AttestationKey { + /** + * Key blob containing a key pair with KeyPurpose::ATTEST_KEY + */ byte[] keyBlob; + + /** + * Key parameters needed to use the key in keyBlob, notably Tag::APPLICATION_ID and + * Tag::APPLICATION_DATA, if they were provided during generation of the key in keyBlob. + */ KeyParameter[] attestKeyParams; + + /** + * The issuerSubjectName to use in the generated attestation. + */ byte[] issuerSubjectName; }