AttestedKeyPair.AttestationRecord Property

Definition

Returns the attestation record for the key pair in this instance.

public System.Collections.Generic.IList<Java.Security.Cert.Certificate> AttestationRecord { [Android.Runtime.Register("getAttestationRecord", "()Ljava/util/List;", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getAttestationRecord", "()Ljava/util/List;", "", ApiSince=28)>]
member this.AttestationRecord : System.Collections.Generic.IList<Java.Security.Cert.Certificate>

Property Value

Attributes

Remarks

Returns the attestation record for the key pair in this instance.

The attestation record is a chain of certificates. The leaf certificate links to the public key of this key pair and other properties of the key or the device. If the key is in secure hardware, and if the secure hardware supports attestation, the leaf certificate will be signed by a chain of certificates rooted at a trustworthy CA key. Otherwise the chain will be rooted at an untrusted certificate.

The attestation record could be for properties of the key, or include device identifiers.

See android.security.keystore.KeyGenParameterSpec.Builder#setAttestationChallenge and Key Attestation for the format of the attestation record inside the certificate.

Java documentation for android.security.AttestedKeyPair.getAttestationRecord().

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