Share via


KeyGenParameterSpec.IsDevicePropertiesAttestationIncluded Property

Definition

Returns true if attestation for the base device properties (Build#BRAND, Build#DEVICE, Build#MANUFACTURER, Build#MODEL, Build#PRODUCT) was requested to be added in the attestation certificate for the generated key.

public bool IsDevicePropertiesAttestationIncluded { [Android.Runtime.Register("isDevicePropertiesAttestationIncluded", "()Z", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("isDevicePropertiesAttestationIncluded", "()Z", "", ApiSince=31)>]
member this.IsDevicePropertiesAttestationIncluded : bool

Property Value

Attributes

Remarks

Returns true if attestation for the base device properties (Build#BRAND, Build#DEVICE, Build#MANUFACTURER, Build#MODEL, Build#PRODUCT) was requested to be added in the attestation certificate for the generated key.

javax.crypto.KeyGenerator#generateKey() will throw java.security.ProviderException if device properties attestation fails or is not supported.

Java documentation for android.security.keystore.KeyGenParameterSpec.isDevicePropertiesAttestationIncluded().

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