AuthenticationKeyMetadata
classAuthenticationKeyMetadata
| 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
fungetExpirationDate(): Instant
Deprecated: Use java.security.KeyStore with the Android hardware-backed keystore instead.
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
fungetUsageCount(): Int
Deprecated: Use java.security.KeyStore with the Android hardware-backed keystore instead.
Gets usage count for the authentication key.
| Return | |
|---|---|
Int |
the usage count. Value is 0 or greater |