mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "AttestationKey documentation" am: c46f9da49f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1674665 Change-Id: Icaf7e68d2ee5871dda88a7615cebd6bee7e71d00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user