title: Sample code showing how to use Android ID Attestation
body: <p>Android 8 added 'ID attestation' (according to <a href="https://source.android.com/security/keystore/attestation#id-attestation" rel="noreferrer">https://source.android.com/security/keystore/attestation#id-attestation</a>).</p>
  
  <p>Has anyone figured out how to use this feature? The closest I've found is <code>AttestationUtils.java</code> (<a href="https://android.googlesource.com/platform/frameworks/base/+/master/keystore/java/android/security/keystore/AttestationUtils.java" rel="noreferrer">https://android.googlesource.com/platform/frameworks/base/+/master/keystore/java/android/security/keystore/AttestationUtils.java</a>), but I don't any of those APIs ship with the Android SDK. They don't appear in my IDE when using the <code>P</code> developer preview (<code>compileSdkVersion 'android-P'</code> and <code>targetSdkVersion 'P'</code>).</p>