public class SecurityBridge extends BaseSecurityBridge implements ISecurity, APIBridge
apiGroup| Constructor and Description |
|---|
SecurityBridge(ISecurity delegate)
Constructor with delegate.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSecureKeyValuePairs(java.lang.String[] keys,
java.lang.String publicAccessName,
ISecurityResultCallback callback)
Deletes from the device internal storage the entry/entries containing the specified key names.
|
ISecurity |
getDelegate()
Get the delegate implementation.
|
void |
getSecureKeyValuePairs(java.lang.String[] keys,
java.lang.String publicAccessName,
ISecurityResultCallback callback)
Retrieves from the device internal storage the entry/entries containing the specified key names.
|
APIResponse |
invoke(APIRequest request)
Invokes the given method specified in the API request object.
|
boolean |
isDeviceModified()
Returns if the device has been modified in anyhow
|
void |
setDelegate(ISecurity delegate)
Set the delegate implementation.
|
void |
setSecureKeyValuePairs(SecureKeyPair[] keyValues,
java.lang.String publicAccessName,
ISecurityResultCallback callback)
Stores in the device internal storage the specified item/s.
|
getAPIGroup, getAPIVersion, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAPIGroup, getAPIVersionpublic SecurityBridge(ISecurity delegate)
delegate - The delegate implementing platform specific functions.public final ISecurity getDelegate()
public final void setDelegate(ISecurity delegate)
delegate - The delegate implementing platform specific functions.public void deleteSecureKeyValuePairs(java.lang.String[] keys,
java.lang.String publicAccessName,
ISecurityResultCallback callback)
deleteSecureKeyValuePairs in interface ISecuritykeys - Array with the key names to delete.publicAccessName - The name of the shared internal storage object (if needed).callback - callback to be executed upon function result.public void getSecureKeyValuePairs(java.lang.String[] keys,
java.lang.String publicAccessName,
ISecurityResultCallback callback)
getSecureKeyValuePairs in interface ISecuritykeys - Array with the key names to retrieve.publicAccessName - The name of the shared internal storage object (if needed).callback - callback to be executed upon function result.public boolean isDeviceModified()
isDeviceModified in interface ISecuritypublic void setSecureKeyValuePairs(SecureKeyPair[] keyValues, java.lang.String publicAccessName, ISecurityResultCallback callback)
setSecureKeyValuePairs in interface ISecuritykeyValues - Array containing the items to store on the device internal memory.publicAccessName - The name of the shared internal storage object (if needed).callback - callback to be executed upon function result.public APIResponse invoke(APIRequest request)
invoke in interface APIBridgeinvoke in class BaseSecurityBridgerequest - APIRequest object containing method name and parameters.