2010-12-29 16:31:58 +00:00
|
|
|
package org.thialfihar.android.apg;
|
|
|
|
|
|
|
|
|
|
import java.io.ByteArrayInputStream;
|
|
|
|
|
import java.io.ByteArrayOutputStream;
|
|
|
|
|
import java.io.InputStream;
|
|
|
|
|
import java.io.OutputStream;
|
2011-01-11 17:58:13 +00:00
|
|
|
import java.lang.reflect.Method;
|
2011-01-05 14:07:09 +00:00
|
|
|
import java.util.ArrayList;
|
2011-01-09 19:16:45 +00:00
|
|
|
import java.util.HashMap;
|
2011-01-11 22:24:20 +00:00
|
|
|
import java.util.HashSet;
|
2011-01-05 14:07:09 +00:00
|
|
|
import java.util.Iterator;
|
2011-01-11 22:24:20 +00:00
|
|
|
import java.util.Set;
|
2010-12-29 16:31:58 +00:00
|
|
|
|
|
|
|
|
import android.content.Intent;
|
2011-01-05 14:07:09 +00:00
|
|
|
import android.os.Bundle;
|
2010-12-29 16:31:58 +00:00
|
|
|
import android.os.IBinder;
|
|
|
|
|
import android.util.Log;
|
|
|
|
|
|
|
|
|
|
public class ApgService extends Service {
|
2011-01-09 19:16:45 +00:00
|
|
|
final static String TAG = "ApgService";
|
2010-12-29 16:31:58 +00:00
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public IBinder onBind(Intent intent) {
|
|
|
|
|
Log.d(TAG, "bound");
|
|
|
|
|
return mBinder;
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/** error status */
|
2011-01-05 14:07:09 +00:00
|
|
|
private enum error {
|
|
|
|
|
ARGUMENTS_MISSING,
|
|
|
|
|
APG_FAILURE
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/** all arguments that can be passed by calling application */
|
|
|
|
|
private enum arg {
|
|
|
|
|
MSG, // message to encrypt or to decrypt
|
|
|
|
|
SYM_KEY, // key for symmetric en/decryption
|
|
|
|
|
PUBLIC_KEYS, // public keys for encryption
|
|
|
|
|
ENCRYPTION_ALGO, // encryption algorithm
|
|
|
|
|
HASH_ALGO, // hash algorithm
|
|
|
|
|
ARMORED, // whether to armor output
|
|
|
|
|
FORCE_V3_SIG, // whether to force v3 signature
|
|
|
|
|
COMPRESSION
|
|
|
|
|
// what compression to use for encrypted output
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** all things that might be returned */
|
|
|
|
|
private enum ret {
|
|
|
|
|
ERRORS,
|
|
|
|
|
WARNINGS,
|
|
|
|
|
ERROR,
|
|
|
|
|
RESULT
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** required arguments for each AIDL function */
|
|
|
|
|
private static final HashMap<String, Set<arg>> FUNCTIONS_REQUIRED_ARGS = new HashMap<String, Set<arg>>();
|
|
|
|
|
static {
|
|
|
|
|
HashSet<arg> args = new HashSet<arg>();
|
|
|
|
|
args.add(arg.SYM_KEY);
|
|
|
|
|
args.add(arg.MSG);
|
|
|
|
|
FUNCTIONS_REQUIRED_ARGS.put("encrypt_with_passphrase", args);
|
|
|
|
|
FUNCTIONS_REQUIRED_ARGS.put("decrypt_with_passphrase", args);
|
|
|
|
|
|
|
|
|
|
args = new HashSet<arg>();
|
|
|
|
|
args.add(arg.PUBLIC_KEYS);
|
|
|
|
|
args.add(arg.MSG);
|
|
|
|
|
FUNCTIONS_REQUIRED_ARGS.put("encrypt_with_public_key", args);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** optional arguments for each AIDL function */
|
|
|
|
|
private static final HashMap<String, Set<arg>> FUNCTIONS_OPTIONAL_ARGS = new HashMap<String, Set<arg>>();
|
|
|
|
|
static {
|
|
|
|
|
HashSet<arg> args = new HashSet<arg>();
|
|
|
|
|
args.add(arg.ENCRYPTION_ALGO);
|
|
|
|
|
args.add(arg.HASH_ALGO);
|
|
|
|
|
args.add(arg.ARMORED);
|
|
|
|
|
args.add(arg.FORCE_V3_SIG);
|
|
|
|
|
args.add(arg.COMPRESSION);
|
|
|
|
|
FUNCTIONS_OPTIONAL_ARGS.put("encrypt_with_passphrase", args);
|
|
|
|
|
FUNCTIONS_OPTIONAL_ARGS.put("encrypt_with_public_key", args);
|
|
|
|
|
FUNCTIONS_OPTIONAL_ARGS.put("decrypt_with_passphrase", args);
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-09 19:16:45 +00:00
|
|
|
/** a map from ApgService parameters to function calls to get the default */
|
2011-01-11 22:24:20 +00:00
|
|
|
private static final HashMap<arg, String> FUNCTIONS_DEFAULTS = new HashMap<arg, String>();
|
2011-01-09 19:16:45 +00:00
|
|
|
static {
|
2011-01-11 22:24:20 +00:00
|
|
|
FUNCTIONS_DEFAULTS.put(arg.ENCRYPTION_ALGO, "getDefaultEncryptionAlgorithm");
|
|
|
|
|
FUNCTIONS_DEFAULTS.put(arg.HASH_ALGO, "getDefaultHashAlgorithm");
|
|
|
|
|
FUNCTIONS_DEFAULTS.put(arg.ARMORED, "getDefaultAsciiArmour");
|
|
|
|
|
FUNCTIONS_DEFAULTS.put(arg.FORCE_V3_SIG, "getForceV3Signatures");
|
|
|
|
|
FUNCTIONS_DEFAULTS.put(arg.COMPRESSION, "getDefaultMessageCompression");
|
2011-01-09 19:16:45 +00:00
|
|
|
}
|
|
|
|
|
|
2011-01-11 17:58:13 +00:00
|
|
|
/** a map the default functions to their return types */
|
2011-01-11 22:24:20 +00:00
|
|
|
private static final HashMap<String, Class<?>> FUNCTIONS_DEFAULTS_TYPES = new HashMap<String, Class<?>>();
|
2011-01-11 17:58:13 +00:00
|
|
|
static {
|
|
|
|
|
try {
|
|
|
|
|
FUNCTIONS_DEFAULTS_TYPES.put("getDefaultEncryptionAlgorithm", Preferences.class.getMethod("getDefaultEncryptionAlgorithm").getReturnType());
|
|
|
|
|
FUNCTIONS_DEFAULTS_TYPES.put("getDefaultHashAlgorithm", Preferences.class.getMethod("getDefaultHashAlgorithm").getReturnType());
|
|
|
|
|
FUNCTIONS_DEFAULTS_TYPES.put("getDefaultAsciiArmour", Preferences.class.getMethod("getDefaultAsciiArmour").getReturnType());
|
|
|
|
|
FUNCTIONS_DEFAULTS_TYPES.put("getForceV3Signatures", Preferences.class.getMethod("getForceV3Signatures").getReturnType());
|
|
|
|
|
FUNCTIONS_DEFAULTS_TYPES.put("getDefaultMessageCompression", Preferences.class.getMethod("getDefaultMessageCompression").getReturnType());
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
Log.e(TAG, "Function default exception: " + e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** a map the default function names to their method */
|
2011-01-11 22:24:20 +00:00
|
|
|
private static final HashMap<String, Method> FUNCTIONS_DEFAULTS_METHODS = new HashMap<String, Method>();
|
2011-01-11 17:58:13 +00:00
|
|
|
static {
|
|
|
|
|
try {
|
|
|
|
|
FUNCTIONS_DEFAULTS_METHODS.put("getDefaultEncryptionAlgorithm", Preferences.class.getMethod("getDefaultEncryptionAlgorithm"));
|
|
|
|
|
FUNCTIONS_DEFAULTS_METHODS.put("getDefaultHashAlgorithm", Preferences.class.getMethod("getDefaultHashAlgorithm"));
|
|
|
|
|
FUNCTIONS_DEFAULTS_METHODS.put("getDefaultAsciiArmour", Preferences.class.getMethod("getDefaultAsciiArmour"));
|
|
|
|
|
FUNCTIONS_DEFAULTS_METHODS.put("getForceV3Signatures", Preferences.class.getMethod("getForceV3Signatures"));
|
|
|
|
|
FUNCTIONS_DEFAULTS_METHODS.put("getDefaultMessageCompression", Preferences.class.getMethod("getDefaultMessageCompression"));
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
Log.e(TAG, "Function method exception: " + e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-09 19:16:45 +00:00
|
|
|
/**
|
|
|
|
|
* Add default arguments if missing
|
|
|
|
|
*
|
|
|
|
|
* @param args
|
|
|
|
|
* the bundle to add default parameters to if missing
|
|
|
|
|
*
|
|
|
|
|
*/
|
2011-01-11 22:24:20 +00:00
|
|
|
private void add_default_arguments(Bundle args) {
|
2011-01-09 19:16:45 +00:00
|
|
|
Preferences _mPreferences = Preferences.getPreferences(getBaseContext(), true);
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
Iterator<arg> _iter = FUNCTIONS_DEFAULTS.keySet().iterator();
|
2011-01-09 19:16:45 +00:00
|
|
|
while (_iter.hasNext()) {
|
2011-01-11 22:24:20 +00:00
|
|
|
arg _current_arg = _iter.next();
|
|
|
|
|
String _current_key = _current_arg.name();
|
2011-01-09 19:16:45 +00:00
|
|
|
if (!args.containsKey(_current_key)) {
|
2011-01-11 22:24:20 +00:00
|
|
|
String _current_function_name = FUNCTIONS_DEFAULTS.get(_current_arg);
|
2011-01-09 19:16:45 +00:00
|
|
|
try {
|
2011-01-11 22:24:20 +00:00
|
|
|
Class<?> _ret_type = FUNCTIONS_DEFAULTS_TYPES.get(_current_function_name);
|
2011-01-09 19:16:45 +00:00
|
|
|
if (_ret_type == String.class) {
|
2011-01-11 17:58:13 +00:00
|
|
|
args.putString(_current_key, (String) FUNCTIONS_DEFAULTS_METHODS.get(_current_function_name).invoke(_mPreferences));
|
2011-01-09 19:16:45 +00:00
|
|
|
} else if (_ret_type == boolean.class) {
|
2011-01-11 17:58:13 +00:00
|
|
|
args.putBoolean(_current_key, (Boolean) FUNCTIONS_DEFAULTS_METHODS.get(_current_function_name).invoke(_mPreferences));
|
2011-01-09 19:16:45 +00:00
|
|
|
} else if (_ret_type == int.class) {
|
2011-01-11 17:58:13 +00:00
|
|
|
args.putInt(_current_key, (Integer) FUNCTIONS_DEFAULTS_METHODS.get(_current_function_name).invoke(_mPreferences));
|
2011-01-09 19:16:45 +00:00
|
|
|
} else {
|
|
|
|
|
Log.e(TAG, "Unknown return type " + _ret_type.toString() + " for default option");
|
|
|
|
|
}
|
|
|
|
|
} catch (Exception e) {
|
2011-01-11 22:24:20 +00:00
|
|
|
Log.e(TAG, "Exception in add_default_arguments " + e.getMessage());
|
2011-01-09 19:16:45 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/**
|
|
|
|
|
* updates a Bundle with default return values
|
|
|
|
|
*
|
|
|
|
|
* @param pReturn
|
|
|
|
|
* the Bundle to update
|
|
|
|
|
*/
|
|
|
|
|
private void add_default_returns(Bundle pReturn) {
|
|
|
|
|
ArrayList<String> errors = new ArrayList<String>();
|
|
|
|
|
ArrayList<String> warnings = new ArrayList<String>();
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.putStringArrayList(ret.ERRORS.name(), errors);
|
|
|
|
|
pReturn.putStringArrayList(ret.WARNINGS.name(), warnings);
|
|
|
|
|
}
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/**
|
|
|
|
|
* checks for required arguments and adds them to the error if missing
|
|
|
|
|
*
|
|
|
|
|
* @param function
|
|
|
|
|
* the functions required arguments to check for
|
|
|
|
|
* @param pArgs
|
|
|
|
|
* the Bundle of arguments to check
|
|
|
|
|
* @param pReturn
|
|
|
|
|
* the bundle to write errors to
|
|
|
|
|
*/
|
|
|
|
|
private void check_required_args(String function, Bundle pArgs, Bundle pReturn) {
|
|
|
|
|
Iterator<arg> _iter = FUNCTIONS_REQUIRED_ARGS.get(function).iterator();
|
|
|
|
|
while (_iter.hasNext()) {
|
|
|
|
|
String _cur_arg = _iter.next().name();
|
|
|
|
|
if (!pArgs.containsKey(_cur_arg)) {
|
|
|
|
|
pReturn.getStringArrayList(ret.ERRORS.name()).add("Argument missing: " + _cur_arg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/**
|
|
|
|
|
* checks for unknown arguments and add them to warning if found
|
|
|
|
|
*
|
|
|
|
|
* @param function
|
|
|
|
|
* the functions name to check against
|
|
|
|
|
* @param pArgs
|
|
|
|
|
* the Bundle of arguments to check
|
|
|
|
|
* @param pReturn
|
|
|
|
|
* the bundle to write warnings to
|
|
|
|
|
*/
|
|
|
|
|
private void check_unknown_args(String function, Bundle pArgs, Bundle pReturn) {
|
|
|
|
|
HashSet<arg> all_args = new HashSet<arg>(FUNCTIONS_REQUIRED_ARGS.get(function));
|
|
|
|
|
all_args.addAll(FUNCTIONS_OPTIONAL_ARGS.get(function));
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
Iterator<String> _iter = pArgs.keySet().iterator();
|
|
|
|
|
while (_iter.hasNext()) {
|
|
|
|
|
String _cur_key = _iter.next();
|
|
|
|
|
try {
|
|
|
|
|
arg.valueOf(_cur_key);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
pReturn.getStringArrayList(ret.WARNINGS.name()).add("Unknown argument: " + _cur_key);
|
|
|
|
|
}
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
}
|
|
|
|
|
}
|
2011-01-09 19:16:45 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
private final IApgService.Stub mBinder = new IApgService.Stub() {
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
public boolean encrypt_with_passphrase(Bundle pArgs, Bundle pReturn) {
|
|
|
|
|
/* add default return values for all functions */
|
|
|
|
|
add_default_returns(pReturn);
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* add default arguments if missing */
|
|
|
|
|
add_default_arguments(pArgs);
|
|
|
|
|
Log.d(TAG, "add_default_arguments");
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* check for required arguments */
|
|
|
|
|
check_required_args("encrypt_with_passphrase", pArgs, pReturn);
|
|
|
|
|
Log.d(TAG, "check_required_args");
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* check for unknown arguments and add to warning if found */
|
|
|
|
|
check_unknown_args("encrypt_with_passphrase", pArgs, pReturn);
|
|
|
|
|
Log.d(TAG, "check_unknown_args");
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-09 19:16:45 +00:00
|
|
|
/* return if errors happened */
|
2011-01-11 22:24:20 +00:00
|
|
|
if (pReturn.getStringArrayList(ret.ERRORS.name()).size() != 0) {
|
|
|
|
|
pReturn.putInt(ret.ERROR.name(), error.ARGUMENTS_MISSING.ordinal());
|
2011-01-05 14:07:09 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-01-11 22:24:20 +00:00
|
|
|
Log.d(TAG, "error return");
|
2011-01-04 23:08:08 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
InputStream _inStream = new ByteArrayInputStream(pArgs.getString(arg.MSG.name()).getBytes());
|
2011-01-11 17:58:13 +00:00
|
|
|
InputData _in = new InputData(_inStream, 0); // XXX Size second
|
|
|
|
|
// param?
|
2011-01-09 19:16:22 +00:00
|
|
|
OutputStream _out = new ByteArrayOutputStream();
|
2010-12-29 16:31:58 +00:00
|
|
|
|
|
|
|
|
Apg.initialize(getApplicationContext());
|
|
|
|
|
try {
|
2011-01-04 23:08:08 +00:00
|
|
|
Apg.encrypt(getApplicationContext(), // context
|
2011-01-09 19:16:22 +00:00
|
|
|
_in, // input stream
|
|
|
|
|
_out, // output stream
|
2011-01-11 22:24:20 +00:00
|
|
|
pArgs.getBoolean(arg.ARMORED.name()), // armored
|
2011-01-09 19:16:45 +00:00
|
|
|
new long[0], // encryption keys
|
2010-12-29 16:31:58 +00:00
|
|
|
0, // signature key
|
|
|
|
|
null, // signature passphrase
|
|
|
|
|
null, // progress
|
2011-01-11 22:24:20 +00:00
|
|
|
pArgs.getInt(arg.ENCRYPTION_ALGO.name()), // encryption
|
|
|
|
|
pArgs.getInt(arg.HASH_ALGO.name()), // hash
|
|
|
|
|
pArgs.getInt(arg.COMPRESSION.name()), // compression
|
|
|
|
|
pArgs.getBoolean(arg.FORCE_V3_SIG.name()), // mPreferences.getForceV3Signatures(),
|
|
|
|
|
pArgs.getString(arg.SYM_KEY.name()) // passPhrase
|
2010-12-29 16:31:58 +00:00
|
|
|
);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
Log.d(TAG, "Exception in encrypt");
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.getStringArrayList(ret.ERRORS.name()).add("Internal failure in APG when encrypting: " + e.getMessage());
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.putInt(ret.ERROR.name(), error.APG_FAILURE.ordinal());
|
2011-01-05 14:07:09 +00:00
|
|
|
return false;
|
2010-12-29 16:31:58 +00:00
|
|
|
}
|
|
|
|
|
Log.d(TAG, "Encrypted");
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.putString(ret.RESULT.name(), _out.toString());
|
2011-01-05 14:07:09 +00:00
|
|
|
return true;
|
2010-12-29 16:31:58 +00:00
|
|
|
}
|
|
|
|
|
|
2011-01-05 14:07:09 +00:00
|
|
|
public boolean decrypt_with_passphrase(Bundle pArgs, Bundle pReturn) {
|
2011-01-11 22:24:20 +00:00
|
|
|
/* add default return values for all functions */
|
|
|
|
|
add_default_returns(pReturn);
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* add default arguments if missing */
|
|
|
|
|
add_default_arguments(pArgs);
|
|
|
|
|
Log.d(TAG, "add_default_arguments");
|
2011-01-09 19:16:22 +00:00
|
|
|
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* check required args */
|
|
|
|
|
check_required_args("decrypt_with_passphrase", pArgs, pReturn);
|
|
|
|
|
Log.d(TAG, "check_required_args");
|
2011-01-05 14:07:09 +00:00
|
|
|
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
/* check for unknown args and add to warning */
|
|
|
|
|
check_unknown_args("decrypt_with_passphrase", pArgs, pReturn);
|
|
|
|
|
Log.d(TAG, "check_unknown_args");
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
|
|
|
|
|
/* return if errors happened */
|
|
|
|
|
if (pReturn.getStringArrayList(ret.ERRORS.name()).size() != 0) {
|
|
|
|
|
pReturn.putInt(ret.ERROR.name(), error.ARGUMENTS_MISSING.ordinal());
|
2011-01-05 14:07:09 +00:00
|
|
|
return false;
|
|
|
|
|
}
|
2011-01-04 23:08:08 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
InputStream inStream = new ByteArrayInputStream(pArgs.getString(arg.MSG.name()).getBytes());
|
2011-01-11 17:58:13 +00:00
|
|
|
InputData in = new InputData(inStream, 0); // XXX what size in
|
2011-01-04 23:08:08 +00:00
|
|
|
// second parameter?
|
2010-12-29 16:31:58 +00:00
|
|
|
OutputStream out = new ByteArrayOutputStream();
|
|
|
|
|
try {
|
2011-01-11 22:24:20 +00:00
|
|
|
Apg.decrypt(getApplicationContext(), in, out, pArgs.getString(arg.SYM_KEY.name()), null, // progress
|
2010-12-29 16:31:58 +00:00
|
|
|
true // symmetric
|
|
|
|
|
);
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
Log.d(TAG, "Exception in decrypt");
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.getStringArrayList(ret.ERRORS.name()).add("Internal failure in APG when decrypting: " + e.getMessage());
|
2011-01-05 14:07:09 +00:00
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.putInt(ret.ERROR.name(), error.APG_FAILURE.ordinal());
|
2011-01-05 14:07:09 +00:00
|
|
|
return false;
|
2010-12-29 16:31:58 +00:00
|
|
|
}
|
|
|
|
|
|
2011-01-11 22:24:20 +00:00
|
|
|
pReturn.putString(ret.RESULT.name(), out.toString());
|
2011-01-05 14:07:09 +00:00
|
|
|
return true;
|
2010-12-29 16:31:58 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|