Udostępnij za pośrednictwem


PackageManager.FeatureStrongboxKeystore Field

Definition

Feature for #getSystemAvailableFeatures, #hasSystemFeature(String), and #hasSystemFeature(String, int): If this feature is supported, the device implements the Android Keystore backed by a dedicated secure processor referred to as StrongBox.

[Android.Runtime.Register("FEATURE_STRONGBOX_KEYSTORE", ApiSince=28)]
public const string FeatureStrongboxKeystore;
[<Android.Runtime.Register("FEATURE_STRONGBOX_KEYSTORE", ApiSince=28)>]
val mutable FeatureStrongboxKeystore : string

Field Value

Attributes

Remarks

Feature for #getSystemAvailableFeatures, #hasSystemFeature(String), and #hasSystemFeature(String, int): If this feature is supported, the device implements the Android Keystore backed by a dedicated secure processor referred to as StrongBox. If this feature has a version, the version number indicates which features are implemented in StrongBox: <ul> <li>100: Hardware support for ECDH (see javax.crypto.KeyAgreement) and support for app-generated attestation keys (see android.security.keystore.KeyGenParameterSpec.Builder#setAttestKeyAlias(String)). <li>41: Hardware enforcement of device-unlocked keys (see android.security.keystore.KeyGenParameterSpec.Builder#setUnlockedDeviceRequired(boolean)). <li>40: Support for wrapped key import (see android.security.keystore.WrappedKeyEntry), optional support for ID attestation (see android.security.keystore.KeyGenParameterSpec.Builder#setDevicePropertiesAttestationIncluded(boolean)), attestation (see android.security.keystore.KeyGenParameterSpec.Builder#setAttestationChallenge(byte[])), AES, HMAC, ECDSA and RSA support where the secret or private key never leaves secure hardware, and support for requiring user authentication before a key can be used. </ul> If a device has StrongBox, this feature version number is guaranteed to be set for all devices launching with Android 12 and may be set on devices launching with an earlier version. If the feature version is set, it will at least have the value 40. If it's not set the device may have StrongBox but it may not support all features listed above.

Java documentation for android.content.pm.PackageManager.FEATURE_STRONGBOX_KEYSTORE.

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.

Applies to