storeStaticAuthenticationData

open fun storeStaticAuthenticationData(@NonNull authenticationKey: X509Certificate, @NonNull expirationDate: Calendar, @NonNull staticAuthData: Array<Byte>)

Store authentication data associated with a dynamic authentication key.

This should only be called for an authenticated key returned by getAuthKeysNeedingCertification.

This is only implemented on FEATURE_VERSION_202101, fails with UnsupportedOperationException if using a store with a lesser version.

Parameters

authenticationKey

The dynamic authentication key for which certification and associated static authentication data is being provided.

expirationDate

The expiration date of the static authentication data.

staticAuthData

Static authentication data provided by the issuer that validates the authenticity and integrity of the credential data fields.

Throws

If the given authentication key is not recognized.


abstract fun storeStaticAuthenticationData(@NonNull authenticationKey: X509Certificate, @NonNull staticAuthData: Array<Byte>)

Deprecated

Use storeStaticAuthenticationData instead.

Store authentication data associated with a dynamic authentication key.

This should only be called for an authenticated key returned by getAuthKeysNeedingCertification.

Parameters

authenticationKey

The dynamic authentication key for which certification and associated static authentication data is being provided.

staticAuthData

Static authentication data provided by the issuer that validates the authenticity and integrity of the credential data fields.

Throws

If the given authentication key is not recognized.