AuthenticationKeyMetadata
public
final
class
AuthenticationKeyMetadata
extends Object
| java.lang.Object | |
| ↳ | android.security.identity.AuthenticationKeyMetadata |
This class was deprecated
in API level 10000.
Use java.security.KeyStore with the Android hardware-backed keystore instead.
Data about authentication keys.
Summary
Public methods | |
|---|---|
Instant
|
getExpirationDate()
This method is deprecated.
Use |
int
|
getUsageCount()
This method is deprecated.
Use |
Inherited methods | |
|---|---|
Public methods
getExpirationDate
public Instant getExpirationDate ()
This method is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore
instead.
Gets expiration date for the authentication key.
| Returns | |
|---|---|
Instant |
the expiration date of the authentication key.
This value cannot be null. |
getUsageCount
public int getUsageCount ()
This method is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore
instead.
Gets usage count for the authentication key.
| Returns | |
|---|---|
int |
the usage count.
Value is 0 or greater |