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

Commit 8691e58b authored by Shawn Willden's avatar Shawn Willden
Browse files

AttestationKey documentation

Test: N/A, only added documentation
Change-Id: I41ed99c385c99511e8a9a19a5aa7aec180ee41ac
parent 3cb64a68
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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;
}