IdentityCredential
Class used to read data from a previously provisioned credential. Use getCredentialByName to get a IdentityCredential instance.
Functions
Link copied to clipboard
Create an ephemeral key pair to use to establish a secure channel with a reader.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get the expiration times of dynamic authentication keys.
Link copied to clipboard
Get the number of times the dynamic authentication keys have been used.
Link copied to clipboard
Gets a collection of dynamic authentication keys that need certification.
Link copied to clipboard
Gets the X.509 certificate chain for the CredentialKey which identifies this credential to the issuing authority.
Link copied to clipboard
Gets a BiometricPrompt.CryptoObject which can be used with this IdentityCredential.
Link copied to clipboard
abstract fun getEntries(@Nullable requestMessage: Array<Byte>, @NonNull entriesToRequest: Map<String, Collection<String>>, @Nullable readerSignature: Array<Byte>): ResultData
Retrieve data entries and associated data from this
IdentityCredential
.Link copied to clipboard
Looks up the next static authentication key to use.
Link copied to clipboard
Link copied to clipboard
Sets whether to allow using an authentication key which use count has been exceeded if no other key is available.
Link copied to clipboard
Sets whether to allow using an authentication key which has been expired if no other key is available.
Link copied to clipboard
Sets the number of dynamic authentication keys the
IdentityCredential
will maintain, and the number of times each should be used.open fun setAvailableAuthenticationKeys(keyCount: Int, maxUsesPerKey: Int, minValidTimeMillis: Long)
Sets the number of dynamic authentication keys the
IdentityCredential
will maintain, the number of times each should be used, and the minimum amount of time it's valid for.Link copied to clipboard
Sets whether the usage count of an authentication key should be increased.
Link copied to clipboard
Set the ephemeral public key provided by the reader.
Link copied to clipboard
Set the session transcript.
Link copied to clipboard
abstract fun storeStaticAuthenticationData(@NonNull authenticationKey: X509Certificate, @NonNull staticAuthData: Array<Byte>)
open fun storeStaticAuthenticationData(@NonNull authenticationKey: X509Certificate, @NonNull expirationDate: Calendar, @NonNull staticAuthData: Array<Byte>)
Store authentication data associated with a dynamic authentication key.