共用方式為


PackageManager.FeatureStrongboxKeystore 欄位

定義

#getSystemAvailableFeatures#hasSystemFeature(String)#hasSystemFeature(String, int)的功能:如果支援此功能,裝置會實作由專用安全處理器支援的 Android Keystore,稱為 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

欄位值

屬性

備註

#getSystemAvailableFeatures#hasSystemFeature(String)#hasSystemFeature(String, int)的功能:如果支援此功能,裝置會實作由稱為 StrongBox 的專用安全處理器所支援的 Android Keystore。 如果此功能有版本,版本號碼會指出哪些功能已在 StrongBox 中實作:ul>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),選擇性支援標識元證明(請參閱)、證明(請參閱android.security.keystore.KeyGenParameterSpec.Builder#setDevicePropertiesAttestationIncluded(boolean)android.security.keystore.KeyGenParameterSpec.Builder#setAttestationChallenge(byte[]))、AES、HMAC、ECDSA 和 RSA 支援,其中秘密或私鑰永遠不會離開安全硬體,以及要求使用者驗證才能使用密鑰的支援。 </ul> 如果裝置具有 StrongBox,則所有使用 Android 12 啟動的裝置都保證會設定此功能版本號碼,而且可以在以舊版啟動的裝置上設定。 如果設定功能版本,它至少會有值 40。 如果未設定裝置,裝置可能會有 StrongBox,但可能不支援上面所列的所有功能。

android.content.pm.PackageManager.FEATURE_STRONGBOX_KEYSTOREJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於