Stay organized with collections Save and categorize content based on your preferences.

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

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

public int getUsageCount ()

Gets usage count for the authentication key.

Returns
int the usage count Value is 0 or greater