PackageManager.FeatureStrongboxKeystore 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
功能 #getSystemAvailableFeatures、 #hasSystemFeature(String)、 #hasSystemFeature(String, int)及 :若支援此功能,裝置將實作 Android Keystore,並由專用安全處理器支援,稱為
保險箱。
[Android.Runtime.Register("FEATURE_STRONGBOX_KEYSTORE", ApiSince=28)]
public const string FeatureStrongboxKeystore;
[<Android.Runtime.Register("FEATURE_STRONGBOX_KEYSTORE", ApiSince=28)>]
val mutable FeatureStrongboxKeystore : string
欄位值
- 屬性
備註
功能 #getSystemAvailableFeatures、 #hasSystemFeature(String)、 #hasSystemFeature(String, int)及 :若支援此功能,裝置將實作 Android Keystore,並由專用安全處理器 StrongBox 支援。 若此功能有版本,版本號表示 StrongBox 實作了哪些功能: <ul><li>400:在證明記錄中包含模組資訊(透過標籤 MODULE_HASH)。
<li>300:可在身份驗證記錄中包含第二個IMEI,詳見 android.app.admin.DevicePolicyManager#ID_TYPE_IMEI。
<li>200:StrongBox 沒有新功能(Android Keystore 環境由獨立執行環境支援,但此版本已支援 Curve 25519,但由專用安全處理器支援的實作預計不會實現)。
<li>100:ECDH 硬體支援(見 javax.crypto.KeyAgreement)及應用程式產生的證明金鑰支援(見 android.security.keystore.KeyGenParameterSpec.Builder#setAttestKeyAlias(String))。
<LI>41:裝置解鎖金鑰的硬體強制執行(參見 android.security.keystore.KeyGenParameterSpec.Builder#setUnlockedDeviceRequired(boolean))。
<LI>40:支援封裝金鑰匯入(見), android.security.keystore.WrappedKeyEntry可選支援 ID 證明(見), android.security.keystore.KeyGenParameterSpec.Builder#setDevicePropertiesAttestationIncluded(boolean)證明(見), android.security.keystore.KeyGenParameterSpec.Builder#setAttestationChallenge(byte[])AES、HMAC、ECDSA 及 RSA 支援,秘密或私鑰永不離開安全硬體,並支援要求使用者驗證後才能使用金鑰。
</ul> 如果裝置有 StrongBox,這個功能版本號保證會設定在所有搭載 Android 12 的裝置上,且可能設定在使用較早期版本的裝置上。 如果功能版本設定為 40,至少會有 40 的值。 如果沒有設定,裝置可能有 StrongBox,但可能不支援上述所有功能。
Java 文件 android.content.pm.PackageManager.FEATURE_STRONGBOX_KEYSTORE。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。