EMSecureStorageManager Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | EMSecureStorageManager.h |
Overview
The Secure Storage Manager is a high level interface that allows to manage Property Storage objects for storing sensitive data.
– propertyStorageWithIdentifier:error:
required method
Gets Property Storage with the given identifier, creates it if it does not exist.
- (id<EMPropertyStorage>)propertyStorageWithIdentifier:(NSString *)identifier error:(NSError **)anErrorParameters
identifier |
Should not be |
|---|---|
anError |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
The property storage.
Availability
3.1
Declared In
EMSecureStorageManager.h
– hasPropertyStorageWithIdentifier:error:
required method
Check if the property storage of given identifier exists.
- (BOOL)hasPropertyStorageWithIdentifier:(NSString *)identifier error:(NSError **)anErrorParameters
identifier |
Should not be |
|---|---|
anError |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
YES if the property storage exists otherwise returns NO.
Availability
3.1
Declared In
EMSecureStorageManager.h
– destroyPropertyStorageWithIdentifier:error:
required method
Destroys a storage and all data in the storage will be wiped.
- (BOOL)destroyPropertyStorageWithIdentifier:(NSString *)identifier error:(NSError **)anErrorParameters
identifier |
Should not be |
|---|---|
anError |
If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in |
Return Value
YES if destroyed successfully, NO otherwise.
Availability
3.1
Declared In
EMSecureStorageManager.h