Added in API level 34
Summary:
Methods
| Inherited Methods
AuthenticationKeyMetadata
public
final
class
AuthenticationKeyMetadata
extends Object
java.lang.Object | |
↳ | android.security.identity.AuthenticationKeyMetadata |
Data about authentication keys.
Summary
Public methods | |
---|---|
Instant
|
getExpirationDate()
Gets expiration date for the authentication key. |
int
|
getUsageCount()
Gets usage count for the authentication key. |
Inherited methods | |
---|---|
Public methods
getExpirationDate
Added in API level 34
public Instant getExpirationDate ()
Gets expiration date for the authentication key.
Returns | |
---|---|
Instant |
the expiration date of the authentication key.
This value cannot be null . |
getUsageCount
Added in API level 34
public int getUsageCount ()
Gets usage count for the authentication key.
Returns | |
---|---|
int |
the usage count Value is 0 or greater |