package com.eactive.eai.adapter.socket2.protocol.xecure;


public class XecureConstants {
	public static final String XECURE = "XECURE";
	public static final byte[] WELCOME = "|0001|THIS IS LOTTO DELIVERY DAEMON v1.0|".getBytes();
	//public static final String WELCOME = "2                |0001|THIS IS LOTTO DELIVERY DAEMON v1.0|";
	public static final byte[] KEY_INIT_MESSAGE = "KEY_INIT".getBytes();
	public static final byte[] KEY_FINAL_MESSAGE = "KEY_FINAL".getBytes();
	
	
	public static final int HEADER_LENGTH = 7 + 1 + 16;  // (7) total size (1) security type (16) 판매점 아이디
	public static final int TAIL_LENGTH = 2;
	
	public static final String CODEC_KEY = "XECURE_CODEC_KEY";
	
	public static final String FIXED_HEADER_HANDSHAKE = "XC100|";	// SGNG_넘버스4 전문구분 - Xecure Connect Session Key Share
	public static final String FIXED_HEADER_MESSAGE = "XC200|";	// SGNG_넘버스4 전문구분 - 암호화된 평문 전문 전체(헤더+바디)
	public static final int FIXED_HEADER_PART_LEHGTH = 6;	// SGNG_넘버스4 전문구분(5)
}
