-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumMasterKey.KeySchemeAlgorithm/Cipher choices used for the master key.
public final classMasterKey.BuilderBuilder for generating a MasterKey.
-
Field Summary
Fields Modifier and Type Field Description public final static StringDEFAULT_MASTER_KEY_ALIASpublic final static intDEFAULT_AES_GCM_MASTER_KEY_SIZE
-
Method Summary
Modifier and Type Method Description static intgetDefaultAuthenticationValidityDurationSeconds()The default validity period for authentication in seconds. booleanisKeyStoreBacked()Checks if this key is backed by the Android Keystore. booleanisUserAuthenticationRequired()Gets whether user authentication is required to use this key. intgetUserAuthenticationValidityDurationSeconds()Gets the duration in seconds that the key is unlocked for following user authentication. booleanisStrongBoxBacked()Gets whether the key is backed by strong box. StringtoString()-
-
Method Detail
-
getDefaultAuthenticationValidityDurationSeconds
static int getDefaultAuthenticationValidityDurationSeconds()
The default validity period for authentication in seconds.
-
isKeyStoreBacked
boolean isKeyStoreBacked()
Checks if this key is backed by the Android Keystore.
-
isUserAuthenticationRequired
boolean isUserAuthenticationRequired()
Gets whether user authentication is required to use this key.
-
getUserAuthenticationValidityDurationSeconds
int getUserAuthenticationValidityDurationSeconds()
Gets the duration in seconds that the key is unlocked for following user authentication.
-
isStrongBoxBacked
boolean isStrongBoxBacked()
Gets whether the key is backed by strong box.
-
-
-
-