|
@ -96,12 +96,6 @@ public class SecurityKeypadRequestParamBuilder |
|
|
Intent newIntent = new Intent(context, |
|
|
Intent newIntent = new Intent(context, |
|
|
TransKeyActivity.class); |
|
|
TransKeyActivity.class); |
|
|
|
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_NUMBER //숫자전용 |
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_QWERTY_LOWER //소문자 쿼티 |
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_QWERTY_UPPER //대문자 쿼티 |
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_ABCD_LOWER //소문자 순열자판 |
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_ABCD_UPPER //대문자 순열자판 |
|
|
|
|
|
//public static final int mTK_TYPE_KEYPAD_SYMBOL //심벌자판 |
|
|
|
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_KEYPAD_TYPE, keyPadType); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_KEYPAD_TYPE, keyPadType); |
|
|
|
|
|
|
|
@ -125,11 +119,9 @@ public class SecurityKeypadRequestParamBuilder |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TOAST_MIN_ALERT , false); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TOAST_MIN_ALERT , false); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TOAST_MAX_ALERT,false); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TOAST_MAX_ALERT,false); |
|
|
|
|
|
|
|
|
//newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_CUSTOM_MAX_ALERT , false); |
|
|
|
|
|
//newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_CUSTOM_MIN_ALERT,false); |
|
|
|
|
|
|
|
|
|
|
|
//--> SERVER 연동테스트 |
|
|
//--> SERVER 연동테스트 |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_CRYPT_TYPE, TransKeyActivity.mTK_TYPE_CRYPT_SERVER); |
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_CRYPT_TYPE, TransKeyActivity.mTK_TYPE_CRYPT_LOCAL); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_SECURE_KEY, secureKey); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_SECURE_KEY, secureKey); |
|
|
|
|
|
|
|
|
//<-- SERVER 연동테스트 |
|
|
//<-- SERVER 연동테스트 |
|
@ -152,11 +144,6 @@ public class SecurityKeypadRequestParamBuilder |
|
|
//심볼 변환 버튼을 비활성화 시킬 경우 팝업 메시지를 설정한다. |
|
|
//심볼 변환 버튼을 비활성화 시킬 경우 팝업 메시지를 설정한다. |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_DISABLE_SYMBOL_MESSAGE, "심볼키는 사용할 수 없습니다."); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_DISABLE_SYMBOL_MESSAGE, "심볼키는 사용할 수 없습니다."); |
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////// |
|
|
|
|
|
//인터페이스 - line3 padding 값 설정 가능 인자. 기본은 0 값이면 아무 설정 안했을 시 원래 transkey에서 제공하던 값을 제공한다.. |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_KEYPAD_MARGIN, line3Padding); |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_KEYPAD_LEFT_RIGHT_MARGIN, 0); |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_KEYPAD_HIGHEST_TOP_MARGIN, 2); |
|
|
|
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TALKBACK, true); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_TALKBACK, true); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_SUPPORT_ACCESSIBILITY_SPEAK_PASSWORD, true); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_SUPPORT_ACCESSIBILITY_SPEAK_PASSWORD, true); |
|
@ -169,52 +156,22 @@ public class SecurityKeypadRequestParamBuilder |
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMPAD_USE_CANCEL_BUTTON, true); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMPAD_USE_CANCEL_BUTTON, true); |
|
|
|
|
|
|
|
|
// |
|
|
|
|
|
// String originalPassword = "acc4af609fad57f1cd870a5d94092a24be5fd974"; |
|
|
|
|
|
// byte[] pbkdfKey = toByteArray(originalPassword); |
|
|
|
|
|
// byte[] PBKDF2_SALT = {1, 6, 0, 7, 4, 4, 4, 4, 8, 8, 7, 1, 4, 3, 3, 3, 3, 3, 3, 3}; |
|
|
|
|
|
// int PBKDF2_IT = 512; |
|
|
|
|
|
// |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity. mTK_PARAM_PBKDF2_RANDKEY, pbkdfKey); |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity. mTK_PARAM_PBKDF2_SALT, PBKDF2_SALT); |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity. mTK_PARAM_PBKDF2_IT, PBKDF2_IT); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_MIN_LENGTH_MESSAGE, "최소 글자 2글자 미만입니다"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_MIN_LENGTH_MESSAGE, "최소 글자 2글자 미만입니다"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_INPUT_MINLENGTH, 0); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_INPUT_MINLENGTH, 0); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_ALERTDIALOG_TITLE, "mTranskey alert"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_ALERTDIALOG_TITLE, "mTranskey alert"); |
|
|
|
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_BUTTON_MARGIN, 1f); |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMBER_BUTTON_MARGIN, 0.44f); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMBER_BUTTON_MARGIN, 0.44f); |
|
|
|
|
|
|
|
|
// 드래그기능을 막고 최초 터치값으로 입력되도록 설정 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_DISABLE_DRAG_EVENT, true); |
|
|
|
|
|
|
|
|
|
|
|
// 심볼키패드에서 불필요한 키 더미화 |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_CUSTOM_DUMMY_STRING, "%$<>&()\"'"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_CUSTOM_DUMMY_STRING, "%$<>&()\"'"); |
|
|
|
|
|
|
|
|
// 순차적인 더미 이미지 다르게 표현하기위한 옵션 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_CUSTOM_DUMMY, true); |
|
|
|
|
|
|
|
|
|
|
|
// 커서를 이미지로 사용하는 옵션 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_CUSTOM_CURSOR, true); |
|
|
|
|
|
|
|
|
|
|
|
// 비대칭키 사용시 공개키 설정하는 옵션 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_RSA_PUBLICK_KEY, publicKey); |
|
|
|
|
|
|
|
|
|
|
|
// 쿼티 자판 높이 설정 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_QWERTY_HEIGHT, (float)1.5); |
|
|
|
|
|
|
|
|
|
|
|
// 넘버 자판 높이 설정 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_NUMBER_HEIGHT, (float)0.5); |
|
|
|
|
|
|
|
|
|
|
|
// 오토포커싱 설정 |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_AUTO_FOCUSING, isUseAutoFocusing); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_AUTO_FOCUSING, isUseAutoFocusing); |
|
|
|
|
|
|
|
|
//시프트옵션 |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_SHIFT_OPTION, false); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_USE_SHIFT_OPTION, false); |
|
|
|
|
|
|
|
|
//라이센스 적용 |
|
|
|
|
|
// newIntent.putExtra(TransKeyActivity.mTK_PARAM_LICENSE_FILE_NAME, "license_mtk_20181105_20991231"); |
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_LICENSE_FILE_NAME, "license_IBK_TEST_IONEBANK_20181105_20190531"); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_LICENSE_FILE_NAME, "license_IBK_TEST_IONEBANK_20181105_20190531"); |
|
|
|
|
|
|
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_LANGUAGE, TransKeyActivity. mTK_Language_English); |
|
|
newIntent.putExtra(TransKeyActivity.mTK_PARAM_LANGUAGE, TransKeyActivity. mTK_Language_English); |
|
|