Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# android.security.identity

*** ** * ** ***

## Interfaces

|---|---|
| [CredentialDataResult.Entries](https://developer.android.com/reference/android/security/identity/CredentialDataResult.Entries) | *This interface was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |

## Classes

|---|---|
| [AccessControlProfile](https://developer.android.com/reference/android/security/identity/AccessControlProfile) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [AccessControlProfile.Builder](https://developer.android.com/reference/android/security/identity/AccessControlProfile.Builder) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [AccessControlProfileId](https://developer.android.com/reference/android/security/identity/AccessControlProfileId) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [AuthenticationKeyMetadata](https://developer.android.com/reference/android/security/identity/AuthenticationKeyMetadata) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [CredentialDataRequest](https://developer.android.com/reference/android/security/identity/CredentialDataRequest) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [CredentialDataRequest.Builder](https://developer.android.com/reference/android/security/identity/CredentialDataRequest.Builder) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [CredentialDataResult](https://developer.android.com/reference/android/security/identity/CredentialDataResult) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [IdentityCredential](https://developer.android.com/reference/android/security/identity/IdentityCredential) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [IdentityCredentialStore](https://developer.android.com/reference/android/security/identity/IdentityCredentialStore) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [PersonalizationData](https://developer.android.com/reference/android/security/identity/PersonalizationData) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [PersonalizationData.Builder](https://developer.android.com/reference/android/security/identity/PersonalizationData.Builder) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [PresentationSession](https://developer.android.com/reference/android/security/identity/PresentationSession) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [ResultData](https://developer.android.com/reference/android/security/identity/ResultData) | *This class was deprecated in API level 33. Use `https://developer.android.com/reference/android/security/identity/PresentationSession` instead.* |
| [WritableIdentityCredential](https://developer.android.com/reference/android/security/identity/WritableIdentityCredential) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |

## Exceptions

|---|---|
| [AlreadyPersonalizedException](https://developer.android.com/reference/android/security/identity/AlreadyPersonalizedException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [CipherSuiteNotSupportedException](https://developer.android.com/reference/android/security/identity/CipherSuiteNotSupportedException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [DocTypeNotSupportedException](https://developer.android.com/reference/android/security/identity/DocTypeNotSupportedException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [EphemeralPublicKeyNotFoundException](https://developer.android.com/reference/android/security/identity/EphemeralPublicKeyNotFoundException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [IdentityCredentialException](https://developer.android.com/reference/android/security/identity/IdentityCredentialException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [InvalidReaderSignatureException](https://developer.android.com/reference/android/security/identity/InvalidReaderSignatureException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [InvalidRequestMessageException](https://developer.android.com/reference/android/security/identity/InvalidRequestMessageException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [MessageDecryptionException](https://developer.android.com/reference/android/security/identity/MessageDecryptionException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [NoAuthenticationKeyAvailableException](https://developer.android.com/reference/android/security/identity/NoAuthenticationKeyAvailableException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [SessionTranscriptMismatchException](https://developer.android.com/reference/android/security/identity/SessionTranscriptMismatchException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |
| [UnknownAuthenticationKeyException](https://developer.android.com/reference/android/security/identity/UnknownAuthenticationKeyException) | *This class was deprecated in API level 37.2. Use `java.security.KeyStore` with the Android hardware-backed keystore instead.* |

-

  ## Interfaces

  - [CredentialDataResult.Entries](https://developer.android.com/reference/android/security/identity/CredentialDataResult.Entries)
-

  ## Classes

  - [AccessControlProfile](https://developer.android.com/reference/android/security/identity/AccessControlProfile)
  - [AccessControlProfile.Builder](https://developer.android.com/reference/android/security/identity/AccessControlProfile.Builder)
  - [AccessControlProfileId](https://developer.android.com/reference/android/security/identity/AccessControlProfileId)
  - [AuthenticationKeyMetadata](https://developer.android.com/reference/android/security/identity/AuthenticationKeyMetadata)
  - [CredentialDataRequest](https://developer.android.com/reference/android/security/identity/CredentialDataRequest)
  - [CredentialDataRequest.Builder](https://developer.android.com/reference/android/security/identity/CredentialDataRequest.Builder)
  - [CredentialDataResult](https://developer.android.com/reference/android/security/identity/CredentialDataResult)
  - [IdentityCredential](https://developer.android.com/reference/android/security/identity/IdentityCredential)
  - [IdentityCredentialStore](https://developer.android.com/reference/android/security/identity/IdentityCredentialStore)
  - [PersonalizationData](https://developer.android.com/reference/android/security/identity/PersonalizationData)
  - [PersonalizationData.Builder](https://developer.android.com/reference/android/security/identity/PersonalizationData.Builder)
  - [PresentationSession](https://developer.android.com/reference/android/security/identity/PresentationSession)
  - [ResultData](https://developer.android.com/reference/android/security/identity/ResultData)
  - [WritableIdentityCredential](https://developer.android.com/reference/android/security/identity/WritableIdentityCredential)
-

  ## Exceptions

  - [AlreadyPersonalizedException](https://developer.android.com/reference/android/security/identity/AlreadyPersonalizedException)
  - [CipherSuiteNotSupportedException](https://developer.android.com/reference/android/security/identity/CipherSuiteNotSupportedException)
  - [DocTypeNotSupportedException](https://developer.android.com/reference/android/security/identity/DocTypeNotSupportedException)
  - [EphemeralPublicKeyNotFoundException](https://developer.android.com/reference/android/security/identity/EphemeralPublicKeyNotFoundException)
  - [IdentityCredentialException](https://developer.android.com/reference/android/security/identity/IdentityCredentialException)
  - [InvalidReaderSignatureException](https://developer.android.com/reference/android/security/identity/InvalidReaderSignatureException)
  - [InvalidRequestMessageException](https://developer.android.com/reference/android/security/identity/InvalidRequestMessageException)
  - [MessageDecryptionException](https://developer.android.com/reference/android/security/identity/MessageDecryptionException)
  - [NoAuthenticationKeyAvailableException](https://developer.android.com/reference/android/security/identity/NoAuthenticationKeyAvailableException)
  - [SessionTranscriptMismatchException](https://developer.android.com/reference/android/security/identity/SessionTranscriptMismatchException)
  - [UnknownAuthenticationKeyException](https://developer.android.com/reference/android/security/identity/UnknownAuthenticationKeyException)