KeyStoreManager.ModuleHash Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When passed into getSupplementaryAttestationInfo, getSupplementaryAttestationInfo returns the
DER-encoded structure corresponding to the Modules
schema described in the KeyMint HAL's
KeyCreationResult.
[Android.Runtime.Register("MODULE_HASH", ApiSince=36)]
public const int ModuleHash = -1879047468;
[<Android.Runtime.Register("MODULE_HASH", ApiSince=36)>]
val mutable ModuleHash : int
Field Value
Value = -1879047468- Attributes
Remarks
When passed into getSupplementaryAttestationInfo, getSupplementaryAttestationInfo returns the DER-encoded structure corresponding to the `Modules` schema described in the KeyMint HAL's KeyCreationResult.aidl. The SHA-256 hash of this encoded structure is what's included with the tag in attestations. To ensure the returned encoded structure is the one attested to, clients should verify its SHA-256 hash matches the one in the attestation. Note that the returned structure can vary between boots.
Java documentation for android.security.keystore.KeyStoreManager.MODULE_HASH
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.