Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91256808 authored by Shawn Willden's avatar Shawn Willden Committed by Automerger Merge Worker
Browse files

Merge "AttestationKey documentation" am: c46f9da4 am: 5df02652 am: 237ecec1 am: ff9fce15

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

Change-Id: I1707ef6d258f66d9055e271e95687782e8eed9c8
parents 26bb48d9 ff9fce15
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -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;
}
}