Checks whether the default password is used by the vault.
public boolean isDefaultPasswordUsed()
Returns |
Indicates |
---|---|
true |
Both the default password and the default salt are used to encrypt the vault. |
false |
Either the default password or the default salt is not used to encrypt the vault. |
// Call isDefaultPasswordused() to see if we are using an automatically // generated password (which we are). boolean isDefaultPasswordUsed = oDataVault.isDefaultPasswordUsed();
This code example lacks exception handling. For a code example that includes exception handling, see Developer Guide: Android Object API Applications> Client Object API Usage > Security APIs > DataVault > Code Sample.