mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 20:24:19 +00:00
Merge "AttestationKey documentation" am: c46f9da49f am: 5df02652c1 am: 237ecec162
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1674665 Change-Id: Ia88c1b7c7fca3e2e7faec983e72327f3305f0e82
This commit is contained in:
@@ -27,7 +27,19 @@ import android.hardware.security.keymint.KeyParameter;
|
|||||||
@VintfStability
|
@VintfStability
|
||||||
@RustDerive(Clone=true, Eq=true, PartialEq=true, Ord=true, PartialOrd=true, Hash=true)
|
@RustDerive(Clone=true, Eq=true, PartialEq=true, Ord=true, PartialOrd=true, Hash=true)
|
||||||
parcelable AttestationKey {
|
parcelable AttestationKey {
|
||||||
|
/**
|
||||||
|
* Key blob containing a key pair with KeyPurpose::ATTEST_KEY
|
||||||
|
*/
|
||||||
byte[] keyBlob;
|
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;
|
KeyParameter[] attestKeyParams;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The issuerSubjectName to use in the generated attestation.
|
||||||
|
*/
|
||||||
byte[] issuerSubjectName;
|
byte[] issuerSubjectName;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user