Added in API level 34

AuthenticationKeyMetadata


class AuthenticationKeyMetadata
kotlin.Any
   ↳ android.security.identity.AuthenticationKeyMetadata

Data about authentication keys.

Summary

Public methods
Instant

Gets expiration date for the authentication key.

Int

Gets usage count for the authentication key.

Public methods

getExpirationDate

Added in API level 34
fun getExpirationDate(): Instant

Gets expiration date for the authentication key.

Return
Instant the expiration date of the authentication key. This value cannot be null.

getUsageCount

Added in API level 34
fun getUsageCount(): Int

Gets usage count for the authentication key.

Return
Int the usage count Value is 0 or greater