MasterKeyKt
Added in 1.1.0
public final class MasterKeyKt
Summary
Public methods |
|
|---|---|
static final @NonNull MasterKey |
This method is deprecated. Use Android Keystore directly instead |
Public methods
MasterKey
public static final @NonNull MasterKeyMasterKey(
@NonNull Context context,
@NonNull String keyAlias,
@NonNull MasterKey.KeyScheme keyScheme,
boolean authenticationRequired,
int userAuthenticationValidityDurationSeconds,
boolean requestStrongBoxBacked
)
Creates a MasterKey with the provided parameters.
| Parameters | |
|---|---|
@NonNull Context context |
The context to work with. |
@NonNull String keyAlias |
The alias to use for the |
@NonNull MasterKey.KeyScheme keyScheme |
The |
boolean authenticationRequired |
|
int userAuthenticationValidityDurationSeconds |
Duration in seconds that the |
boolean requestStrongBoxBacked |
|