Checks whether the default password is used by the vault.
- (BOOL)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 are not used to encrypt the vault. |
// isDefaultPasswordused should return YES as nil is passed as password in previous step BOOL isDefaultPasswordUsed = [dataVault isDefaultPasswordUsed];
This code example lacks exception handling. For a code example that includes exception handling, see Developer Guide: OData SDK > Developing iOS Applications > ODK SDK API Usage > Security APIs > DataVault.