본인인증 개발중

This commit is contained in:
leejunho 2024-09-30 15:48:44 +09:00
parent 1840e1c253
commit 4f3563e347
251 changed files with 103350 additions and 166 deletions

14
pom.xml
View File

@ -494,6 +494,20 @@
<artifactId>poi-ooxml</artifactId>
<version>3.9</version>
</dependency>-->
<!-- 본인인증_아이핀 -->
<dependency>
<groupId>com.sci.v2.ipin.secu</groupId>
<artifactId>sciSecuIPIN_Publish</artifactId>
<version>2.0</version>
</dependency>
<!-- 본인인증_아이핀 -->
<dependency>
<groupId>com.sci.v2.ipin.secu</groupId>
<artifactId>sciSecuPCC</artifactId>
<version>1.0</version>
</dependency>
</dependencies>

View File

@ -1144,7 +1144,10 @@ public class EgovPopupManageController {
}
//------------------------------------------------------------
FileVO fvo = fileService.selectFileInf(vo);
if(fvo == null) {
throw new Exception("파일이 데이터베이스에서 조회되지 않습니다.");
}
String fileNm = fvo.getStreFileNm();
// 섬네일 이미지 경우
if (isThumbFile != null && ("thumbFile").equals(isThumbFile) && fvo.getThumbFileNm() != null) {

View File

@ -0,0 +1,36 @@
package kcc.let.uat.uia.service;
import java.io.Serializable;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@Getter
@Setter
@NoArgsConstructor
public class CertVO implements Serializable{
private static final long serialVersionUID = 1L;
private String nextUrl; // 다음 이동 페이지
/**
* 본인인증 접근 페이지 구분
* medi - 분쟁조정신청 본인인증
* my - 마이페이지 본인인증
* online - 온라인 분쟁조정 상담 본인인증
* law - 법령자료실
* medi_check - ?
*/
private String commandCode; // 본인인증 접근 페이지 구분(medi: 분쟁조정신청 본인인증,
private String srvNo; // 아이핀 코드
private String hpSrvNo; // 휴대폰 코드
private String agreeCheck; // 약관동의
private String personalCheck; // 개인정보 동의
private String mediType; // 조정유형 (C_MASTER :: CASE_GUBUN)
private String retUrl; // 아이핀 인증후 리턴 페이지
private String hpRetUrl; // 모바일 인증후 리턴 페이지
private String sServerName; // 현재 서버 주소
}

View File

@ -0,0 +1,322 @@
package kcc.utill;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Random;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.ui.ModelMap;
import com.sci.v2.ipin.secu.SciSecuManager;
import com.sci.v2.ipin.secu.hmac.SciHmac;
import kcc.com.utl.fcc.service.EgovNumberUtil;
import kcc.com.utl.fcc.service.EgovStringUtil;
import seed.utils.SeedUtils;
@Component
public class CertSettingUtill {
@Value("#{globalSettings['cert.sServerName']}")
private String sServerName;
private static final Logger LOGGER = LoggerFactory.getLogger(CertSettingUtill.class);
public CertSettingUtill() {
}
public void CertSetting(
HttpSession session
, ModelMap map
, HttpServletRequest req
, String commandCode
) {
//본인인증에 필요한 값들 세팅
String nextUrl = req.getParameter("nextUrl");
// String commandCode = req.getParameter("commandCode");
String srvNo = "";
String hpSrvNo = "";
String agreeCheck = "";
String personalCheck = "";
String mediType = "";
String retUrl = "";//아이핀 인증후 리턴 페이지
String hpRetUrl = "";//모바일 인증후 리턴 페이지
// String sServerName = req.getServerName();
if(commandCode.equals("medi")){//분쟁조정신청 본인인증
//개발서버
// srvNo = "007001";// 아이핀 코드
// hpSrvNo = "008001";//휴대폰 코드
//실서버
srvNo = "009001";// 아이핀 코드
hpSrvNo = "012001";//휴대폰 코드
agreeCheck = req.getParameter("agreeCheck");
personalCheck = req.getParameter("personalCheck");
mediType = req.getParameter("mediType");
retUrl = sServerName + "/user/extra/case/siren/ipin_popup_seed/jsp/Page.do";
hpRetUrl = sServerName + "/user/extra/case/siren/hpParamPop/jsp/Page.do";
session.setAttribute("agreeCheck", agreeCheck);
session.setAttribute("personalCheck", personalCheck);
session.setAttribute("mediType", mediType);
//hpName존재하면 이미 본인인증을 거쳤기 때문에 다음으로 바로 넘어간다.
if(!SeedUtils.setReplaceNull(session.getAttribute("hpName")).equals("")){
// nextUrl = "/user/mediation/case/05/154/mediationStep04Ftc.do";
nextUrl = "/user/mediation/case/05/154/mediationStep04.do";
}
}else if(commandCode.equals("my")){//마이페이지 본인인증
//개발서버
// srvNo = "007002";
// hpSrvNo = "008002";
//실서버
srvNo = "009002";
hpSrvNo = "012002";
retUrl = sServerName + "/user/extra/case/siren/myPage_ipin_popup_seed/jsp/Page.do";
hpRetUrl = sServerName + "/user/extra/case/siren/myPage_hpParamPop/jsp/Page.do";
}else if(commandCode.equals("online")){//온라인 분쟁조정 상담 본인인증
//개발서버
srvNo = "007003";
hpSrvNo = "008003";
//실서버
// srvNo = "009003";
// hpSrvNo = "012003";
personalCheck = req.getParameter("personalCheck");
session.setAttribute("personalCheck", personalCheck);
//개발서버
// retUrl = "23http://ServerName:8080/user/extra/case/siren/onlineCounsel_ipin_popup_seed/jsp/Page.do";
// retUrl = retUrl.replaceAll("ServerName", sServerName);
// hpRetUrl = "32http://ServerName:8080/user/extra/case/siren/onlineCounsel_hpParamPop/jsp/Page.do";
// hpRetUrl = hpRetUrl.replaceAll("ServerName", sServerName);
//실서버
retUrl = "23http://fairnet.kofair.or.kr/user/extra/case/siren/onlineCounsel_ipin_popup_seed/jsp/Page.do";
hpRetUrl = "32http://fairnet.kofair.or.kr/user/extra/case/siren/onlineCounsel_hpParamPop/jsp/Page.do";
//hpName존재하면 이미 본인인증을 거쳤기 때문에 다음으로 바로 넘어간다.
if(!SeedUtils.setReplaceNull(session.getAttribute("hpName")).equals("")){
nextUrl = "/user/onlineCounsel/case/01/158/write.do";
}
}else if(commandCode.equals("law")){
//개발서버
// srvNo = "007004";
// hpSrvNo = "008005";
//실서버
srvNo = "009004";
hpSrvNo = "012004";
personalCheck = req.getParameter("personalCheck");
session.setAttribute("personalCheck", personalCheck);
//개발서버
// retUrl = "23http://ServerName:8080/user/extra/case/siren/lawCounsel_ipin_popup_seed/jsp/Page.do";
// retUrl = retUrl.replaceAll("ServerName", sServerName);
// hpRetUrl = "32http://ServerName:8080/user/extra/case/siren/lawCounsel_hpParamPop/jsp/Page.do";
// hpRetUrl = hpRetUrl.replaceAll("ServerName", sServerName);
//실서버
retUrl = "23http://fairnet.kofair.or.kr/user/extra/case/siren/lawCounsel_ipin_popup_seed/jsp/Page.do";
hpRetUrl = "32http://fairnet.kofair.or.kr/user/extra/case/siren/lawCounsel_hpParamPop/jsp/Page.do";
//hpName존재하면 이미 본인인증을 거쳤기 때문에 다음으로 바로 넘어간다.
if(!SeedUtils.setReplaceNull(session.getAttribute("hpName")).equals("")){
nextUrl = "/user/lawCounsel/case/02/159/lawWrite.do";
}
}else if(commandCode.equals("medi_check")){
//개발서버
// srvNo = "007005";
// hpSrvNo = "008006";
//실서버
srvNo = "009005";
hpSrvNo = "012005";
String caseNo = req.getParameter("caseNo");
String checkPass = req.getParameter("checkPass");
session.setAttribute("caseNo", caseNo);
session.setAttribute("checkPass", checkPass);
//개발서버
// retUrl = "23http://ServerName:8080/user/extra/case/siren/checkMedi_ipin_popup_seed/jsp/Page.do";
// retUrl = retUrl.replaceAll("ServerName", sServerName);
// hpRetUrl = "32http://ServerName:8080/user/extra/case/siren/checkMedi_hpParamPop/jsp/Page.do";
// hpRetUrl = hpRetUrl.replaceAll("ServerName", sServerName);
//실서버
retUrl = "23http://fairnet.kofair.or.kr/user/extra/case/siren/checkMedi_ipin_popup_seed/jsp/Page.do";
hpRetUrl = "32http://fairnet.kofair.or.kr/user/extra/case/siren/checkMedi_hpParamPop/jsp/Page.do";
}
//나중에 메인 페이지 나오면 튕겨내기
// if(nextUrl == null || agreeCheck == null){
// map.put("siteIdx", "case");
// map.put("url", "/case/index.do");
// map.put("message", "잘못된 접근 입니다.");
// map.put("opener", "");
// map.put("append", "");
// map.put("self", "");
//
// return "/_common/jsp/umessage";
// }
/**
* 아이핀 인증 시작 */
//String sServerName = req.getServerName();
//회원사 ID : KFA001
String id = "KFA001";
//회원가입화면용 결과 수신 URL : 23http:/211.43.219.170/hp/meb/pinSignupView.do
//String retUrl = "23http://ServerName/user/extra/case/siren/ipin_popup_seed/jsp/Page.do";
//retUrl = retUrl.replaceAll("ServerName", sServerName);
//분쟁조정신청 서비스 번호 : 006001
// String srvNo = "006001";
//요청번호(유닉크한 랜덤값) : 40 byte까지
String reqNum = "kofair" + EgovStringUtil.getTimeStamp() + EgovNumberUtil.getRandomNum(1000, 9999);
session.setAttribute("id", id);
session.setAttribute("retUrl", retUrl);
session.setAttribute("srvNo", srvNo);
session.setAttribute("reqNum", reqNum);
//복호화용 임시필드
String exVar = "0000000000000000";
/**
*
* reqNum 값은 최종 결과값 복호화를 위한 SecuKey로 활용 되므로 중요합니다.
* reqNum 아이핀 서비스 요청시 항상 새로운 값으로 중복 되지 않게 생성 해야 합니다.
* 쿠키 또는 Session및 기타 방법을 사용해서 reqNum 값을
* ipin_result_seed.jsp에서 가져 있도록 해야 .
* 샘플을 위해서 쿠키를 사용한 것이므로 참고 하시길 바랍니다.
*
*/
/* Cookie c = new Cookie("reqNum", reqNum);
//c.setMaxAge(1800); // <== 필요시 설정(초단위로 설정됩니다)
response.addCookie(c);*/
session.setAttribute("reqNumKey", reqNum);
// 암호화 모듈 선언
SciSecuManager seed = new SciSecuManager();
// 1차 암호화
String encStr = "";
String reqInfo = reqNum + "/" + id + "/" + srvNo + "/" + exVar;
encStr = seed.getEncPublic(reqInfo);
// 위변조 검증 등록
SciHmac hmac = new SciHmac();
String hmacMsg = SciHmac.HMacEncriptPublic(encStr);
// 2차 암호화
reqInfo = seed.getEncPublic(encStr + "/" + hmacMsg + "/" + "00000000");
session.setAttribute("reqInfo", reqInfo);
/**
* 아이핀 인증 */
/**
* 핸드폰 인증 시작 */
//날짜 생성
Calendar today = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
String day = sdf.format(today.getTime());
java.util.Random ran = new Random();
//랜덤 문자 길이
int numLength = 6;
String randomStr = "";
for (int i = 0; i < numLength; i++) {
//0 ~ 9 랜덤 숫자 생성
randomStr += ran.nextInt(10);
}
//reqNum은 최대 40byte 까지 사용 가능
String hpId = "SKFA001"; // 본인실명확인 회원사 아이디
//String hpSrvNo = "005001"; // 본인실명확인 서비스번호
String hpReqNum = day + randomStr; // 본인실명확인 요청번호
String hpExVar = "0000000000000000"; // 복호화용 임시필드
String hpCertDate = day; // 본인실명확인 요청시간
String hpCertGb = "H"; // 본인실명확인 본인확인 인증수단
String hpAddVar = ""; // 본인실명확인 추가 파라메터
//String hpRetUrl = "32http://ServerName/kmcis/kmcisIdSearch.jsp"; // 본인인증서비스 결과수신 POPUP URL
//String hpRetUrl = "32http://ServerName/user/extra/case/siren/hpParamPop/jsp/Page.do";
//hpRetUrl = "32http://kofair2.global-it.co.kr/kmcis/kmcisIdSearch.jsp";
//hpRetUrl = hpRetUrl.replaceAll("ServerName", sServerName); //오픈할 주석으로 교체해줘야함
/**
*
* reqNum 값은 최종 결과값 복호화를 위한 SecuKey로 활용 되므로 중요합니다.
* reqNum 본인 확인 요청시 항상 새로운 값으로 중복 되지 않게 생성 해야 합니다.
* 쿠키 또는 Session및 기타 방법을 사용해서 reqNum 값을
* pcc_V3_result_seed.jsp에서 가져 있도록 해야 .
* 샘플을 위해서 쿠키를 사용한 것이므로 참고 하시길 바랍니다.
*
*/
/*Cookie hpC = new Cookie("hpReqNum", hpReqNum);
//c.setMaxAge(1800); // <== 필요시 설정(초단위로 설정됩니다)
response.addCookie(hpC);*/
session.setAttribute("hpReqNumKey", hpReqNum);
//01. 암호화 모듈 선언
com.sci.v2.pcc.secu.SciSecuManager hpSeed = new com.sci.v2.pcc.secu.SciSecuManager();
//02. 1차 암호화
String hpEncStr = "";
String hpReqInfo = hpId+"^"+hpSrvNo+"^"+hpReqNum+"^"+hpCertDate+"^"+hpCertGb+"^"+hpAddVar+"^"+hpExVar; // 데이터 암호화
hpEncStr = hpSeed.getEncPublic(hpReqInfo);
//03. 위변조 검증 생성
com.sci.v2.pcc.secu.hmac.SciHmac hpHmac = new com.sci.v2.pcc.secu.hmac.SciHmac();
String hpHmacMsg = hpHmac.HMacEncriptPublic(hpEncStr);
//03. 2차 암호화
hpReqInfo = hpSeed.getEncPublic(hpEncStr + "^" + hpHmacMsg + "^" + "0000000000000000"); //2차암호화
session.setAttribute("hpRetUrl", hpRetUrl);
session.setAttribute("hpReqInfo", hpReqInfo);
/**
* 핸드폰 인증 */
}
}

View File

@ -1,10 +1,11 @@
package kcc.web;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.HashSet;
@ -13,7 +14,6 @@ import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.stream.Collector;
import java.util.stream.Collectors;
import javax.activation.DataHandler;
@ -35,8 +35,6 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.json.simple.JSONArray;
import org.json.simple.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
@ -58,19 +56,16 @@ import egovframework.rte.fdl.security.intercept.EgovReloadableFilterInvocationSe
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
import egovframework.rte.psl.dataaccess.util.EgovMap;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.ComDefaultCodeVO;
import kcc.com.cmm.CmmUtil;
import kcc.com.cmm.ComDefaultVO;
import kcc.com.cmm.LoginVO;
import kcc.com.cmm.service.CmmnDetailCode;
import kcc.com.cmm.service.EgovCmmUseService;
import kcc.com.cmm.service.EgovFileMngUtil;
import kcc.com.cmm.service.FileVO;
import kcc.com.cmm.util.WebUtil;
import kcc.com.uss.ion.bnr.service.BannerVO;
import kcc.com.uss.ion.bnr.service.EgovBannerService;
import kcc.com.uss.ion.cnf.service.MetaTagManageService;
import kcc.com.uss.ion.cyb.service.CyberAlertManageService;
import kcc.com.uss.ion.cyb.service.CyberAlertManageVO;
import kcc.com.uss.ion.fms.service.FmsFileVO;
import kcc.com.uss.ion.pwm.service.EgovPopupManageService;
import kcc.com.uss.ion.pwm.service.MainzoneVO;
@ -81,7 +76,6 @@ import kcc.let.cop.bbs.service.BoardMasterVO;
import kcc.let.cop.bbs.service.BoardVO;
import kcc.let.cop.bbs.service.EgovBBSAttributeManageService;
import kcc.let.cop.bbs.service.EgovBBSManageService;
import kcc.let.cop.bbs.service.SearchTotalVO;
import kcc.let.sts.cst.service.EgovConectStatsService;
import kcc.let.sym.ccm.cde.service.EgovCcmCmmnDetailCodeManageService;
import kcc.let.sym.log.clg.service.EgovLoginLogService;
@ -94,7 +88,6 @@ import kcc.let.sym.prm.service.EgovProgrmManageService;
import kcc.let.sym.prm.service.ProgrmManageVO;
import kcc.let.sym.site.service.EgovSiteManagerService;
import kcc.let.sym.site.service.SiteManagerVO;
import kcc.let.uat.uia.service.SsoLoginVO;
/**
* 템플릿 메인 페이지 컨트롤러 클래스(Sample 소스)
@ -196,48 +189,31 @@ public class MainController {
@RequestMapping(value = "/web/main/mainPage.do")
public String siteMainPage(HttpServletRequest request, ModelMap model, HttpSession session) throws Exception {
// 메인이미지
// String referer = (String)request.getHeader("REFERER");
/** EgovPropertyService.sample */
MainzoneVO mainzoneVO = new MainzoneVO();
mainzoneVO.setPageUnit(propertiesService.getInt("pageUnit"));
mainzoneVO.setPageSize(propertiesService.getInt("pageSize"));
CmmUtil.getPageing(mainzoneVO, 10);
/** pageing */
PaginationInfo paginationInfo = new PaginationInfo();
paginationInfo.setCurrentPageNo(mainzoneVO.getPageIndex());
paginationInfo.setRecordCountPerPage(mainzoneVO.getPageUnit());
paginationInfo.setPageSize(mainzoneVO.getPageSize());
mainzoneVO.setFirstIndex(paginationInfo.getFirstRecordIndex());
mainzoneVO.setLastIndex(paginationInfo.getLastRecordIndex());
mainzoneVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
mainzoneVO.setUseYn("Y"); // 사용하는것만
mainzoneVO.setDeviceType("P"); // PC
List<?> mainzoneList = egovPopupManageService.selectMainzoneList(mainzoneVO); // 상단메인 이미지
// mainzoneVO.setDeviceType("M"); //모바일
// List<?> mainzoneListM = egovPopupManageService.selectMainzoneList(mainzoneVO); //상단메인 이미지
model.addAttribute("mainzoneList", mainzoneList); // PC
// model.addAttribute("mainzoneListM", mainzoneListM); //모바일
/*
* 반응형으로 사용을 해야해서 모바일에서도 팝업 영역의 데이터를 불러와야해서 주석처리했음 우영두 2021.10.29
*/
List<EgovMap> mainzoneList = (List<EgovMap>)egovPopupManageService.selectMainzoneList(mainzoneVO); // 상단메인 이미지
if(mainzoneList.size() > 0) {
mainzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
}
model.addAttribute("mainzoneImg", mainzoneList.stream().findFirst().orElse(null)); // PC
/** 팝업 알림창괸리 */
// if(!isMobile(request)){ //PC인경우만
PopupManageVO popupManageVO = new PopupManageVO();
popupManageVO.setRecordCountPerPage(10); // 10개만
popupManageVO.setNtceAt("Y"); // 사용만
popupManageVO.setMainPageFlag("Y"); // 메인화면의 용도(시작일 종료일 사이 조회)
List<?> popupList = egovPopupManageService.selectPopupMainList(popupManageVO);
model.addAttribute("popupList", popupList);
// }
/** 팝업존 알림창괸리 */
// if(!isMobile(request)){
/** 알림창괸리 */
PopupzoneVO popupzoneVo = new PopupzoneVO();
popupzoneVo.setFirstIndex(0);
popupzoneVo.setSeCd("02"); // 좌측팝업
@ -245,23 +221,12 @@ public class MainController {
popupzoneVo.setSearchSortCnd("MB.sort");
popupzoneVo.setSearchSortOrd("ASC");
List<?> popupzoneList = egovPopupManageService.selectPopupzoneList(popupzoneVo);
model.addAttribute("popupzoneList", popupzoneList);
// popupzoneVo.setSeCd("03");
// List<?> popupzoneTopList =
// egovPopupManageService.selectPopupzoneList(popupzoneVo);
// model.addAttribute("popupzoneTopList", popupzoneTopList);
// }
/** 게시판 조회 - 조정사례 */
// BoardVO boardVO = new BoardVO();
// boardVO.setRecordCountPerPage(5); //게시글
// boardVO.setFirstIndex(0); //
// boardVO.setBbsId("BBSMSTR_000000000651");
// List<BoardVO> vo = bbsMngService.selectMainBoardRecent(boardVO);
// model.addAttribute("bbsList", vo);
List<EgovMap> popupzoneList = (List<EgovMap>)egovPopupManageService.selectPopupzoneList(popupzoneVo);
// model.addAttribute("popupzoneList", popupzoneList);
if(popupzoneList.size() > 0) {
popupzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
}
model.addAttribute("popupzoneImg", popupzoneList.stream().findFirst().orElse(null)); // PC
return "web/main/mainPage";
}

View File

@ -4,6 +4,7 @@ import java.util.ArrayList;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.json.JSONArray;
import org.json.simple.JSONObject;
@ -16,10 +17,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
import kcc.com.cmm.CmmUtil;
import kcc.utill.CertSettingUtill;
import kcc.utill.OzUtill;
import kcc.xxx.service.XxxService;
import kcc.xxx.service.XxxVO;
import seed.map.T_MEMBER;
import seed.utils.SeedUtils;
@Controller
public class XxxController {
@ -32,6 +35,9 @@ public class XxxController {
@Resource
private OzUtill ozUtill;
@Resource
private CertSettingUtill certSettingUtill;
@RequestMapping("/xxx/xxxTest.do")
public String xxxTest() throws Exception {
@ -179,4 +185,27 @@ public class XxxController {
return "/web/xxx/xxxDetail";
}
@RequestMapping("/web/xxx/xxxCert.do")
public String xxxCert(HttpSession session
, ModelMap map
, HttpServletRequest req
) {
if(!SeedUtils.setReplaceNull(session.getAttribute("hpName")).equals("")){
//미인증으로 본인인증이 필요하다는 페이지로 redirect
return "";
}
if(SeedUtils.setReplaceNull(session.getAttribute("myPass")).equals("")){
certSettingUtill.CertSetting(session, map, req, "my");
}
session.removeAttribute("myPass");
return "/web/xxx/xxxCert";
}
}

View File

@ -218,4 +218,7 @@ nice.uid=kofair
nice.pwd=kofair2016!
#oz \uc11c\ubc84 \uc8fc\uc18c
oz.ozServerNm=http://119.193.215.98:8086
oz.ozServerNm=http://119.193.215.98:8086
#\ubcf8\uc778\uc778\uc99d url
cert.sServerName=23http://fairnet.kofair.or.kr

View File

@ -218,4 +218,7 @@ nice.uid=kofair
nice.pwd=kofair2016!
#oz \uc11c\ubc84 \uc8fc\uc18c
oz.ozServerNm=http://119.193.215.98:8086
oz.ozServerNm=http://119.193.215.98:8086
#\ubcf8\uc778\uc778\uc99d url
cert.sServerName=23http://fairnet.kofair.or.kr

View File

@ -399,4 +399,7 @@ nice.uid=kofair
nice.pwd=kofair2016!
#oz \uc11c\ubc84 \uc8fc\uc18c
oz.ozServerNm=http://119.193.215.98:8086
oz.ozServerNm=http://119.193.215.98:8086
#\ubcf8\uc778\uc778\uc99d url
cert.sServerName=23http://fairnet.kofair.or.kr

View File

@ -653,11 +653,19 @@
</insert>
<update id="MainzoneManage.resetMainSort" parameterClass="mainzoneVO">
UPDATE MAINZONE A , (SELECT ROW_NUMBER() OVER(ORDER BY SORT) AS SORT1 , MAZ_ID FROM MAINZONE
WHERE 1=1
ORDER BY SORT ASC) B
SET A.SORT = B.SORT1
WHERE A.MAZ_ID = B.MAZ_ID
MERGE INTO MAINZONE A
USING (
SELECT
ROW_NUMBER() OVER (ORDER BY SORT ASC) AS SORT1,
MAZ_ID
FROM
MAINZONE
WHERE
1=1
) B
ON (A.MAZ_ID = B.MAZ_ID)
WHEN MATCHED THEN
UPDATE SET A.SORT = B.SORT1
</update>
<update id="MainzoneManage.updateMainSortUp" parameterClass="sortVO">
@ -678,14 +686,14 @@
CONTENT,
MLINK,
ISTARGET,
REGDT,
TO_CHAR(REGDT, 'YYYY-MM-DD HH24:MI:SS') REGDT,
DEL,
SORT,
MAINZONE_IMAGE AS MAINZONEIMAGE ,
MAINZONE_IMAGE_FILE AS MAINZONEIMAGEFILE,
MAZ_NM AS MAZNM,
USE_YN AS USEYN,
DATE_FORMAT(MODDT, '%Y-%m-%d %H:%i:%s') MODDT ,
TO_CHAR(MODDT, 'YYYY-MM-DD HH24:MI:SS') MODDT,
(SELECT USER_NM FROM LETTNEMPLYRINFO WHERE ESNTL_ID = REGISTER_ID) REGISTERID,
DEVICETYPE AS deviceType
FROM MAINZONE
@ -804,20 +812,26 @@
</update> -->
<update id="MainzoneManage.resetMainVOSort" parameterClass="mainzoneVO">
UPDATE MAINZONE A ,
(SELECT ROW_NUMBER() OVER(ORDER BY SORT
<isEqual property="sortOver" compareValue="A">
, MODDT ASC
</isEqual>
<isEqual property="sortOver" compareValue="D">
, MODDT DESC
</isEqual>
) AS SORT1 , MAZ_ID FROM MAINZONE
WHERE 1=1
ORDER BY SORT1
) B
SET A.SORT = B.SORT1
WHERE A.MAZ_ID = B.MAZ_ID
MERGE INTO MAINZONE A
USING (
SELECT
ROW_NUMBER() OVER(ORDER BY SORT
<isEqual property="sortOver" compareValue="A">
, MODDT ASC
</isEqual>
<isEqual property="sortOver" compareValue="D">
, MODDT DESC
</isEqual>
) AS SORT1,
MAZ_ID
FROM
MAINZONE
WHERE
1=1
) B
ON (A.MAZ_ID = B.MAZ_ID)
WHEN MATCHED THEN
UPDATE SET A.SORT = B.SORT1
</update>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,505 @@
@charset "utf-8";
/* common css */
.xwup_common{background:0;background-color:transparent;background-image:none;background-position:0;background-repeat:repeat;background-size:auto;box-shadow:none;box-sizing:border-box;clear:none;color:inherit;empty-cells:show;float:none;font:normal;font-family:inherit;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;height:auto;left:auto;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:none;list-style-type:none;margin:0;max-height:none;max-width:none;min-height:0;min-width:0;opacity:1;overflow:visible;padding:0;table-layout:auto;text-align:left;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-shadow:none;vertical-align:middle;visibility:inherit;white-space:normal;widows:0;width:auto;word-spacing:normal;z-index:auto;position:static;cursor:auto}
.xwup_cert_wide,.xwup_cert_pop,.xwup_cert_mini{display:block;visibility:visible;overflow:visible;height:auto;background-color:#fff;color:#000;font-weight:normal;line-height:normal;background-image:none;cursor:auto}
.xwup_cert_mini{width:600px;border:0} /* 미니UI */
.xwup_cert_pop{position:absolute;top:0;left:0;border-style:solid} /* 팝업UI */
.xwup_cert_wide{border-style:solid} /* 바닥UI */
.xwup_common div,.xwup_common a,.xwup_common span,.xwup_common table,.xwup_common tr,.xwup_common th,.xwup_common td,.xwup_common ul,.xwup_common ol,.xwup_common li,.xwup_common dl,.xwup_common dt,.xwup_common dd,.xwup_common form,.xwup_common button,.xwup_common fieldset,.xwup_common legend,.xwup_common select,.xwup_common textarea,.xwup_common p,.xwup_common label,.xwup_common input,.xwup_common h1,.xwup_common h2,.xwup_common h3,.xwup_common h4,.xwup_common h5,.xwup_common h6,.xwup_common blockquote{margin:0;padding:0;font-family:'Malgun Gothic',Dotum,Helvetica,AppleGothic,Sans-serif;font-size:12px;color:#000;background:0;background-color:transparent;background-image:none;background-position:0;background-repeat:repeat;background-size:auto;box-shadow:none;clear:none;empty-cells:show;float:none;font:normal;font-style:normal;font-variant:normal;font-weight:normal;height:auto;left:auto;letter-spacing:normal;line-height:normal;list-style:none;list-style-image:none;list-style-position:none;list-style-type:none;margin:0;opacity:1;overflow:visible;padding:0;table-layout:auto;text-align:left;text-decoration:none;text-decoration-color:inherit;text-decoration-line:none;text-decoration-style:solid;text-shadow:none;vertical-align:middle;visibility:inherit;white-space:normal;widows:0;width:auto;word-spacing:normal;z-index:auto;position:static;cursor:auto}
/* default setting */
.xwup_common img,.xwup_common fieldset{border:0}
.xwup_common form,.xwup_common fieldset,.xwup_common legend,.xwup_common input,.xwup_common button,.xwup_common textarea,.xwup_common select{color:#000;font-size:12px}
.xwup_common button::-moz-focus-inner{padding:0;border:0}
.xwup_common ul,.xwup_common ol{list-style:none}
.xwup_common table{border-collapse:collapse}
.xwup_common label{cursor:default}
.xwup_common input,.xwup_common textarea{display:inline-block;font-size:13px;vertical-align:middle}
.xwup_common textarea{resize:none}
.xwup_common address,.xwup_common em{font-style:normal}
.xwup_common fieldset,.xwup_common img{border:0;position:relative}
.xwup_common em{font-style:normal}
.xwup_common h3{top:0}
.xwup_common button{cursor:pointer}
.xwup_common a{text-decoration:none;cursor:pointer}
.xwup_common table{border-collapse:collapse}
.xwup_common th,.xwup_common td{padding:0;vertical-align:middle;text-align:left;font-weight:normal}
.xwup_common input[type="text"],.xwup_common input[type="password"],.xwup_common input[type="email"],.xwup_common input[type="search"],.xwup_common input[type="image"],.xwup_common input[type="button"],.xwup_common textarea{border:1px solid #777;background:#fff;-webkit-appearance:none;border-radius:0}
.xwup_common input[type="checkbox"]:checked{background-color:#fff;-webkit-appearance:checkbox}
.xwup_common input[type="text"],.xwup_common input[type="password"]{height:18px;position:relative;margin:1px 2px 0;padding:2px 3px 3px;border:1px solid #777;background:#fff;color:#000}
.xwup_common .lt-css3 input[type="text"],.xwup_common input[type="password"]{padding:1px 3px 4px}
.xwup_common input[type="text"]:focus,.xwup_common input[type="password"]:focus,.xwup_common textarea:focus{border:1px solid #009ae6;outline-width:0}
.xwup_common input[disabled="disabled"]{background:#f0f0f0;border:1px solid #f0f0f0;color:#555}
.xwup_common input[readonly="readonly"]{background:#f0f0f0;border:1px solid #777;color:#555}
.xwup_common .disabled{background:#f0f0f0;border:1px solid #f0f0f0;color:#555}
.xwup_common input.error-input{background:#fff;border:1px solid #ff4b2a;color:#000}
.xwup_common .form-error{display:block;background:url(../img/common/etc/ico_form_error.gif) no-repeat left 5px;padding:0 0 0 23px;color:#ff4b2a;vertical-align:top}
.xwup_common input[type="checkbox"],.xwup_common input[type="radio"]{width:13px;height:13px;margin:0;padding:0;vertical-align:middle;line-height:27px}
.xwup_common select{position:relative;height:25px;vertical-align:middle;border:1px solid #777;padding:2px 2px 2px 0;margin:-1px 0 0 2px}
.xwup_common .ie7 select{line-height:1.65;font-family:'돋움',dotum;padding:4px 4px 5px 0}
/* Layout */
.xwup_common .xwup_mbottom img{height:auto;margin-right:5px;vertical-align:middle}
.xwup_common .hidden{overflow:hidden;position:absolute;top:-9999px;left:-9999px;width:0;height:0;font-size:0;line-height:0;text-indent:-9999px}
.xwup_common .w100{width:100px}
.xwup_common div.xwup-w300-body{width:300px}
.xwup_common div.xwup-w400-body{width:400px}
.xwup_common div.xwup-w410-body{width:410px}
.xwup_common div.xwup-w420-body{width:420px}
.xwup_common div.xwup-w500-body{width:500px}
.xwup_common div.xwup-w530-body{width:530px}
.xwup_common div.xwup-w730-body{width:730px}
.xwup_common div.xwup-w946-body{width:946px}
.xwup_common .xwup-font10{font-size:10px}
.xwup_common .xwup-degap{margin:10px 10px 20px}
.xwup_common .xwup-mr5{margin-right:15px}
.xwup_common .xwup-fontb{font-weight:bold}
.xwup_common .xwup_mbottom{margin:0 0 10px;text-align:left}
.xwup_common .xwup-legend{display:none !important;margin:0 0 0 5px;background-color:#fff;font-weight:normal;text-align:left}
.xwup_common caption{visibility:hidden;width:0;height:0;line-height:0;position:relative}
.xwup_common .xwup-h140{height:140px}
.xwup_common .xwup-str-pd0{padding:0}
.xwup_common .brt-color-none{border-top-color:transparent}
.xwup_common .xwup-wrd-normal{word-wrap:normal}
.xwup_common .xwup-ovf-yscroll{oveflow:hidden;overflow-y:scroll}
.xwup_common .xwup-ovf-yscroll-none{overflow-y:hidden}
/* common title */
.xwup_common .xwup-title2{_width:452px}
.xwup_common .title h3,.xwup_common .xwup-title h3{height:40px;padding:0 0 0 15px;font-size:18px;line-height:40px;letter-spacing:-2px;font-weight:bold;cursor:move}
.xwup_common .xwup-title h3{font-weight:bold}
.xwup_common .xwup-title-mini{top:0;left:0;width:100%;height:30px;margin-bottom:-15px;border-radius:0;background:none}
.xwup_common .xwup-title-mini h3{font-size:20px;height:31px;color:#000;background:none;line-height:27px;vertical-align:middle;letter-spacing:-2px}
/* contents body */
.xwup_common .xwup-body{margin:0 20px 20px 20px;padding-top:20px}
.xwup_common .blank0,.xwup_common .xwup-blank0{overflow:hidden;position:absolute;top:-9999px;left:-9999px;width:0;height:0;font-size:0;line-height:0;text-indent:-9999px}
.xwup_common .blank10,.xwup_common .xwup-blank10{height:10px;margin:0}
.xwup_common .blank15,.xwup_common .xwup-blank15{height:15px;margin:0}
/* button */
.xwup_common .xwup-buttons-layout,.xwup_common .xwup-buttons-layout2,.xwup_common .xwup-buttons-layout4{display:block;margin:15px 0;text-align:center}
.xwup_common .xwup-buttons-layout2{text-align:right}
.xwup_common .xwup-buttons-layout3{text-align:left}
.xwup_common .xwup-buttons-layout4{margin:0;text-align:right}
.xwup_common .xwup-buttons-layout button,.xwup_common .xwup-buttons-layout2 button,.xwup_common .xwup-buttons-layout3 button,.xwup_common .xwup-buttons-layout4 button{height:25px;margin:0 5px;padding:0 13px;*padding:0 10px;_padding:0 10px;border:1px solid gray;border-radius:6px;background-color:#EFEFEF;background-image:url(../img/btn_bg.png);text-align:center;vertical-align:top}
.xwup_common .xwup-buttons-layout .ok,.xwup_common .xwup-buttons-layout2 .ok,.xwup_common .xwup-buttons-layout3 .ok,.xwup_common .xwup-buttons-layout4 .ok{overflow:hidden;height:28px;border:0;background:url(../img/btn_ok_blue.png);line-height:9000px;cursor:pointer}
.xwup_common .xwup-buttons-layout .cancel,.xwup_common .xwup-buttons-layout2 .cancel,.xwup_common .xwup-buttons-layout3 .cancel,.xwup_common .xwup-buttons-layout4 .cancel{overflow:hidden;height:28px;border:0;background:url(../img/btn_cancel.png);line-height:9000px;cursor:pointer}
.xwup_common .xwup-buttons-layout .view,.xwup_common .xwup-buttons-layout2 .view,.xwup_common .xwup-buttons-layout3 .view,.xwup_common .xwup-buttons-layout4 .view{margin:5px;padding:0 13px;border:1px solid #c7c7c7;border-radius:4px;-webkit-border-radius:4px}
.xwup_common .xwup-button-disabled{color:gray}
.xwup_common .xwup-box-layout{position:relative;padding-top:7px}
.xwup_common .xwup-box-border{display:block;padding:10px;border:1px solid #c7c7c7}
.xwup_common .xwup-close-button {background:url(../img/btn_pop_close.png) no-repeat;position:absolute;height:15px;width:15px;top:14px;right:13px}
/* tab */
.xwup_common div.xwup-tab-view{display:block;clear:both;padding:15px;border:2px solid #6C9CDA;border-radius:0 8px 8px 8px;background-color:#fff;text-align:left;zoom:1}
.xwup_common div.xwup-tab-list ul{float:left;position:relative;margin:0;padding:0;color:#666;text-align:left}
.xwup_common div.xwup-tab-list ul li{display:inline-block;*display:inline;margin:0;border:1px solid #999;border-bottom:0;border-radius:6px 6px 0 0;background:#f9f9f9;list-style-type:none;*zoom:1}
.xwup_common div.xwup-tab-list ul li a{display:block;padding:6px 10px 2px;font-weight:normal;color:#000;list-style:none;white-space:nowrap}
.xwup_common div.xwup-tab-list .selected a{border-top:1px solid #6c9cda;border-right:1px solid #6c9cda;background-color:#6C9CDA;font-weight:bold;color:#FFF;list-style:none}
.xwup_common div.xwup-tab-list .tmenu{width:46px}
.xwup_common div.xwup-tab-list .tmenu2{width:98px}
.xwup_common div.xwup-tab-list .tmenu3{width:138px}
.xwup_common div.xwup-tab-list .tmenu4{width:98px}
.xwup_common div.xwup-tab-list .tmenu5{width:48px}
.xwup_common div.xwup-tab-list .tmenu6{width:60px}
/* label */
.xwup_common .xwup-for-password{display:inline-block;margin:0;font-weight:bold;color:#000;vertical-align:top}
/* input */
.xwup_common .xwup-password{overflow:hidden;margin:0 5px;padding:0 0 0 5px;border:1px solid;font-size:12px;vertical-align:middle}
.xwup_common .xwup-checkbox{margin:0 5px 0 0}
/* fieldset */
.xwup_common .xwup-location-item{display:block;margin:0;padding:0 0 5px;border:1px solid #949494}
.xwup_common .xwup-location-item button{display:inline-block;*display:block;width:78px;height:62px;padding:2px;border:2px solid #fff;border-radius:6px;background:#fff}
.xwup_common fieldset.manager{display:inline-block;*display:inline;width:207px;height:125px;margin:10px 2px 0;padding:2px 0;border:1px solid #949494;text-align:center;*zoom:1}
.xwup_common fieldset.manager .xwup-legend{margin:0 0 0 10px}
.xwup_common .importexport{display:block;overflow:hidden;margin-top:15px;padding:0 10px 10px;border:1px solid #949494}
.xwup_common .importexport div{margin:8px 0 3px}
.xwup_common .p10x10-gray1{display:block;overflow:hidden;padding:10px;border:1px solid #949494;text-align:left}
.xwup_common .p10x10-gray1 .group{margin-top:3px}
.xwup_common .p10x10-gray1 input{width:13px;height:13px;vertical-align:middle}
.xwup_common .p10x10-gray1 label{vertical-align:middle}
.xwup_common .p10x10-gray1 .margin-top{margin-top:12px}
.xwup_common .p10x10-gray1 .margin-bottom{margin-bottom:12px}
.xwup_common .xwup-cert-position,.xwup_common .xwup-cert-position2{margin:7px 4px 5px;table-layout:fixed;zoom:1}
.xwup_common .xwup-cert-position2{width:410px;margin:7px 7px 5px}
.xwup_common .xwup-cert-position td,.xwup_common .xwup-cert-position2 td{width:20%}
.xwup_common .xwup-cert-position span,.xwup_common .xwup-cert-position2 span{display:block;margin:0 auto;background-repeat:no-repeat;cursor:pointer}
.xwup_common .xwup-cert-position .xwup-rbg-text,.xwup_common .xwup-cert-position2 .xwup-rbg-text{display:block;height:auto;margin:2px 0 0;text-align:center;background:none;cursor:pointer}
.xwup_common .mngr-btn-text{display:inline-block;margin:2px 0 0;text-align:center}
.xwup_common .mngr-btn-img{display:inline-block;height:16px;margin:0 0 0 15px;background-repeat:no-repeat}
/* radio button group */
.xwup_common .xwup-location-item .xwup-rbg-normal{background:#fff;border-color:#fff}
.xwup_common .xwup-location-item .xwup-rbg-hover,.xwup_common .xwup-location-item .xwup-rbg-pressed{background:#eee;border-color:#999 #ddd #ddd #999}
.xwup_common .xwup-location-item .xwup-rbg-disabled{border:2px solid #FFF;background-color:#fff;background-image:none}
.xwup_common .exclamation{display:inline-block;width:16px;height:16px;margin:4px 0 0;background-image:url(../img/bu.png);background-repeat:no-repeat}
/* password field */
.xwup_common .xwup-password-field,.xwup_common .xwup-password-field2{margin:8px 0 0}
.xwup_common .xwup-password-field2{text-align:center}
.xwup_common .xwup-password-field label,.xwup_common .xwup-password-field2 label{display:inline-block;min-width:100px;_width:100px;margin:0 10px 0 0;text-align:right}
.xwup_common .xwup-password-field2 label{width:145px}
/* cert manager */
.xwup_common .xwup-group-btn-layout{display:block;height:132px; text-align:left}
.xwup_common .xwup-group-btn-layout button{width:75px;height:25px;border:1px solid gray;border-radius:6px;background-color:#efefef;background-image:url(../img/btn_bg.png);text-align:center;vertical-align:top;cursor:pointer}
.xwup_common .xwup-group-btn-layout span{display:inline-block;margin:0 5px;background-repeat:no-repeat;vertical-align:middle;cursor:pointer}
.xwup_common span.xwup-group-btn-desc{display:inline-block;height:12px;margin:10px 5px;text-align:left;vertical-align:top;*zoom:1}
.xwup_common .xwup-group-btn-layout .xwup-size150{width:150px;margin:8px 0 0;padding:1px 0 1px 7px;background-repeat:no-repeat;background-position:10% 50%;text-align:left}
.xwup_common .xwup-group-btn-layout .xwup-size180{width:180px;margin:8px 0 0;padding:1px 0 1px 5px;background-repeat:no-repeat;background-position:10% 50%;text-align:left}
/* table view */
.xwup_common .xwup-tableview{overflow-x:hidden;overflow-y:auto;position:relative;width:100%;_width:423px;height:140px;margin:10px 0 15px;border:1px solid #949494;box-sizing:content-box}
.xwup_common .xwup-tableview table{width:100%;margin:0;border-width:0;table-layout:fixed}
.xwup_common .xwup-tableview caption{visibility:hidden;width:0;height:0;line-height:0}
.xwup_common .xwup-tableview thead{border:0;border-bottom:1px solid #c7c7c7;background:#f5f5f5;background-image:url(../img/btn_bg.png);font-weight:bold}
.xwup_common .xwup-tableview th{position:static;padding:5px 0;background-color:#f5f5f5;font-weight:bold;text-align:center;white-space:nowrap;text-overflow:ellipsis;cursor:default}
.xwup_common .xwup-tableview th .wide-cert-table-resizearea{position:relative;zoom:1;text-align:center;font-weight:bold}
.xwup_common .xwup-tableview .xwup-mcert{width:82px}
.xwup_common .xwup-tableview .xwup-mcert2{width:164px}
.xwup_common .xwup-tableview .xwup-mcert3{width:82px}
.xwup_common .xwup-tableview .xwup-mcert4{width:82px}
.xwup_common .xwup-tableview tbody tr{border-bottom:1px solid #e3e3e3}
.xwup_common .xwup-tableview td{padding:0 5px;border:1px solid #eee;border-width:0 1px 1px 0;word-wrap:normal}
.xwup_common .xwup-tableview-cell{overflow:hidden;width:100%;max-width:100%;margin:0;padding:1px 0;text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;word-wrap:normal}
.xwup_common .xwup-tableview-cell img{vertical-align:middle}
.xwup_common .xwup-tableview-selected-row td{background-color:#6c9cda;color:#fff;cursor:pointer}
.xwup_common .xwup-tableview-selected-row .xwup-tableview-cell{color:#fff}
.xwup_common .xwup-tableview-unselected-row{background-color:transparent;color:#000;cursor:pointer}
.xwup_common .xwup-tableview-resizer{position:absolute;top:-5px;left:100%;width:6px;height:27px;margin-left:-3px;*margin-left:4px;cursor:w-resize}
.xwup_common .xwup-tableview-button{width:15px}
.xwup_common .xwup-tableview-viewbutton{width:70px;height:24px;margin:0 2px;border:1px solid #c7c7c7;border-radius:4px;background-color:#FFF;font-size:11px;text-align:center;cursor:pointer}
/* certselect */
.xwup_common .xwup-widget-sec{position:relative;width:100%;height:0px}
.xwup_common .xwup-widget-sec .fb{display:inline-block;color:#000;font-weight:bold}
.xwup_common .xwup-widget-sec .fc{color:#000}
.xwup_common .exclamation-image{display:inline-block;margin:4px 0 0 0;width:16px;height:16px;background:url(../img/bu.png) no-repeat}
.xwup_common .xwup-cert-passwd{padding-left:10px}
.xwup_common .xwup-cert-passwd span{display:block;padding:10px 0 2px}
.xwup_common .xwup-passwd-field{width:100%;height:26px;padding:13px 0 0;color:#986e3b;box-sizing:content-box}
.xwup_common .xwup-passwd-field .xwup-tit-pw{display:inline-block;font-weight:bold;color:#000;margin:0;padding-top:5px;vertical-align:top;cursor:default}
.xwup_common .xwup-passwd-field .xwup-pw-box{width:180px;height:18px;margin-left:4px;padding-left:4px;border:1px solid #000;vertical-align:middle;color:#000;box-sizing:content-box}
.xwup_common .xwup-passwd-field img{margin-right:4px;vertical-align:middle}
.xwup_common .xwup-passwd-field span{display:inline-block;padding:0;vertical-align:middle}
.xwup_common .xwup-expire-alert{display:none;width:220px;position:absolute;padding:7px;border:1px solid gray;border-radius:6px;background:#FFF;text-align:left;-webkit-border-radius:6px;box-shadow:3px 3px 10px gray;-webkit-box-shadow:3px 3px 10px gray}
.xwup_common .xwup-expire-icon{display:block;position:absolute;top:0;left:0;margin:0;padding:10px}
.xwup_common .xwup-expire-message{display:block;margin-left:28px;font-weight:bold}
.xwup_common .xwup-renew-message{display:block;margin-left:28px}
.xwup_common .xwup-expire-arrow{position:absolute;top:-19px;left:30px;width:0;height:0;border:10px solid;border-color:transparent transparent #FFF}
.xwup_common .xwup-expire-arrow-border{position:absolute;top:-20px;left:30px;width:0;height:0;border:10px solid;border-color:transparent transparent #c7c7c7}
.xwup_common #xwup_header{text-align:center}
/* fileselect */
.xwup_common .xwup-medialist{display:inline-block;*float:left;overflow-x:scroll;overflow-y:auto;width:160px;height:250px;border:1px solid #949494;background-color:#fff;margin:14px 14px 14px 0px;cursor:auto}
.xwup_common .xwup-medialist table{width:100%}
.xwup_common .xwup-medialist td{overflow:hidden;padding:2px 3px 1px;text-overflow:ellipsis;white-space:nowrap}
.xwup_common .xwup-medialist td a,.xwup_common .xwup-filelist td a{display:block}
.xwup_common .xwup-medialist td span,.xwup_common .xwup-filelist td span{display:inline-block;width:16px;height:16px;margin:0 4px}
.xwup_common .xwup-filelist{display:inline-block;overflow-x:scroll;overflow-y:auto;_float:left;width:512px;height:250px;border:1px solid #949494;background-color:#fff;margin:14px 0px;cursor:auto}
.xwup_common .xwup-filelist table{width:100%;table-layout:fixed}
.xwup_common .xwup-filelist td{overflow:hidden;padding:2px 10px 1px 3px;white-space:nowrap;cursor:default}
.xwup_common .xwup-tab-list .selected{background-color:#3875D7;color:#fff}
.xwup_common .media-list-image{display:inlinewidth:16px;height:16px;vertical-align:middle;margin-right:4px}
.xwup_common .file-list-image{display:inline;width:16px;height:16px;vertical-align:middle}
.xwup_common .file-list-cell{overflow:hidden;padding:2px 3px 1px 3px;border:0;white-space:nowrap;padding-right:10px;cursor:default}
.xwup_common .file-url,.xwup_common .filename-url{text-align:right}
.xwup_common .file-url .btn-folder{width:80px;height:25px;margin-right:14px;border:1px solid gray;border-radius:6px;background-color:#EFEFEF;background-image:url(../img/btn_bg.png);text-align:center;vertical-align:top}
.xwup_common .file-url .txt-url{width:516px;height:24px;padding:0 5px;background:#f0f0f0;cursor:auto;line-height:24px}
.xwup_common .filename-url .txt-nurl{width:516px;height:24px;margin-left:4px;padding:0 0 0 2px;border:1px solid #c9c9c9;background:#f0f0f0;line-height:22px;vertical-align:middle}
/* viewverify */
.xwup_common .xwup-cert-infos{width:420px}
.xwup_common .xwup-cert-infos table{overflow-x:hidden;font-size:11px;table-layout:fixed}
.xwup_common .xwup-cert-infos th.filed-value{width:100px;text-align:center}
.xwup_common .xwup-cert-infos th.value-end{width:296px;text-align:center}
.xwup_common .xwup-cert-infos img{margin-right:5px}
.xwup_common .xwup-cert-infos button{width:100px}
.xwup_common .xwup-textview{overflow:auto;width:400px;height:323px;margin:0 0 10px;padding:5px 7px 5px 7px;background-color:#fff;border:1px solid #6C9CDA;resize:none;box-sizing:content-box}
.xwup_common .xwup-textview2{overflow:auto;width:404px;height:63px;margin:0 0 3px;padding:5px 7px 5px 7px;background-color:#fff;border:1px solid #6C9CDA;resize:none;box-sizing:content-box}
.xwup_common .xwup-textview3{overflow:auto;width:450px;height:160px;margin:0 0 3px;padding:5px 7px 5px 7px;background-color:#fff;border:1px solid #6C9CDA;resize:none;box-sizing:content-box}
/* savelog */
.xwup_common .xwup-slsave{margin:6px 0 0 0}
.xwup_common .xwup-slremovable{margin:6px 0 0 0}
.xwup_common .xwup-slselect-cert{width:180px;margin:6px 0px 10px 0}
.xwup_common .xwup-sl-pkcs{margin:6px 0 0 6px}
.xwup_common .xwup-sl-securedisk{margin:6px 0 0 6px}
/* changepasswd */
.xwup_common .xwup-ch-title{margin:0 10px 0 0}
.xwup_common .xwup-ch-title table{width:370px}
.xwup_common .xwup-ch-title .timg{margin:7px 8px 0 0}
.xwup_common .xwup-ch-section{width:100%}
.xwup_common .xwup-ch-section .xwup-input-pwd{overflow:hidden;width:170px;height:24px;line-height:24px;padding:0 4px;margin:0 5px}
.xwup_common .xwup-widget-sec2{position:relative;width:100%;height:0px}
.xwup_common .xwup-widget-sec2.fb{display:inline-block;color:#000;font-weight:bold}
.xwup_common .xwup-widget-sec2.fc{color:#000}
.xwup_common .xwup-widget-sec2 .xwup-expire-alert{display:none;width:195px;position:absolute;padding:7px;border:1px solid gray;border-radius:6px;background:#FFF;text-align:left;-webkit-border-radius:6px;box-shadow:3px 3px 10px gray;-webkit-box-shadow:3px 3px 10px gray}
/* commondialog */
.xwup_common .xwup-dialog-sec{width:100%;margin:0px 0px 20px;text-align:center;word-wrap:break-word}
/* confimwindow */
.xwup_common .xwup-confim-area{overflow:hidden;width:338px;height:380px;padding:10px}
/* export */
.xwup_common .xwup-export-area{width:100%;height:240px}
.xwup_common .xwup-export-guide {border:0;padding:0 0 10px 10px}
.xwup_common .xwup-export-sec .xwup-box-layout{margin:0 0 10px}
.xwup_common .xwup-export-sec .xwup-box-border{border:0}
.xwup_common .xwup-export-sec .xwup-box-border span{font-weight:bold;font-size:13px}
.xwup_common .xwup-export-sec2 .xwup-box-layout{margin:0 0 20px}
.xwup_common .xwup-export-sec2 .xwup-box-border{border:0}
.xwup_common .xwup-export-sec2 .xwup-box-border span{padding-left:6px}
.xwup_common .xwup-export-sec2 .filename{margin-bottom:5px}
.xwup_common .xwup-export-sec2 .find-btn{display:inline-block;width:80px;vertical-align:middle}
.xwup_common .xwup-export-sec2 .xwup-input-find{display:inline-block;overflow:hidden;width:240px;height:22px;margin:3px 0 0 6px;line-height:22px;vertcial-align:middle}
.xwup_common .xwup-ex-passwd .xwup-passwd-group{margin:3px 0 10px}
.xwup_common .xwup-ex-passwd .xwup-passwd-group .input-passwd{width:245px}
.xwup_common .xwup-ex-passwd .xwup-passwd-group .input-mouse{margin:0 4px 0 0}
.xwup_common .xwup-passwd-group .pw-txt{display:block;margin:0 0 7px}
.xwup_common .xwup-passwd-group .input-passwd{overflow:hidden;width:370px;height:24px;margin:0 5px 0 0;padding:0 4px;line-height: 24px}
.xwup_common .xwup-export-area .xwup-expire-alert{display:none;width:180px}
.xwup_common .xwup-export-area .xwup-input-find{width:260px}
.xwup_common .xwup-btn-find{width:68px;height:25px;margin:0 5px;border:1px solid gray;border-radius:6px;background-color:#EFEFEF;background-image:url(../img/btn_bg.png);text-align:center;vertical-align:middle}
/* hmsselect */
.xwup_common .description-layout{height:16px;margin:10px 0 0 0;padding:2px 0 0 0;background-color:#ccc;text-align:center}
/* import */
.xwup_common .xwup-import-area{height:240px}
.xwup_common .xwup-import-area .xwup-select-sert{margin:15px 0}
.xwup_common .xwup-import-area .xwup-tit-import{margin:0 0 3px;font-weight:bold}
.xwup_common .xwup-import-area .xwup-input-imfile,.xwup_common .xwup-import-area .xwup-input-imfile2{overflow:hidden;width:350px;_height:24px;margin:0 0 5px;line-height:24px;background:#fff;_border:1px solid #777}
.xwup_common .xwup-import-area .xwup-input-imfile2{width:210px;margin:0 5px 0 0}
.xwup_common .xwup-import-area .xwup-import-passwd{margin:15px 0 0 0}
/* inputpasswd */
.xwup_common .xwup-inpwd-sec .xwup-input-name{margin:0 10px 0 0}
.xwup_common .xwup-inpwd-sec .xwup-input-pwd{overflow:hidden;width:165px;height:24px;margin:0 5px;padding:0 4px;line-height:24px}
/* iccard */
.xwup_common .xwup-inpwd-sec2{position:relative;padding:20px}
.xwup_common .xwup-inpwd-sec2 .xwup-input-name{display:block;margin:0 10px 13px 0}
.xwup_common .xwup-inpwd-sec2 .xwup-input-pwd{overflow:hidden;width:165px;height:24px;margin:0px 5px 0 0;padding:0 4px;line-height:24px}
.xwup_common .xwup-inpwd-sec2 .xwup-buttons-layout{margin:10px 0px 0px 0px}
/* iccardlist */
.xwup_common .xwup-iccardlist{margin:10px}
.xwup_common .xwup-iccardlist .xwup-tableview{_width:300px;height:125px}
/* scpselect */
.xwup_common .xwup-scpselect{margin:10px}
.xwup_common .xwup-scpselect .xwup-tableview{_width:420px;height:170px}
/* rootverify */
.xwup_common .xwup-boxtitle{margin:10px 0 0 0;font-size:11px;font-weight:bold;color:#606060}
.xwup_common .xwup-content-box2{display:none;margin:0 0 8px;padding:5px 0px 3px 5px;border:1px solid #a0a0a0;border-radius:5px;text-align:center}
.xwup_common .xwup-verify-input{width:100%;margin:0 0 5px}
.xwup_common .xwup-verify-info{margin:10px 0 15px 0;text-align:left}
.xwup_common .xwup-verify-info .info{margin-bottom:8px;font-weight:bold;text-decoration:underline}
/* savepasswd */
.xwup_common .xwup-savepwd-sec .xwup-input-pwd{overflow:hidden;width:154px;height:24px;margin:0 5px;padding:0 4px;line-height:24px}
.xwup_common .xwup-txt-message{padding:0 14px 10px;line-height:18px}
/* usernotify */
.xwup_common .xwup-usernoti-box{width:344px;height:288px;padding:5px;border:1px solid #949494}
/* verifyhsm */
.xwup_common .xwup-verrify-sec .xwup-input-pwd{overflow:hidden;width:190px;height:24px;margin:0 5px;padding:0 4px;line-height:24px}
/* verifyvid */
.xwup_common .xwup-veriid-sec .xwup-input-name{display:block;margin:0 0 5px}
.xwup_common .xwup-veriid-sec .xwup-input-pwd{overflow:hidden;width:330px;height:24px;margin:0 5px;padding:0 4px;line-height:24px}
/* guidewindow */
.xwup_common .xwup-guidewindow{text-align:center;margin-top:10px}
/* pfxdialog */
.xwup_common .xwup-tit-pfxdialog{margin:0 0 3px;font-weight:bold}
.xwup_common .xwup-pfx-drag{border:2px dashed #bbb;/*border-radius:5px;*/padding:10px;text-align:center;color:#bbb}
.xwup_common .xwup-drag-guide-certselect{display:none;border:2px dashed #bbb;padding-top:29px;text-align:center;color:#bbb;width:404px;height:80px;margin-left:1px;position:absolute;top:-129px;box-sizing:content-box}
.xwup_common .xwup-drag-guide-certselect2{display:none;border:2px dashed #fff;padding-top:36px;text-align:center;color:#bbb;width:412px;height:108px;margin-left:-3px;position:absolute;top:-160px;}
.xwup_common .xwup-drag-guide-certmanager{display:none;border:2px dashed #bbb;padding-top:21px;text-align:center;color:#bbb;width:420px;height:88px;margin-left:1px;position:absolute;top:-129px;}
.xwup_common .xwup-drag-guide-certmanager2{display:none;border:2px dashed #fff;padding-top:40px;text-align:center;color:#bbb;width:428px;height:104px;margin-left:-3px;position:absolute;top:-160px;z-index:-1}
.xwup_common .xwup-drag-overlay-certselect{width:452px;height:578px;top:-575px;left:0;}
.xwup_common .xwup-drag-overlay-certmanager{width:500px;height:585px;top:-582px;left:0;}
.xwup_common .xwup-drag-guide-certselectwide{display:none;border:2px dashed #bbb;padding-top:20px;text-align:center;color:#bbb;width:903px;height:73px;margin-left:20px;margin-top:9px;position:absolute;top:-107px}
.xwup_common .xwup-drag-guide-certselectwide2{display:none;border:2px dashed #bbb;padding-top:30px;text-align:center;color:#bbb;width:903px;height:97px;margin-left:20px;margin-top:9px;position:absolute;top:-138px}
.xwup_common .xwup-drag-overlay-certselectwide{width:948px;height:325px;top:-320px;left:0;}
.xwup_common .xwup-drag-guide-certselectmini{display:none;border:2px dashed #bbb;padding-top:29px;text-align:center;color:#bbb;width:404px;height:80px;margin-left:1px;position:absolute;top:-129px;}
.xwup_common .xwup-drag-overlay-certselectmini{width:422px;height:384px;top:-396px;left:14px;}
.xwup_common .xwup-drag-hover{border:2px dashed #20509f;background-color:#bcd5ff}
.xwup_common .xwup-drag-guide-span{color:grey;}
.xwup_common .xwup-drag-guide-span-hover{color:#000;}
.xwup_common .xwup-input-pfxfile{overflow:hidden;width:300px}
.xwup_common .xwup-pfx-filebox label {display: inline-block;padding: .5em .75em;color:#fff;font-size: inherit;line-height: normal;vertical-align: middle;background-color: #337ab7;cursor: pointer;border: 1px solid #2e6da4;border-radius: .25em}
/*.xwup_common .xwup-pfx-filebox2 {display: inline-block;padding: .5em .75em;color:#fff;font-size: inherit;line-height: normal;vertical-align: middle;background-color: #337ab7;cursor: pointer;border: 1px solid #2e6da4;border-radius: .25em}*/
.xwup_common .xwup-pfx-filebox input[type="file"] {position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip:rect(0,0,0,0);border: 0}
/* xfslogin */
.xwup_common .xwup-xfs-section{width:100%}
.xwup_common .xwup-xfs-section .xwup-password-field label{vertical-align:baseline}
.xwup_common .xwup-xfs-section .xwup-input-pwd{overflow:hidden;width:170px;height:24px;line-height:24px;padding:0 4px;margin:0 5px}
.xwup_common .xwup-xfs-section .xwup-buttons-layout3 button{vertical-align:middle}
.xwup_common .xwup-xfs-section .xwup-buttons-layout3 input[type="checkbox"]{margin:0 5px;}
.xwup_common .xwup-xfs-regist{width:100%;text-align:right;text-decoration:underline}
/*
.xwup_common .xwup-widget-sec2{position:relative;width:100%;height:0px}
.xwup_common .xwup-widget-sec2.fb{display:inline-block;color:#000;font-weight:bold}
.xwup_common .xwup-widget-sec2.fc{color:#000}
.xwup_common .xwup-widget-sec2 .xwup-expire-alert{display:none;width:195px;position:absolute;padding:7px;border:1px solid gray;border-radius:6px;background:#FFF;text-align:left;-webkit-border-radius:6px;box-shadow:3px 3px 10px gray;-webkit-box-shadow:3px 3px 10px gray}
*/
/* certselectwide */
.xwup_common .xwup-title-wide{height:55px;background:#fff;color:#20509f}
.xwup_common .xwup-title-wide h3{height:55px;font-size:20px;line-height:55px;color:#20509f;letter-spacing:-2px}
.xwup_common .xwup-location-wideitem{width:946px}
.xwup_common .xwup-location-wideitem span{display:inline-block;height:34px;background-repeat:no-repeat;vertical-align:middle;cursor:pointer}
.xwup_common .xwup-location-wideitem .xwup-rbg-text{display:inline-block;height:auto;margin:2px 0 0;vertical-align:middle;background:none}
.xwup_common .xwup-location-wideitem td{height:45px}
.xwup_common .xwup-location-wideitem button{display:block;position:relative;height:45px;margin:0 -1px;border:1px solid #c7c7c7;border-bottom:1px solid #346ad5;border-radius:4px 4px 0 0;background:#fff;color:#000;white-space:nowrap;-webkit-border-radius:4px 4px 0 0;z-index:10}
.xwup_common .xwup-wide-rbg{text-align:center}
.xwup_common .xwup-wide-rbg:hover{color:#0078d4}
.xwup_common .xwup-location-wideitem .wide-xwup-rbg-pressed{zoom:1;padding:0 0 1px;border:1px solid #346ad5;border-bottom:0;z-index:20;color:#0078d4;text-align:center}
.xwup_common .xwup-wide-body{margin:0 -1px;*margin:0 0 0 -1px;padding:20px 0;border:1px solid #346ad5}
.xwup_common .wide-cert-table-outline{overflow-x:hidden;overflow-y:auto;height:126px;margin:0 20px 0 20px;border-bottom:1px solid #c7c7c7;zoom:1}
.xwup_common .wide-cert-table-outline table.wide-cert-table{width:100%;margin-right:-1px;border-top:1px solid #000;table-layout:fixed}
.xwup_common .xwup-wide-body .wide-cert-table-outline table.wide-cert-table thead{background:#e9e9e9}
.xwup_common .xwup-wide-body .wide-cert-table-outline table.wide-cert-table th{width:25%;border-right:1px solid #e9e9e9;background-color:#efefef}
.xwup_common .xwup-wide-body .wide-cert-table-outline table.wide-cert-table th div{height:30px;line-height:30px;font-weight:bold;text-align:center;vertical-align:middle}
.xwup_common .xwup-wide-body .wide-cert-table-outline table.wide-cert-table th .wide-cert-table-resizearea{zoom:1}
.xwup_common .button-on-table{width:70px;height:24px;margin-right:10px;border:1px solid #c7c7c7;font-size:11px;background-image:url(../img/btn_bg.png);background-color:transparent;border-radius:4px;text-align:center}
.xwup_common .button-on-table:hover{color:#0078d4}
.xwup_common .xwup-password-field-wide{height:45px;margin:0 20px;padding:0 0 0 10px;border:1px solid #c7c7c7}
.xwup_common .xwup-password-field-wide table{width:100%;height:100%}
.xwup_common .xwup-password-field-wide img{vertical-align:middle}
.xwup_common .xwup-password-field-wide .xwup-password-input-wide{width:269px;height:24px;line-height:24px;padding:0 0 0 5px;margin:0 5px;vertical-align:middle;overflow:hidden;border:1px solid #0078d4;font-size:12px;font-family:Dotum,Helvetica,AppleGothic,Sans-serif;color:#000}
.xwup_common .xwup-password-field-wide .xwup-password-label-wide{color:#0078D4;font-weight:bold;font-size:16px}
.xwup_common .xwup-password-field-wide .xwup-password-text-wide{display:inline;color:#986e3b;margin-left:5px}
/* Conetxt Menu */
.xwup_common .context-menu-item-focused{background:#6C9CDA;color:#FFF}
.xwup_common .context-menu-item-unfocused{background:transparent;color:#000}
.xwup_common .xwup-content-box{margin-top:10px;border:1px solid #949494}
.xwup_common .xwup-content-box table{width:100%}
.xwup_common .xwup-content-box td{vertical-align:top}
.xwup_common .xwup-content-box button{width:90px;height:25px;margin:5px;border:1px solid #c7c7c7;border-radius:6px;background-image:url(../img/btn_bg.png);text-align:center;vertical-align:top}
.xwup_common .xwup-content-box .cert-buttons{width:100px}
.xwup_common .xwup-ico-save,.xwup_common .xwup-ico-del,.xwup_common .xwup-ico-pfx16,.xwup_common .xwup-ico-prop,.xwup_common .xwup-ico-secure05,.xwup_common .xwup-ico-misc25,.xwup_common .xwup-ico-install{width:16px;height:16px;cursor:pointer}
.xwup_common .xwup-ico-save{width:20px;height:18px;background-image:url(../img/save.png)}
.xwup_common .xwup-ico-del{width:20px;height:18px;background-image:url(../img/delete.png)}
.xwup_common .xwup-ico-pfx16{width:20px;height:18px;background-image:url(../img/pfx16.png)}
.xwup_common .xwup-ico-prop{width:20px;height:18px;background-image:url(../img/prop.png)}
.xwup_common .xwup-ico-secure05{width:20px;height:18px;background-image:url(../img/secure05.png)}
.xwup_common .xwup-ico-misc25{width:20px;height:18px;background-image:url(../img/misc25.png)}
.xwup_common .xwup-ico-install{width:20px;height:18px;background-image:url(../img/install.png)}
/* TabView */
.xwup_common .layout-tab-content{display:block;clear:both;margin-bottom:10px;padding:20px 0px;border:2px solid #6C9CDA;border-radius:0px 12px 12px;-moz-border-radius:0px 12px 12px;background-color:#fff;text-align:center}
.xwup_common ul.tabnav{float:left;position:relative;margin:10px 0 0;padding:0;color:#666;cursor:pointer;text-align:left}
.xwup_common ul.tabnav li{display:inline-block;*display:inline;margin:0px;padding:6px 10px 2px;border-bottom-width:0px;border-radius:6px 6px 0px 0px;-moz-border-radius:6px 6px 0px 0px;list-style:none;*zoom:1}
.xwup_common .tabnav-unselected{margin:0;border:1px solid #999;border-bottom-width:0;background-color:#f9f9f9;list-style:none;font-weight:normal;color:#000}
.xwup_common .xwup-tab-list ul li.tabnav-selected{margin:0;border:1px solid #6c9cda;border-bottom-width:0;background-color:#6c9cda;color:#fff;list-style:none}
.xwup_common .xwup-tab-list ul li.tabnav-selected a{color:#fff}
.xwup_common .tabcontent-unselected{display:none}
.xwup_common .tabcontent-selected{display:inline-block;*display:inline;text-align:center;*zoom:1}
.xwup_common .tabcontent-selected .xwup-tableview{height:300px;margin:10px 0 18px}
.xwup_common .xwup-td-style-case1{height:30px;padding:0;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;border-top-color:transparent;word-wrap:normal}
.xwup_common .xwup-td-style-case2{padding:0;border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;border-top-color:transparent;word-wrap:normal}
.xwup_common .xwup-td-style-case3{padding:0;border-bottom:1px solid #e3e3e3;border-top-color:transparent;word-wrap:normal}
.xwup_common .context-menu-item-focused{background-color:#6c9cda;color:#fff}
.xwup_common .context-menu-item-unfocused{background-color:transparent;color:#000}
.xwup_common .context-menu-layout{position:absolute;*display:block;min-width:190px;background:#fff;font-size:16px;cursor:default;box-shadow:10px 12px 35px gray;-moz-box-shadow:10px 12px 35px gray;-webkit-box-shadow:10px 12px 35px gray}
.xwup_common .ul-list-type1{margin:0;padding:3px;list-style:none}
.xwup_common .ul-list-type1 li{display:block;padding:3px 10px;font-weight:bold;font-size:16px;text-decoration:none;white-space:nowrap}
.xwup_common .info-type1{display:block;margin:7px 0 0;font-weight:bold;font-size:11px}
.xwup_common .frame-type1{width:401px;height:160px;padding:4px;border:1px solid gray;background:#fff}
.xwup_common .xwup_btn_ok{background:url(../img/btn_ok_blue_eng.png) no-repeat}
.xwup_common .xwup_btn_cancel{background:url(../img/btn_cancel_blue_eng.png) no-repeat}
.xwup_common .certselect_input_type1{height:18px;padding:5px 0 0 5px}
.xwup_common .xwup-td-style-case1 .xwup-tableview-cell,.xwup_common .xwup-td-style-case2 .xwup-tableview-cell,.xwup_common .xwup-td-style-case3 .xwup-tableview-cell{text-align:center}
.xwup_common .xwup-td-style-case3 .xwup-tableview-cell button{width:74px;height:25px;margin:0 0 0 5px;color:#000;border:1px solid gray;border-radius:4px;-moz-border-radius:2px;font-size:12px;text-align:center}
.xwup_common .xwup-td-style-case3 .xwup-tableview-cell button:hover{color:#0078d4}
.xwup_common .xwup-td-style-case3 .xwup-tableview-cell button:first-child{margin:0}
.xwup_common .xwup_expire_alert{position:absolute;top:0;left:0;z-index:200;padding:10px;background:#fff;border:1px solid gray}
.xwup_common .xwup-table-mini{overflow-y:auto;width:auto;height:140px;margin:10px 0 15px;border:1px solid #949494}
.xwup_common .xwup-table-mini table{width:100%;margin:0;border:0;table-layout:fixed}
.xwup_common .xwup-table-mini table thead{border-bottom:1px solid #c7c7c7;background:#f5f5f5 url(../img/btn_bg.png)}
.xwup_common .xwup-table-mini table th.xwup-mcert,.xwup_common .xwup-table-mini table th.xwup-mcert2,.xwup_common .xwup-table-mini table th.xwup-mcert3,.xwup_common .xwup-table-mini table th.xwup-mcert4{position:static;width:82px;padding:5px 0;background:#f5f5f5;font-weight:bold;text-align:center;white-space:nowrap;text-overflow:eliipsis;cursor:default}
.xwup_common .xwup-table-mini table th.xwup-mcert2{width:164px}
.xwup_common .xwup-table-mini table td .xwup-tableview-cell{text-align:center !Important}
.xwup_common div.xwup-complete-page{position:relative}
.xwup_common p.xwup-txt-notice{position:absolute;top:100px;left:150px;width:215px}
/* Bug & IE6 */
.xwup_common iframe.not{position:absolute;top:0;left:0;background:transparent;z-index:-1;width:900px;height:900px;filter:alpha(opacity=0);opacity:0}
.xwup_common button[disabled="disabled"]{background:none;color:gray;cursor:default}
.xwup_common .xwup-group-btn-layout button.xwup-size180[disabled="disabled"] span{color:gray;cursor:default}
/* design modify - img */
/* 타이틀 영역 */
.xwup_common .title,.xwup_common .xwup-title{top:0;left:0;width:100%;height:45px;border-radius:0;background:url(../img/btn_background.gif) repeat-x;cursor:move} /* 1px 이미지로 repeat시킨 Type */
/*.xwup_common .title,.xwup_common .xwup-title{top:0;left:0;width:100%;height:45px;border-radius:0;background:#20509f url(../img/title_bg.png) no-repeat 100% 50%;cursor:move}*/ /* 단색위에 이미지얹어진 형태 (우측에 이미지) */
/*.xwup_common .title,.xwup_common .xwup-title{top:0;left:0;width:100%;height:45px;border-radius:0;background:#20509f url(../img/title_bg.png) no-repeat 0 50%;cursor:move}*/ /* 단색위에 이미지얹어진 형태 (좌측에 이미지) */
/*.xwup_common .title,.xwup_common .xwup-title{top:0;left:0;width:100%;height:45px;border-radius:0;background:#20509f;cursor:move}*/ /* 단색으로만 되어있는 형태 */
.xwup_common .title h3,.xwup_common .xwup-title h3{color:#777}
/* 배너 */
.xwup_common #xwup_header .banner{width:410px;height:66px} /* 이미지크기에 따라 같이 변경해야함. */
/* 인증서 위치내부 이미지 */
/* 공통 */
.xwup_common .xwup-cert-position span,.xwup_common .xwup-cert-position2 span{height:32px}
/* 활성화 */
.xwup_common .xwup-ico-localstorage{width:32px;background-image:url(../img/icon_localstorage.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage.png', sizingMethod='crop')}
.xwup_common .xwup-ico-memorystorage{width:32px;background-image:url(../img/icon_memorystorage.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_memorystorage.png', sizingMethod='crop')}
.xwup_common .xwup-ico-hdd{width:32px;background-image:url(../img/icon_hdd.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_hdd.png', sizingMethod='crop')}
.xwup_common .xwup-ico-removable{width:32px;background-image:url(../img/icon_removable.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_removable.png', sizingMethod='crop')}
.xwup_common .xwup-ico-savetoken{width:32px;background-image:url(../img/icon_savetoken.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_savetoken.png', sizingMethod='crop')}
.xwup_common .xwup-ico-securedisk{width:32px;background-image:url(../img/icon_securedisk.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_securedisk.png', sizingMethod='crop')}
.xwup_common .xwup-ico-xfs{width:32px;background-image:url(../img/icon_cloud.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_cloud.png', sizingMethod='crop')}
.xwup_common .xwup-ico-nfciccard{width:32px;background-image:url(../img/icon_nfciccard.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_nfciccard.png', sizingMethod='crop')}
.xwup_common .xwup-ico-smartcert{width:32px;background-image:url(../img/icon_smartcert.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_smartcert.png', sizingMethod='crop')}
.xwup_common .xwup-ico-pkcs11{width:32px;background-image:url(../img/icon_pkcs11.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_pkcs11.png', sizingMethod='crop')}
.xwup_common .xwup-ico-mobile{width:32px;background-image:url(../img/icon_mobile.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_mobile.png', sizingMethod='crop')}
.xwup_common .xwup-ico-arrow-left{width:6px;background-image:url(../img/icon_arrow_left.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage.png', sizingMethod='crop')}
.xwup_common .xwup-ico-arrow-right{width:6px;background-image:url(../img/icon_arrow_right.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage.png', sizingMethod='crop')}
/* 비활성화 */
.xwup_common .xwup-ico-localstorage-disabled{width:32px;background-image:url(../img/icon_localstorage_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-memorystorage-disabled{width:32px;background-image:url(../img/icon_memorystorage_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_memorystorage_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-hdd-disabled{width:32px;background-image:url(../img/icon_hdd_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_hdd_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-removable-disabled{width:32px;background-image:url(../img/icon_removable_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_removable_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-savetoken-disabled{width:32px;background-image:url(../img/icon_savetoken_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_savetoken_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-securedisk-disabled{width:32px;background-image:url(../img/icon_securedisk_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_securedisk_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-xfs-disabled{width:32px;background-image:url(../img/icon_cloud_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_cloud_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-nfciccard-disabled{width:32px;background-image:url(../img/icon_nfciccard_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_nfciccard_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-smartcert-disabled{width:32px;background-image:url(../img/icon_smartcert_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_smartcert_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-pkcs11-disabled{width:32px;background-image:url(../img/icon_pkcs11_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_pkcs11_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-mobile-disabled{width:32px;background-image:url(../img/icon_mobile_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_mobile_disabled.png', sizingMethod='crop')}
.xwup_common .xwup-ico-arrow-left-disabled{width:6px;background-image:url(../img/icon_arrow_left_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage.png', sizingMethod='crop')}
.xwup_common .xwup-ico-arrow-right-disabled{width:6px;background-image:url(../img/icon_arrow_right_disabled.png);_background:none;_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../AnySign4PC/img/icon_localstorage.png', sizingMethod='crop')}
/* design modify - border */
.xwup_cert_pop{border-width:1px 1px 5px 1px;border-color:#777;box-shadow:10px 12px 45px gray;-webkit-box-shadow:10px 12px 45px gray} /* 팝업UI */
.xwup_cert_wide{border-width:0 0 5px 0;border-color:#777} /* 바닥UI */
.xwup_common .context-menu-layout{border-width:3px 3px 3px 3px;border-style:solid;border-color:#20509f}
.xwup_common .xwup-drag-zone{position:absolute;border-radius:4px;background-color:#000;opacity:0.1;display:none}
.xwup_common .xwup-loader-img{display:block;margin-left:192px;margin-top:30px}
.xwup_common .xwup-information-close {position:absolute;margin-left:-24px;margin-top:9px;cursor:pointer}
.xwup_common .xwup-information-link {text-decoration:underline;vertical-align:bottom;font-weight:bold}
.xwup_common .xwup-information-box {position:absolute;top:506px;width:100%;text-align:center}
.xwup_common .xwup-information-space {margin-top:10px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)|| typeof WebSocket === "undefined"){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,11 @@
/**
* cross-storage - Cross domain local storage
*
* @version 1.0.0
* @link https://github.com/zendesk/cross-storage
* @author Daniel St. Jules <danielst.jules@gmail.com>
* @copyright Zendesk
* @license Apache-2.0
*/
!function(e){function t(e,r){r=r||{},this._id=t._generateUUID(),this._promise=r.promise||Promise,this._frameId=r.frameId||"CrossStorageClient-"+this._id,this._origin=t._getOrigin(e),this._requests={},this._connected=!1,this._closed=!1,this._count=0,this._timeout=r.timeout||5e3,this._listener=null,this._installListener();var o;r.frameId&&(o=document.getElementById(r.frameId)),o&&this._poll(),o=o||this._createFrame(e),this._hub=o.contentWindow}t.frameStyle={display:"none",position:"absolute",top:"-999px",left:"-999px"},t._getOrigin=function(e){var t,r,o;return t=document.createElement("a"),t.href=e,t.host||(t=window.location),r=t.protocol&&":"!==t.protocol?t.protocol:window.location.protocol,o=r+"//"+t.host,o=o.replace(/:80$|:443$/,"")},t._generateUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,r="x"==e?t:3&t|8;return r.toString(16)})},t.prototype.onConnect=function(){var e=this;return this._connected?this._promise.resolve():this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(this._requests.connect||(this._requests.connect=[]),new this._promise(function(t,r){var o=setTimeout(function(){r(new Error("CrossStorageClient could not connect"))},e._timeout);e._requests.connect.push(function(e){return clearTimeout(o),e?r(e):(t(),void 0)})}))},t.prototype.set=function(e,t){return this._request("set",{key:e,value:t})},t.prototype.get=function(){var e=Array.prototype.slice.call(arguments);return this._request("get",{keys:e})},t.prototype.del=function(){var e=Array.prototype.slice.call(arguments);return this._request("del",{keys:e})},t.prototype.clear=function(){return this._request("clear")},t.prototype.getKeys=function(){return this._request("getKeys")},t.prototype.close=function(){var e=document.getElementById(this._frameId);e&&e.parentNode.removeChild(e),window.removeEventListener?window.removeEventListener("message",this._listener,!1):window.detachEvent("onmessage",this._listener),this._connected=!1,this._closed=!0},t.prototype._installListener=function(){var e=this;this._listener=function(t){var r,o,n,s;if(!e._closed&&t.data&&"string"==typeof t.data&&(o="null"===t.origin?"file://":t.origin,o===e._origin))if("cross-storage:unavailable"!==t.data){if(-1!==t.data.indexOf("cross-storage:")&&!e._connected){if(e._connected=!0,!e._requests.connect)return;for(r=0;r<e._requests.connect.length;r++)e._requests.connect[r](n);delete e._requests.connect}if("cross-storage:ready"!==t.data){try{s=JSON.parse(t.data)}catch(i){return}s.id&&e._requests[s.id]&&e._requests[s.id](s.error,s.result)}}else{if(e._closed||e.close(),!e._requests.connect)return;for(n=new Error("Closing client. Could not access localStorage in hub."),r=0;r<e._requests.connect.length;r++)e._requests.connect[r](n)}},window.addEventListener?window.addEventListener("message",this._listener,!1):window.attachEvent("onmessage",this._listener)},t.prototype._poll=function(){var e,t,r;e=this,r="file://"===e._origin?"*":e._origin,t=setInterval(function(){return e._connected?clearInterval(t):(e._hub&&e._hub.postMessage("cross-storage:poll",r),void 0)},1e3)},t.prototype._createFrame=function(e){var r,o;r=window.document.createElement("iframe"),r.id=this._frameId;for(o in t.frameStyle)t.frameStyle.hasOwnProperty(o)&&(r.style[o]=t.frameStyle[o]);return window.document.body.appendChild(r),r.src=e,r},t.prototype._request=function(e,t){var r,o;return this._closed?this._promise.reject(new Error("CrossStorageClient has closed")):(o=this,o._count++,r={id:this._id+":"+o._count,method:"cross-storage:"+e,params:t},new this._promise(function(e,t){var n,s,i;n=setTimeout(function(){o._requests[r.id]&&(delete o._requests[r.id],t(new Error("Timeout: could not perform "+r.method)))},o._timeout),o._requests[r.id]=function(s,i){return clearTimeout(n),delete o._requests[r.id],s?t(new Error(s)):(e(i),void 0)},Array.prototype.toJSON&&(s=Array.prototype.toJSON,Array.prototype.toJSON=null),i="file://"===o._origin?"*":o._origin,o._hub.postMessage(JSON.stringify(r),i),s&&(Array.prototype.toJSON=s)}))},"undefined"!=typeof module&&module.exports?module.exports=t:"undefined"!=typeof exports?exports.CrossStorageClient=t:"function"==typeof define&&define.amd?define([],function(){return t}):e.CrossStorageClient=t}(this);

View File

@ -0,0 +1,15 @@
<!doctype html>
<head>
<title>Cross Storage Hub</title>
</head>
<body>
<script type="text/javascript" src="crossStorageHub.min.js"></script>
<script>
// Limit requests to any client running on .localhost:300x
CrossStorageHub.init([
{origin: /.*reaver.softforum.com/, allow: ['get', 'set', 'del']},
{origin: /.*sona.softforum.com/, allow: ['get', 'set', 'del']}
]);
</script>
</body>
</html>

View File

@ -0,0 +1,11 @@
/**
* cross-storage - Cross domain local storage
*
* @version 1.0.0
* @link https://github.com/zendesk/cross-storage
* @author Daniel St. Jules <danielst.jules@gmail.com>
* @copyright Zendesk
* @license Apache-2.0
*/
!function(e){var t={};t.init=function(e){var r=!0;try{window.localStorage||(r=!1)}catch(n){r=!1}if(!r)try{return window.parent.postMessage("cross-storage:unavailable","*")}catch(n){return}t._permissions=e||[],t._installListener(),window.parent.postMessage("cross-storage:ready","*")},t._installListener=function(){var e=t._listener;window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent("onmessage",e)},t._listener=function(e){var r,n,o,i,s,a,l;if(r="null"===e.origin?"file://":e.origin,"cross-storage:poll"===e.data)return window.parent.postMessage("cross-storage:ready",e.origin);if("cross-storage:ready"!==e.data){try{o=JSON.parse(e.data)}catch(c){return}if(o&&"string"==typeof o.method&&(i=o.method.split("cross-storage:")[1])){if(t._permitted(r,i))try{a=t["_"+i](o.params)}catch(c){s=c.message}else s="Invalid permissions for "+i;l=JSON.stringify({id:o.id,error:s,result:a}),n="file://"===r?"*":r,window.parent.postMessage(l,n)}}},t._permitted=function(e,r){var n,o,i,s;if(n=["get","set","del","clear","getKeys"],!t._inArray(r,n))return!1;for(o=0;o<t._permissions.length;o++)if(i=t._permissions[o],i.origin instanceof RegExp&&i.allow instanceof Array&&(s=i.origin.test(e),s&&t._inArray(r,i.allow)))return!0;return!1},t._set=function(e){window.localStorage.setItem(e.key,e.value)},t._get=function(e){var t,r,n,o;for(t=window.localStorage,r=[],n=0;n<e.keys.length;n++){try{o=t.getItem(e.keys[n])}catch(i){o=null}r.push(o)}return r.length>1?r:r[0]},t._del=function(e){for(var t=0;t<e.keys.length;t++)window.localStorage.removeItem(e.keys[t])},t._clear=function(){window.localStorage.clear()},t._getKeys=function(){var e,t,r;for(r=[],t=window.localStorage.length,e=0;t>e;e++)r.push(window.localStorage.key(e));return r},t._inArray=function(e,t){for(var r=0;r<t.length;r++)if(e===t[r])return!0;return!1},t._now=function(){return"function"==typeof Date.now?Date.now():(new Date).getTime()},"undefined"!=typeof module&&module.exports?module.exports=t:"undefined"!=typeof exports?exports.CrossStorageHub=t:"function"==typeof define&&define.amd?define([],function(){return t}):e.CrossStorageHub=t}(this);

View File

@ -0,0 +1,377 @@
var Integrity = (function() {
/*********************************************************************************
* Option *
*********************************************************************************/
var integrityOption = {
JSFileCheck: false,
//
FuncCheck: true,
initObject: ["XCrypto", "AnySign.mAnySignForPC"],
FuncObjectError: "function changed",
FuncObjectReg: {"XCrypto":"crypto\\(\\).([A-Za-z0-9_]+)[\\s|(]",
"AnySign.mAnySignForPC":"mAnySignForPC.([A-Za-z0-9_]+)[\\s|(]"},
//
DOMCheck: true,
DOMErrorType: "alert", // log, alert
//
ScriptLog: true,
integrityLogFileName: "AnySignLiteLog.txt",
verifyFileList: {"/ext/xcrypto_min.js": "__1__",
"/ext/xcryptoCore_min.js": "__2__",
"/ext/FileSaver.min.js": "__3__"}
};
var js_errorCallback = function(message) {
console.log(message);
};
var dom_errorCallback = function(message) {
alert(message);
};
var func_errorCallback = function(message) {
alert(message);
};
var certmanager = {
xwup_media_localstorage: ["id"],
xwup_media_hdd: ["id"],
xwup_media_removable: ["id"],
xwup_media_savetoken: ["id"],
xwup_media_pkcs11: ["id"],
xwup_media_mobile: ["id"]
};
var certselect = {
xwup_certselect_lite_input1: ["id", "name", "type"],
xwup_OkButton: ["id"],
xwup_cert_table: ["id"]
};
var changepasswd = {
xwup_changepasswd_tek_input1: ["id", "type"],
xwup_changepasswd_tek_input2: ["id", "type"],
xwup_changepasswd_tek_input3: ["id", "type"]
};
var fileselect = {
xwup_filelist: ["id"]
};
var inputpasswd = {
xwup_inputpasswd_tek_input1: ["id", "name", "type"]
};
var pfxdialog = {
xwup_dragZone: ["id"]
};
/**********************************************************************************/
var mutationEnable,
funcOriginList = [],
funcOriginObj,
IntegrityLog = [];
_leadingZeros = function(n, digits) {
var zero = '';
n = n.toString();
if (n.length < digits) {
for (i = 0; i < digits - n.length; i++)
zero += '0';
}
return zero + n;
}
_getTimeStamp = function() {
var d = new Date();
var s =
_leadingZeros(d.getFullYear(), 4) + '-' +
_leadingZeros(d.getMonth() + 1, 2) + '-' +
_leadingZeros(d.getDate(), 2) + ' ' +
_leadingZeros(d.getHours(), 2) + ':' +
_leadingZeros(d.getMinutes(), 2) + ':' +
_leadingZeros(d.getSeconds(), 2);
return s;
}
_startLogging = function(obj) {
if (obj) IntegrityLog = obj;
IntegrityLog.push("[" + _getTimeStamp() + "] Logging start.\r\n");
}
_stopLogging = function() {
var blob = new Blob(IntegrityLog, {type: "text/plain;charset=utf-8"});
saveAs(blob, integrityOption.integrityLogFileName);
IntegrityLog = [];
}
_clone = function(obj) {
var copy;
if (null == obj || "object" != typeof obj) return obj;
if (obj instanceof Date) {
copy = new Date();
copy.setTime(obj.getTime());
return copy;
}
if (obj instanceof Array) {
copy = [];
for (var i = 0, len = obj.length; i < len; i++) {
copy[i] = _clone(obj[i]);
}
return copy;
}
if (obj instanceof Object) {
copy = {};
for (var attr in obj) {
if (obj.hasOwnProperty(attr)) copy[attr] = _clone(obj[attr]);
}
return copy;
}
throw new Error("Unable to copy obj! Its type isn't supported.");
}
_addEventListener = function(module) {
for (m in module) {
var id = m.toString();
var option = (function() {
return eStrASP("module." + id);
})();
var targetObject = document.getElementById(id);
(function(value) {
targetObject.addEventListener("DOMAttrModified", function(e) {
//product type check.
if (AnySign.mAnySignEnable)
return;
if (value.indexOf(e.attrName) != -1) {
var strings = "";
strings += "[" + _getTimeStamp() + "] ";
strings += targetObject.tagName + "노드의 " + e.attrName + "속성이 \"" + e.prevValue + "\"에서 \"" + e.newValue + "\"으로 변경됨";
strings += "\r\n";
if (integrityOption.DOMErrorType == "log") {
IntegrityLog.push(strings);
} else {
dom_errorCallback(strings);
}
}
}, false);
})(option);
}
}
/*
* MutationObserver 참고
* https://developer.mozilla.org/ko/docs/Web/API/MutationObserver
*/
_addObserver = function(module) {
for (m in module) {
var id = m.toString();
var option = (function() {
return eStrASP("module." + id);
})();
var targetObject = document.getElementById(id);
if (targetObject != null) {
observerObject.observe(targetObject, {
attributes: true,
attributeFilter: option,
attributeOldValue: true
});
}
}
}
_initFunc = function() {
for(var i = 0; i < integrityOption.initObject.length; i++) {
var obj = (function(){
return eStrASP(integrityOption.initObject[i]);
})();
funcOriginList[integrityOption.initObject[i]] = _clone(obj);
}
}
_initJSFile = function() {
var fileList = integrityOption.verifyFileList;
for (m in fileList) {
_loadScript(m, fileList[m]);
}
}
_getFuncName = function(obj, strings) {
var aRegExp,
aFuncName,
aRet = "";
if (integrityOption.FuncObjectReg) {
aRegExp = new RegExp(integrityOption.FuncObjectReg[obj]);
aFuncName = strings.match(aRegExp);
if (aFuncName)
aRet = aFuncName[1];
}
return aRet;
}
_checkIntegrity = function(obj, name, type) {
var aName;
if (type) {
aName = _getFuncName(obj, name);
if (aName == "") {
console.log("[integrity] _checkIntegrity error: empty name");
return false;
}
} else {
aName = name;
}
//integrity Test!
//XCrypto.getCertTree = function(){alert(1);}
//XCrypto.getMediaList= function(){alert(1);}
var orifuncS = (function() {
var value = eStrASP("funcOriginList[\"" + obj + "\"]." + aName);
if (typeof value == "undefined") return "not function";
return eStrASP("funcOriginList[\"" + obj + "\"]." + aName);
})();
if (orifuncS == "not function") {
console.log("[integrity] _checkIntegrity error: not function");
return true;
}
var funcS = (function() {
return eStrASP(obj + "." + aName);
})();
if (orifuncS != funcS) {
func_errorCallback("[" + aName + "] " + integrityOption.FuncObjectError);
return false;
}
return true;
}
mutationObjectCallback = function(mutationRecordsList) {
mutationRecordsList.forEach(function(mutationRecord){
//product type check.
if (AnySign.mAnySignEnable)
return;
var target = mutationRecord.target;
var oldValueInfo, curValueInfo;
oldValueInfo = "\"" + mutationRecord.oldValue + "\"에서";
curValueInfo = "\"" + target.getAttribute(mutationRecord.attributeName) + "\"으로";
var strings = "";
strings += "[" + _getTimeStamp() + "] ";
strings += target.nodeName + "노드의 " + mutationRecord.attributeName + "속성이 " + oldValueInfo + " " + curValueInfo + " 변경됨";
strings += "\r\n";
if (integrityOption.DOMErrorType == "log") {
IntegrityLog.push(strings);
} else {
dom_errorCallback(strings);
}
});
}
try {
mutationEnable = true;
var observerObject = new MutationObserver(mutationObjectCallback);
} catch(e) {
mutationEnable = false;
}
_loadScript = function (name) {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
// readyState
// 0: uninitialized, 1: loading, 2: loaded, 3: interactive, 4: complete
// status
// 404: Not Found, 500: Internal Server Error, 200: OK
try
{
if (xhttp.readyState == 4 && xhttp.status == 200)
{
var resultHash = XCrypto.hashData(2, xhttp.responseText, 0);
if (resultHash != integrityOption.verifyFileList[name])
js_errorCallback("[integrity] " + name + " file diff");
else
js_errorCallback("[integrity] " + name + " file same");
}
}
catch(e) {
console.log("[integrity] _loadScript error: " + e);
}
};
var path = AnySign.mBasePath + name;
xhttp.open("GET", path, false);
xhttp.send(null);
}
_getIntegrityOption = function() {
return integrityOption.FuncCheck;
}
// error check!
if (typeof XCrypto == "undefined") {
console.log("XCrypto undefined");
return;
}
// start check!
if (integrityOption.ScriptLog) _startLogging();
if (integrityOption.JSFileCheck) _initJSFile();
if (integrityOption.FuncCheck) _initFunc();
//
return {
setObserver: function(moduleName)
{
try {
var isFileSaverSupported = !!new Blob;
} catch(e) {
return;
}
var module = (function() {
return eStrASP(moduleName);
})();
if (mutationEnable) {
_addObserver(module);
}
else {
_addEventListener(module);
}
},
checkIntegrity: function(obj, name, type) {
if (integrityOption.FuncCheck) {
if (type) {
return _checkIntegrity(obj, name, 1);
} else {
return _checkIntegrity(obj, name, 0);
}
} else {
return true;
}
},
startLogging: function(obj) {
_startLogging(obj);
},
stopLogging: function() {
_stopLogging();
}
}
})();

View File

@ -0,0 +1,23 @@
/*!
* AnySign, v1.0.1.21.
*
* For more information on this product, please see
* https://www.hsecure.co.kr/
*
* Copyright (c) Hancom Secure Inc. All Rights Reserved.
*
* Date: 2019-08-21
*/
var Integrity=function(){var integrityOption={JSFileCheck:false,FuncCheck:true,initObject:["XCrypto","AnySign.mAnySignForPC"],FuncObjectError:"function changed",FuncObjectReg:{"XCrypto":"crypto\\(\\).([A-Za-z0-9_]+)[\\s|(]","AnySign.mAnySignForPC":"mAnySignForPC.([A-Za-z0-9_]+)[\\s|(]"},DOMCheck:true,DOMErrorType:"alert",ScriptLog:true,integrityLogFileName:"AnySignLiteLog.txt",verifyFileList:{"/ext/xcrypto_min.js":"d08123dca142af2204d13fa7657e9371a7ffb0dfd8748ba544453ae20cb27a23","/ext/xcryptoCore_min.js":"4c479d473ee05472189dc1d738f3efc772bf3952cb2e1b9ae1648188deee08de","/ext/FileSaver.min.js":"ff9a5da866f71b9ab01a7c67b6ecaa7f0ad156add37aab0518a620a5741aba9a"}};var js_errorCallback=
function(message){console.log(message)};var dom_errorCallback=function(message){alert(message)};var func_errorCallback=function(message){alert(message)};var certmanager={xwup_media_localstorage:["id"],xwup_media_hdd:["id"],xwup_media_removable:["id"],xwup_media_savetoken:["id"],xwup_media_pkcs11:["id"],xwup_media_mobile:["id"]};certselect={xwup_certselect_lite_input1:["id","name","type"],xwup_OkButton:["id"],xwup_cert_table:["id"]};changepasswd={xwup_changepasswd_tek_input1:["id","type"],xwup_changepasswd_tek_input2:["id",
"type"],xwup_changepasswd_tek_input3:["id","type"]};fileselect={xwup_filelist:["id"]};inputpasswd={xwup_inputpasswd_tek_input1:["id","name","type"]};pfxdialog={xwup_dragZone:["id"]};var mutationEnable,IntegrityLog=[];funcOriginList=[],_leadingZeros=function(n,digits){var zero="";n=n.toString();if(n.length<digits)for(i=0;i<digits-n.length;i++)zero+="0";return zero+n};_getTimeStamp=function(){var d=new Date;var s=_leadingZeros(d.getFullYear(),4)+"-"+_leadingZeros(d.getMonth()+1,2)+"-"+_leadingZeros(d.getDate(),
2)+" "+_leadingZeros(d.getHours(),2)+":"+_leadingZeros(d.getMinutes(),2)+":"+_leadingZeros(d.getSeconds(),2);return s};_startLogging=function(obj){if(obj)IntegrityLog=obj;IntegrityLog.push("["+_getTimeStamp()+"] Logging start.\r\n")};_stopLogging=function(){var blob=new Blob(IntegrityLog,{type:"text/plain;charset=utf-8"});saveAs(blob,integrityOption.integrityLogFileName);IntegrityLog=[]};_clone=function(obj){var copy;if(null==obj||"object"!=typeof obj)return obj;if(obj instanceof Date){copy=new Date;
copy.setTime(obj.getTime());return copy}if(obj instanceof Array){copy=[];for(var i=0,len=obj.length;i<len;i++)copy[i]=_clone(obj[i]);return copy}if(obj instanceof Object){copy={};for(var attr in obj)if(obj.hasOwnProperty(attr))copy[attr]=_clone(obj[attr]);return copy}throw new Error("Unable to copy obj! Its type isn't supported.");};_addEventListener=function(module){for(m in module){var id=m.toString();var option=function(){return module[id]}();var targetObject=document.getElementById(id);(function(value){targetObject.addEventListener("DOMAttrModified",
function(e){if(AnySign.mAnySignEnable)return;if(value.indexOf(e.attrName)!=-1){var strings="";strings+="["+_getTimeStamp()+"] ";strings+=targetObject.tagName+"\ub178\ub4dc\uc758 "+e.attrName+'\uc18d\uc131\uc774 "'+e.prevValue+'"\uc5d0\uc11c "'+e.newValue+'"\uc73c\ub85c \ubcc0\uacbd\ub428';strings+="\r\n";if(integrityOption.DOMErrorType=="log")IntegrityLog.push(strings);else dom_errorCallback(strings)}},false)})(option)}};_addObserver=function(module){for(m in module){var id=m.toString();var option=
function(){return module[id]}();var targetObject=document.getElementById(id);if(targetObject!=null)observerObject.observe(targetObject,{attributes:true,attributeFilter:option,attributeOldValue:true})}};_initFunc=function(){for(var i=0;i<integrityOption.initObject.length;i++){var obj=function(){return eStrASP(integrityOption.initObject[i])}();funcOriginList[integrityOption.initObject[i]]=_clone(obj)}};_initJSFile=function(){var fileList=integrityOption.verifyFileList;for(m in fileList)_loadScript(m,
fileList[m])};_getFuncName=function(obj,strings){var aRegExp,aFuncName,aRet="";if(integrityOption.FuncObjectReg){aRegExp=new RegExp(integrityOption.FuncObjectReg[obj]);aFuncName=strings.match(aRegExp);if(aFuncName)aRet=aFuncName[1]}return aRet};_checkIntegrity=function(obj,name,type){var aName;if(type){aName=_getFuncName(obj,name);if(aName==""){console.log("[integrity] _checkIntegrity error: empty name");return false}}else aName=name;var orifuncS=function(){var value=eStrASP('funcOriginList["'+obj+
'"].'+aName);if(typeof value=="undefined")return"not function";return eStrASP('funcOriginList["'+obj+'"].'+aName)}();if(orifuncS=="not function"){console.log("[integrity] _checkIntegrity error: not function");return true}var funcS=function(){return eStrASP(obj+"."+aName)}();if(orifuncS!=funcS){func_errorCallback("["+aName+"] "+integrityOption.FuncObjectError);return false}return true};mutationObjectCallback=function(mutationRecordsList){mutationRecordsList.forEach(function(mutationRecord){if(AnySign.mAnySignEnable)return;
var target=mutationRecord.target;var oldValueInfo,curValueInfo;oldValueInfo='"'+mutationRecord.oldValue+'"\uc5d0\uc11c';curValueInfo='"'+target.getAttribute(mutationRecord.attributeName)+'"\uc73c\ub85c';var strings="";strings+="["+_getTimeStamp()+"] ";strings+=target.nodeName+"\ub178\ub4dc\uc758 "+mutationRecord.attributeName+"\uc18d\uc131\uc774 "+oldValueInfo+" "+curValueInfo+" \ubcc0\uacbd\ub428";strings+="\r\n";if(integrityOption.DOMErrorType=="log")IntegrityLog.push(strings);else dom_errorCallback(strings)})};
try{mutationEnable=true;var observerObject=new MutationObserver(mutationObjectCallback)}catch(e){mutationEnable=false}_loadScript=function(name){var xhttp=new XMLHttpRequest;xhttp.onreadystatechange=function(){try{if(xhttp.readyState==4&&xhttp.status==200){var resultHash=XCrypto.hashData(2,xhttp.responseText,0);if(resultHash!=integrityOption.verifyFileList[name])js_errorCallback("[integrity] "+name+" file diff");else js_errorCallback("[integrity] "+name+" file same")}}catch(e){console.log("[integrity] _loadScript error: "+
e)}};var path=AnySign.mBasePath+name;xhttp.open("GET",path,false);xhttp.send(null)};_getIntegrityOption=function(){return integrityOption.FuncCheck};if(typeof XCrypto=="undefined"){console.log("XCrypto undefined");return}if(integrityOption.ScriptLog)_startLogging();if(integrityOption.JSFileCheck)_initJSFile();if(integrityOption.FuncCheck)_initFunc();return{setObserver:function(moduleName){try{var isFileSaverSupported=!!new Blob}catch(e){return}var module=function(){return eStrASP(moduleName)}();if(mutationEnable)_addObserver(module);
else _addEventListener(module)},checkIntegrity:function(obj,name,type){if(integrityOption.FuncCheck)if(type)return _checkIntegrity(obj,name,1);else return _checkIntegrity(obj,name,0);else return true},startLogging:function(obj){_startLogging(obj)},stopLogging:function(){_stopLogging()}}}();

View File

@ -0,0 +1,489 @@
/*
json2.js
2014-02-04
Public Domain.
NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
See http://www.JSON.org/js.html
This code should be minified before deployment.
See http://javascript.crockford.com/jsmin.html
USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO
NOT CONTROL.
This file creates a global JSON object containing two methods: stringify
and parse.
JSON.stringify(value, replacer, space)
value any JavaScript value, usually an object or array.
replacer an optional parameter that determines how object
values are stringified for objects. It can be a
function or an array of strings.
space an optional parameter that specifies the indentation
of nested structures. If it is omitted, the text will
be packed without extra whitespace. If it is a number,
it will specify the number of spaces to indent at each
level. If it is a string (such as '\t' or '&nbsp;'),
it contains the characters used to indent at each level.
This method produces a JSON text from a JavaScript value.
When an object value is found, if the object contains a toJSON
method, its toJSON method will be called and the result will be
stringified. A toJSON method does not serialize: it returns the
value represented by the name/value pair that should be serialized,
or undefined if nothing should be serialized. The toJSON method
will be passed the key associated with the value, and this will be
bound to the value
For example, this would serialize Dates as ISO strings.
Date.prototype.toJSON = function (key) {
function f(n) {
// Format integers to have at least two digits.
return n < 10 ? '0' + n : n;
}
return this.getUTCFullYear() + '-' +
f(this.getUTCMonth() + 1) + '-' +
f(this.getUTCDate()) + 'T' +
f(this.getUTCHours()) + ':' +
f(this.getUTCMinutes()) + ':' +
f(this.getUTCSeconds()) + 'Z';
};
You can provide an optional replacer method. It will be passed the
key and value of each member, with this bound to the containing
object. The value that is returned from your method will be
serialized. If your method returns undefined, then the member will
be excluded from the serialization.
If the replacer parameter is an array of strings, then it will be
used to select the members to be serialized. It filters the results
such that only members with keys listed in the replacer array are
stringified.
Values that do not have JSON representations, such as undefined or
functions, will not be serialized. Such values in objects will be
dropped; in arrays they will be replaced with null. You can use
a replacer function to replace those with JSON values.
JSON.stringify(undefined) returns undefined.
The optional space parameter produces a stringification of the
value that is filled with line breaks and indentation to make it
easier to read.
If the space parameter is a non-empty string, then that string will
be used for indentation. If the space parameter is a number, then
the indentation will be that many spaces.
Example:
text = JSON.stringify(['e', {pluribus: 'unum'}]);
// text is '["e",{"pluribus":"unum"}]'
text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t');
// text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]'
text = JSON.stringify([new Date()], function (key, value) {
return this[key] instanceof Date ?
'Date(' + this[key] + ')' : value;
});
// text is '["Date(---current time---)"]'
JSON.parse(text, reviver)
This method parses a JSON text to produce an object or array.
It can throw a SyntaxError exception.
The optional reviver parameter is a function that can filter and
transform the results. It receives each of the keys and values,
and its return value is used instead of the original value.
If it returns what it received, then the structure is not modified.
If it returns undefined then the member is deleted.
Example:
// Parse the text. Values that look like ISO date strings will
// be converted to Date objects.
myData = JSON.parse(text, function (key, value) {
var a;
if (typeof value === 'string') {
a =
/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value);
if (a) {
return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
+a[5], +a[6]));
}
}
return value;
});
myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
var d;
if (typeof value === 'string' &&
value.slice(0, 5) === 'Date(' &&
value.slice(-1) === ')') {
d = new Date(value.slice(5, -1));
if (d) {
return d;
}
}
return value;
});
This is a reference implementation. You are free to copy, modify, or
redistribute.
*/
/*jslint evil: true, regexp: true */
/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply,
call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,
getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,
lastIndex, length, parse, prototype, push, replace, slice, stringify,
test, toJSON, toString, valueOf
*/
// Create a JSON object only if one does not already exist. We create the
// methods in a closure to avoid creating global variables.
if (typeof JSON !== 'object') {
JSON = {};
}
(function () {
'use strict';
function f(n) {
// Format integers to have at least two digits.
return n < 10 ? '0' + n : n;
}
if (typeof Date.prototype.toJSON !== 'function') {
Date.prototype.toJSON = function () {
return isFinite(this.valueOf())
? this.getUTCFullYear() + '-' +
f(this.getUTCMonth() + 1) + '-' +
f(this.getUTCDate()) + 'T' +
f(this.getUTCHours()) + ':' +
f(this.getUTCMinutes()) + ':' +
f(this.getUTCSeconds()) + 'Z'
: null;
};
String.prototype.toJSON =
Number.prototype.toJSON =
Boolean.prototype.toJSON = function () {
return this.valueOf();
};
}
var cx,
escapable,
gap,
indent,
meta,
rep;
function quote(string) {
// If the string contains no control characters, no quote characters, and no
// backslash characters, then we can safely slap some quotes around it.
// Otherwise we must also replace the offending characters with safe escape
// sequences.
escapable.lastIndex = 0;
return escapable.test(string) ? '"' + string.replace(escapable, function (a) {
var c = meta[a];
return typeof c === 'string'
? c
: '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
}) + '"' : '"' + string + '"';
}
function str(key, holder) {
// Produce a string from holder[key].
var i, // The loop counter.
k, // The member key.
v, // The member value.
length,
mind = gap,
partial,
value = holder[key];
// If the value has a toJSON method, call it to obtain a replacement value.
if (value && typeof value === 'object' &&
typeof value.toJSON === 'function') {
value = value.toJSON(key);
}
// If we were called with a replacer function, then call the replacer to
// obtain a replacement value.
if (typeof rep === 'function') {
value = rep.call(holder, key, value);
}
// What happens next depends on the value's type.
switch (typeof value) {
case 'string':
return quote(value);
case 'number':
// JSON numbers must be finite. Encode non-finite numbers as null.
return isFinite(value) ? String(value) : 'null';
case 'boolean':
case 'null':
// If the value is a boolean or null, convert it to a string. Note:
// typeof null does not produce 'null'. The case is included here in
// the remote chance that this gets fixed someday.
return String(value);
// If the type is 'object', we might be dealing with an object or an array or
// null.
case 'object':
// Due to a specification blunder in ECMAScript, typeof null is 'object',
// so watch out for that case.
if (!value) {
return 'null';
}
// Make an array to hold the partial results of stringifying this object value.
gap += indent;
partial = [];
// Is the value an array?
if (Object.prototype.toString.apply(value) === '[object Array]') {
// The value is an array. Stringify every element. Use null as a placeholder
// for non-JSON values.
length = value.length;
for (i = 0; i < length; i += 1) {
partial[i] = str(i, value) || 'null';
}
// Join all of the elements together, separated with commas, and wrap them in
// brackets.
v = partial.length === 0
? '[]'
: gap
? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']'
: '[' + partial.join(',') + ']';
gap = mind;
return v;
}
// If the replacer is an array, use it to select the members to be stringified.
if (rep && typeof rep === 'object') {
length = rep.length;
for (i = 0; i < length; i += 1) {
if (typeof rep[i] === 'string') {
k = rep[i];
v = str(k, value);
if (v) {
partial.push(quote(k) + (gap ? ': ' : ':') + v);
}
}
}
} else {
// Otherwise, iterate through all of the keys in the object.
for (k in value) {
if (Object.prototype.hasOwnProperty.call(value, k)) {
v = str(k, value);
if (v) {
partial.push(quote(k) + (gap ? ': ' : ':') + v);
}
}
}
}
// Join all of the member texts together, separated with commas,
// and wrap them in braces.
v = partial.length === 0
? '{}'
: gap
? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}'
: '{' + partial.join(',') + '}';
gap = mind;
return v;
}
}
// If the JSON object does not yet have a stringify method, give it one.
if (typeof JSON.stringify !== 'function') {
escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
meta = { // table of character substitutions
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'\\': '\\\\'
};
JSON.stringify = function (value, replacer, space) {
// The stringify method takes a value and an optional replacer, and an optional
// space parameter, and returns a JSON text. The replacer can be a function
// that can replace values, or an array of strings that will select the keys.
// A default replacer method can be provided. Use of the space parameter can
// produce text that is more easily readable.
var i;
gap = '';
indent = '';
// If the space parameter is a number, make an indent string containing that
// many spaces.
if (typeof space === 'number') {
for (i = 0; i < space; i += 1) {
indent += ' ';
}
// If the space parameter is a string, it will be used as the indent string.
} else if (typeof space === 'string') {
indent = space;
}
// If there is a replacer, it must be a function or an array.
// Otherwise, throw an error.
rep = replacer;
if (replacer && typeof replacer !== 'function' &&
(typeof replacer !== 'object' ||
typeof replacer.length !== 'number')) {
throw new Error('JSON.stringify');
}
// Make a fake root object containing our value under the key of ''.
// Return the result of stringifying the value.
return str('', {'': value});
};
}
// If the JSON object does not yet have a parse method, give it one.
if (typeof JSON.parse !== 'function') {
cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
JSON.parse = function (text, reviver) {
// The parse method takes a text and an optional reviver function, and returns
// a JavaScript value if the text is a valid JSON text.
var j;
function walk(holder, key) {
// The walk method is used to recursively walk the resulting structure so
// that modifications can be made.
var k, v, value = holder[key];
if (value && typeof value === 'object') {
for (k in value) {
if (Object.prototype.hasOwnProperty.call(value, k)) {
v = walk(value, k);
if (v !== undefined) {
value[k] = v;
} else {
delete value[k];
}
}
}
}
return reviver.call(holder, key, value);
}
// Parsing happens in four stages. In the first stage, we replace certain
// Unicode characters with escape sequences. JavaScript handles many characters
// incorrectly, either silently deleting them, or treating them as line endings.
text = String(text);
cx.lastIndex = 0;
if (cx.test(text)) {
text = text.replace(cx, function (a) {
return '\\u' +
('0000' + a.charCodeAt(0).toString(16)).slice(-4);
});
}
// In the second stage, we run the text against regular expressions that look
// for non-JSON patterns. We are especially concerned with '()' and 'new'
// because they can cause invocation, and '=' because it can cause mutation.
// But just to be safe, we want to reject all unexpected forms.
// We split the second stage into 4 regexp operations in order to work around
// crippling inefficiencies in IE's and Safari's regexp engines. First we
// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we
// replace all simple value tokens with ']' characters. Third, we delete all
// open brackets that follow a colon or comma or that begin the text. Finally,
// we look to see that the remaining characters are only whitespace or ']' or
// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval.
if (/^[\],:{}\s]*$/
.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@')
.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']')
.replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
// In the third stage we use the eval function to compile the text into a
// JavaScript structure. The '{' operator is subject to a syntactic ambiguity
// in JavaScript: it can begin a block or an object literal. We wrap the text
// in parens to eliminate the ambiguity.
j = eval('(' + text + ')');
// In the optional fourth stage, we recursively walk the new structure, passing
// each name/value pair to a reviver function for possible transformation.
return typeof reviver === 'function'
? walk({'': j}, '')
: j;
}
// If the text is not JSON parseable, then a SyntaxError is thrown.
throw new SyntaxError('JSON.parse');
};
}
}());

View File

@ -0,0 +1,375 @@
(function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var a = typeof require == "function" && require;
if (!u && a) return a(o, !0);
if (i) return i(o, !0);
var f = new Error("Cannot find module '" + o + "'");
throw f.code = "MODULE_NOT_FOUND", f;
}
var l = n[o] = {
exports: {}
};
t[o][0].call(l.exports, function(e) {
var n = t[o][1][e];
return s(n ? n : e);
}, l, l.exports, e, t, n, r);
}
return n[o].exports;
}
var i = typeof require == "function" && require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
})({
1: [ function(require, module, exports) {
var process = module.exports = {};
process.nextTick = function() {
var canSetImmediate = typeof window !== "undefined" && window.setImmediate;
var canPost = typeof window !== "undefined" && window.postMessage && window.addEventListener;
if (canSetImmediate) {
return function(f) {
return window.setImmediate(f);
};
}
if (canPost) {
var queue = [];
window.addEventListener("message", function(ev) {
var source = ev.source;
if ((source === window || source === null) && ev.data === "process-tick") {
ev.stopPropagation();
if (queue.length > 0) {
var fn = queue.shift();
fn();
}
}
}, true);
return function nextTick(fn) {
queue.push(fn);
window.postMessage("process-tick", "*");
};
}
return function nextTick(fn) {
setTimeout(fn, 0);
};
}();
process.title = "browser";
process.browser = true;
process.env = {};
process.argv = [];
function noop() {}
process.on = noop;
process.addListener = noop;
process.once = noop;
process.off = noop;
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.binding = function(name) {
throw new Error("process.binding is not supported");
};
process.cwd = function() {
return "/";
};
process.chdir = function(dir) {
throw new Error("process.chdir is not supported");
};
}, {} ],
2: [ function(require, module, exports) {
"use strict";
var asap = require("asap");
module.exports = Promise;
function Promise(fn) {
if (typeof this !== "object") throw new TypeError("Promises must be constructed via new");
if (typeof fn !== "function") throw new TypeError("not a function");
var state = null;
var value = null;
var deferreds = [];
var self = this;
this.then = function(onFulfilled, onRejected) {
return new self.constructor(function(resolve, reject) {
handle(new Handler(onFulfilled, onRejected, resolve, reject));
});
};
function handle(deferred) {
if (state === null) {
deferreds.push(deferred);
return;
}
asap(function() {
var cb = state ? deferred.onFulfilled : deferred.onRejected;
if (cb === null) {
(state ? deferred.resolve : deferred.reject)(value);
return;
}
var ret;
try {
ret = cb(value);
} catch (e) {
deferred.reject(e);
return;
}
deferred.resolve(ret);
});
}
function resolve(newValue) {
try {
if (newValue === self) throw new TypeError("A promise cannot be resolved with itself.");
if (newValue && (typeof newValue === "object" || typeof newValue === "function")) {
var then = newValue.then;
if (typeof then === "function") {
doResolve(then.bind(newValue), resolve, reject);
return;
}
}
state = true;
value = newValue;
finale();
} catch (e) {
reject(e);
}
}
function reject(newValue) {
state = false;
value = newValue;
finale();
}
function finale() {
for (var i = 0, len = deferreds.length; i < len; i++) handle(deferreds[i]);
deferreds = null;
}
doResolve(fn, resolve, reject);
}
function Handler(onFulfilled, onRejected, resolve, reject) {
this.onFulfilled = typeof onFulfilled === "function" ? onFulfilled : null;
this.onRejected = typeof onRejected === "function" ? onRejected : null;
this.resolve = resolve;
this.reject = reject;
}
function doResolve(fn, onFulfilled, onRejected) {
var done = false;
try {
fn(function(value) {
if (done) return;
done = true;
onFulfilled(value);
}, function(reason) {
if (done) return;
done = true;
onRejected(reason);
});
} catch (ex) {
if (done) return;
done = true;
onRejected(ex);
}
}
}, {
asap: 4
} ],
3: [ function(require, module, exports) {
"use strict";
var Promise = require("./core.js");
var asap = require("asap");
module.exports = Promise;
function ValuePromise(value) {
this.then = function(onFulfilled) {
if (typeof onFulfilled !== "function") return this;
return new Promise(function(resolve, reject) {
asap(function() {
try {
resolve(onFulfilled(value));
} catch (ex) {
reject(ex);
}
});
});
};
}
ValuePromise.prototype = Promise.prototype;
var TRUE = new ValuePromise(true);
var FALSE = new ValuePromise(false);
var NULL = new ValuePromise(null);
var UNDEFINED = new ValuePromise(undefined);
var ZERO = new ValuePromise(0);
var EMPTYSTRING = new ValuePromise("");
Promise.resolve = function(value) {
if (value instanceof Promise) return value;
if (value === null) return NULL;
if (value === undefined) return UNDEFINED;
if (value === true) return TRUE;
if (value === false) return FALSE;
if (value === 0) return ZERO;
if (value === "") return EMPTYSTRING;
if (typeof value === "object" || typeof value === "function") {
try {
var then = value.then;
if (typeof then === "function") {
return new Promise(then.bind(value));
}
} catch (ex) {
return new Promise(function(resolve, reject) {
reject(ex);
});
}
}
return new ValuePromise(value);
};
Promise.all = function(arr) {
var args = Array.prototype.slice.call(arr);
return new Promise(function(resolve, reject) {
if (args.length === 0) return resolve([]);
var remaining = args.length;
function res(i, val) {
try {
if (val && (typeof val === "object" || typeof val === "function")) {
var then = val.then;
if (typeof then === "function") {
then.call(val, function(val) {
res(i, val);
}, reject);
return;
}
}
args[i] = val;
if (--remaining === 0) {
resolve(args);
}
} catch (ex) {
reject(ex);
}
}
for (var i = 0; i < args.length; i++) {
res(i, args[i]);
}
});
};
Promise.reject = function(value) {
return new Promise(function(resolve, reject) {
reject(value);
});
};
Promise.race = function(values) {
return new Promise(function(resolve, reject) {
values.forEach(function(value) {
Promise.resolve(value).then(resolve, reject);
});
});
};
Promise.prototype["catch"] = function(onRejected) {
return this.then(null, onRejected);
};
}, {
"./core.js": 2,
asap: 4
} ],
4: [ function(require, module, exports) {
(function(process) {
var head = {
task: void 0,
next: null
};
var tail = head;
var flushing = false;
var requestFlush = void 0;
var isNodeJS = false;
function flush() {
while (head.next) {
head = head.next;
var task = head.task;
head.task = void 0;
var domain = head.domain;
if (domain) {
head.domain = void 0;
domain.enter();
}
try {
task();
} catch (e) {
if (isNodeJS) {
if (domain) {
domain.exit();
}
setTimeout(flush, 0);
if (domain) {
domain.enter();
}
throw e;
} else {
setTimeout(function() {
throw e;
}, 0);
}
}
if (domain) {
domain.exit();
}
}
flushing = false;
}
if (typeof process !== "undefined" && process.nextTick) {
isNodeJS = true;
requestFlush = function() {
process.nextTick(flush);
};
} else if (typeof setImmediate === "function") {
if (typeof window !== "undefined") {
requestFlush = setImmediate.bind(window, flush);
} else {
requestFlush = function() {
setImmediate(flush);
};
}
} else if (typeof MessageChannel !== "undefined") {
var channel = new MessageChannel();
channel.port1.onmessage = flush;
requestFlush = function() {
channel.port2.postMessage(0);
};
} else {
requestFlush = function() {
setTimeout(flush, 0);
};
}
function asap(task) {
tail = tail.next = {
task: task,
domain: isNodeJS && process.domain,
next: null
};
if (!flushing) {
flushing = true;
requestFlush();
}
}
module.exports = asap;
}).call(this, require("_process"));
}, {
_process: 1
} ],
5: [ function(require, module, exports) {
if (typeof Promise.prototype.done !== "function") {
Promise.prototype.done = function(onFulfilled, onRejected) {
var self = arguments.length ? this.then.apply(this, arguments) : this;
self.then(null, function(err) {
setTimeout(function() {
throw err;
}, 0);
});
};
}
}, {} ],
6: [ function(require, module, exports) {
var asap = require("asap");
if (typeof Promise === "undefined") {
Promise = require("./lib/core.js");
require("./lib/es6-extensions.js");
}
require("./polyfill-done.js");
}, {
"./lib/core.js": 2,
"./lib/es6-extensions.js": 3,
"./polyfill-done.js": 5,
asap: 4
} ]
}, {}, [ 6 ]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,150 @@
/*!
* AnySign, v1.0.1.21.
*
* For more information on this product, please see
* https://www.hsecure.co.kr/
*
* Copyright (c) Hancom Secure Inc. All Rights Reserved.
*
* Date: 2019-08-21
*/
XCrypto=function(){var dm=bj.cT||{};var ia=bj.crypto||{};var dF=bj.pM||{};var Storage=bj.storage||{};var rd=bj.bE||{};var aY=bj.error||{};var fZ=bj.fd||{};var adJ=bj.adf||{};var console=window.console||{log:function(){}};Storage.Ml("AnySignLiteXCrypto");var dC=2E3;var bZ=2100;var ZC=2200;var cS=2300;var Dw=2400;var zO=2592E3;var Yj=0;var BP=5;var QQ=0;var Gu=20;var RE=24;var Wn=0;var LM=1;var lA=2;var mLicense="";var mPlatform="";var apA={osName:"",osVersion:"",browserName:"",browserVersion:"",deviceType:""};
var abZ={enable:false,acR:false,mobile:false};var adk={enable:false,acR:false,mobile:false,cert:null};var aif="anysignlite";var ahT="anypin";var aiE="anypin_servercert";var aig="desktop";var ain="mobile";var atl=false;var qb=0;var Ed=1;var mLanguage=qb;function afN(){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)||
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,
4)))mPlatform=ain;else mPlatform=aig;if(forge.aqG){var aqa=new forge.aqG;apA.osName=aqa.arg().name;apA.osVersion=aqa.arg().version;apA.browserName=aqa.apv().name;apA.browserVersion=aqa.apv().version;apA.deviceType=mPlatform}}function apk(){if(!mPlatform)afN();if(mPlatform==ain)return true;else return false}function aqz(){if(!mPlatform)afN();if(!apA.osName||!apA.osVersion||!apA.browserName||!apA.browserVersion||!apA.deviceType){aD(aY.asy+aY.Uz);return""}return apA.osName+"|"+apA.osVersion+"|"+apA.browserName+
"|"+apA.browserVersion+"|"+apA.deviceType}function Qn(iU){if(iU)if(typeof iU==="number")if(iU==Ed)mLanguage=Ed;else mLanguage=qb;else if(typeof iU==="string"&&iU.toLowerCase()=="en-us")mLanguage=Ed;else mLanguage=qb;else mLanguage=qb}var Af="utf-8";var Hg="euc-kr";var mCharset=Af;function Zi(Hu){if(Hu)if(typeof Hu==="number")if(Hu==1)mCharset=Hg;else mCharset=Af;else if(typeof Hu==="string"&&Hu.toLowerCase()==Hg)mCharset=Hg;else mCharset=Af;else mCharset=Af}var mSecurityContext="";var mSecurityOption=
"";var Ec=[];var hM={};var ny={};forge.pM.aA["1.3.6.1.5.5.7.48.1"]="ocsp";forge.pM.aA["ocsp"]="1.3.6.1.5.5.7.48.1";forge.pM.aA["1.2.410.200004.10.1.1"]="fD-identifyData";forge.pM.aA["fD-identifyData"]="1.2.410.200004.10.1.1";var issuer=[];issuer["yessignCA"]="\uae08\uc735\uacb0\uc81c\uc6d0";issuer["yessignCA Class 1"]="\uae08\uc735\uacb0\uc81c\uc6d0";issuer["yessignCA Class 2"]="\uae08\uc735\uacb0\uc81c\uc6d0";issuer["SignKorea CA"]="\ucf54\uc2a4\ucf64(\uc99d\uad8c\uc804\uc0b0)";issuer["SignKorea CA2"]=
"\ucf54\uc2a4\ucf64(\uc99d\uad8c\uc804\uc0b0)";issuer["SignKorea CA3"]="\ucf54\uc2a4\ucf64(\uc99d\uad8c\uc804\uc0b0)";issuer["signGATE CA"]="\ud55c\uad6d\uc815\ubcf4\uc778\uc99d(SignGATE)";issuer["signGATE CA2"]="\ud55c\uad6d\uc815\ubcf4\uc778\uc99d(SignGATE)";issuer["signGATE CA4"]="\ud55c\uad6d\uc815\ubcf4\uc778\uc99d(SignGATE)";issuer["signGATE CA5"]="\ud55c\uad6d\uc815\ubcf4\uc778\uc99d(SignGATE)";issuer["CrossCert Certificate Authority"]="\ud55c\uad6d\uc804\uc790\uc778\uc99d";issuer["CrossCertCA"]=
"\ud55c\uad6d\uc804\uc790\uc778\uc99d";issuer["CrossCertCA2"]="\ud55c\uad6d\uc804\uc790\uc778\uc99d";issuer["CrossCertCA3"]="\ud55c\uad6d\uc804\uc790\uc778\uc99d";issuer["TradeSignCA"]="\ud55c\uad6d\ubb34\uc5ed\uc815\ubcf4\ud1b5\uc2e0";issuer["TradeSignCA2"]="\ud55c\uad6d\ubb34\uc5ed\uc815\ubcf4\ud1b5\uc2e0";issuer["TradeSignCA3"]="\ud55c\uad6d\ubb34\uc5ed\uc815\ubcf4\ud1b5\uc2e0";issuer["NCASign CA"]="\ud55c\uad6d\uc804\uc0b0\uc6d0";issuer["CertRSA01"]="\ud55c\uad6d\uc815\ubcf4\ubcf4\ud638\uc9c4\ud765\uc6d0(KISA)";
issuer["KISA RootCA 1"]="\ud55c\uad6d\uc815\ubcf4\ubcf4\ud638\uc9c4\ud765\uc6d0(KISA)";issuer["KISA RootCA 4"]="\ud55c\uad6d\uc815\ubcf4\ubcf4\ud638\uc9c4\ud765\uc6d0(KISA)";issuer["CA131100001"]="\ud589\uc815\uc548\uc804\ubd80(\ud589\uc815\uc6a9)";issuer["CA131100002"]="\ud589\uc815\uc548\uc804\ubd80(\uacf5\uacf5 \uae08\uc735\uc6a9)";issuer["CA134100031"]="\uad50\uc721\ubd80";issuer["CA128000031"]="\ub300\uac80\ucc30\uccad";issuer["CA128000032"]="\ub300\uac80\ucc30\uccad";issuer["CA974000031"]="\ub300\ubc95\uc6d0";
issuer["CA130000031"]="\ubcd1\ubb34\uccad";issuer["INIPASS CA"]="\uc774\ub2c8\ud14d(\uc8fc)";var Al=[];var VI="\uc77c\ubc18\uc778\uc99d\uc11c";var policy=[];policy["1.2.410.200004.2.1"]="\uacf5\uc778\uc778\uc99d\uae30\uad00";policy["2.5.29.32.0"]="\uacf5\uc778\uc778\uc99d\uae30\uad00";policy["1.2.410.100001.2.2.1"]="\uacf5\uc778\uc778\uc99d\uae30\uad00";policy["1.2.410.100001.2.1.1,1.2.410.100001.2.1.2"]="\uacf5\uc778\uc778\uc99d\uae30\uad00";policy["1.2.410.100001.2.1.1,1.2.410.100001.2.1.2,1.2.410.100001.2.2.1"]=
"\uacf5\uc778\uc778\uc99d\uae30\uad00";policy["1.2.410.200005.1.1.1"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200005.1.1.2"]="\uc740\ud589\uae30\uc5c5";policy["1.2.410.200005.1.1.4"]="\uc740\ud589\uac1c\uc778";policy["1.2.410.200005.1.1.5"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200005.1.1.6"]="\uc6a9\ub3c4\uc81c\ud55c\uc6a9";policy["1.2.410.200005.1.1.6.1"]="\uae30\uc5c5\ubc45\ud0b9";policy["1.2.410.200005.1.1.6.2"]="\uc2e0\uc6a9\uce74\ub4dc";policy["1.2.410.200004.5.1.1.1"]="\uc2a4\ud398\uc15c \uac1c\uc778";
policy["1.2.410.200004.5.1.1.2"]="\uc2a4\ud398\uc15c \uac1c\uc778\uc11c\ubc84";policy["1.2.410.200004.5.1.1.3"]="\uc2a4\ud398\uc15c \ubc95\uc778";policy["1.2.410.200004.5.1.1.4"]="\uc2a4\ud398\uc15c \uc11c\ubc84";policy["1.2.410.200004.5.1.1.5"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200004.5.1.1.6"]="\ubc94\uc6a9 \uac1c\uc778\uc11c\ubc84";policy["1.2.410.200004.5.1.1.7"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200004.5.1.1.8"]="\ubc94\uc6a9 \uc11c\ubc84";policy["1.2.410.200004.5.1.1.9"]="\uc99d\uad8c/\ubcf4\ud5d8\uc6a9";
policy["1.2.410.200004.5.1.1.9.2"]="\uc2e0\uc6a9\uce74\ub4dc";policy["1.2.410.200004.5.1.1.10"]="\uace8\ub4dc \uac1c\uc778\uc11c\ubc84";policy["1.2.410.200004.5.1.1.11"]="\uc2e4\ubc84 \uac1c\uc778";policy["1.2.410.200004.5.1.1.12"]="\uc2e4\ubc84 \ubc95\uc778";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.1"]="\uc804\uc790\uac70\ub798 \uc11c\uba85\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.2"]="\uc804\uc790\uac70\ub798 \uc554\ud638\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.3"]=
"\uc804\uc790\uac70\ub798 \uc11c\uba85\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.4"]="\uc804\uc790\uac70\ub798 \uc554\ud638\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.5"]="\uc804\uc790\uac70\ub798 \uc11c\uba85\uc6a9(\uc11c\ubc84)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.6"]="\uc804\uc790\uac70\ub798 \uc554\ud638\uc6a9(\uc11c\ubc84)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.7"]="\uc804\uc790\ubb34\uc5ed \uc11c\uba85\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.8"]=
"\uc804\uc790\ubb34\uc5ed \uc554\ud638\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.9"]="\uc804\uc790\ubb34\uc5ed \uc11c\uba85\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.10"]="\uc804\uc790\ubb34\uc5ed \uc554\ud638\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.11"]="\uc804\uc790\ubb34\uc5ed \uc11c\uba85\uc6a9(\uc11c\ubc84)";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.12"]="\uc804\uc790\ubb34\uc5ed \uc554\ud638\uc6a9(\uc11c\ubc84)";
policy["1.2.410.200004.2.1,1.2.410.200012.1.1.101"]="\uc740\ud589/\ubcf4\ud5d8\uc6a9";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.103"]="\uc99d\uad8c/\ubcf4\ud5d8\uc6a9";policy["1.2.410.200004.2.1,1.2.410.200012.1.1.105"]="\uc2e0\uc6a9\uce74\ub4dc\uc6a9";policy["1.2.410.200004.5.4.1.1"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200004.5.4.1.2"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200004.5.4.1.3"]="\ubc94\uc6a9(\uc11c\ubc84)";policy["1.2.410.200004.5.4.1.4"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\uac1c\uc778)";
policy["1.2.410.200004.5.4.1.5"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.5.4.1.101"]="\uc740\ud589\uac1c\uc778";policy["1.2.410.200004.5.4.1.102"]="\uc99d\uad8c\uac70\ub798\uc6a9";policy["1.2.410.200004.5.4.1.103"]="\uc2e0\uc6a9\uce74\ub4dc";policy["1.2.410.200004.5.4.1.104"]="\uc804\uc790\ubbfc\uc6d0\uc6a9";policy["1.2.410.200004.5.2.1.1"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200004.5.2.1.2"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200004.5.2.1.3"]="\ud2b9\ubcc4\ub4f1\uae09(\uc804\uc790\uc785\ucc30)";
policy["1.2.410.200004.5.2.1.4"]="1\ub4f1\uae09\uc778\uc99d\uc11c(\uc11c\ubc84)";policy["1.2.410.200004.5.2.1.5"]="\ud2b9\ubcc4\ub4f1\uae09 \ubc95\uc778";policy["1.2.410.200004.5.2.1.7.1"]="\uc740\ud589\uac1c\uc778";policy["1.2.410.200004.5.2.1.7.2"]="\uc99d\uad8c/\ubcf4\ud5d8\uc6a9";policy["1.2.410.200004.5.2.1.7.3"]="\uc2e0\uc6a9\uce74\ub4dc";policy["1.2.410.200004.5.3.1.1"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200004.5.3.1.2"]="\ubc94\uc6a9\uae30\uc5c5";policy["1.2.410.200004.5.3.1.3"]="1\ub4f1\uae09(\uc11c\ubc84)";
policy["1.2.410.200004.5.3.1.5"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\uae30\uad00/\ub2e8\uccb4)";policy["1.2.410.200004.5.3.1.6"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\ubc95\uc778)";policy["1.2.410.200004.5.3.1.7"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\uc11c\ubc84)";policy["1.2.410.200004.5.3.1.8"]="\ud2b9\uc218\ubaa9\uc801\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.5.3.1.9"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200012.1.1.1"]="\ubc94\uc6a9\uac1c\uc778";policy["1.2.410.200012.1.1.3"]="\ubc94\uc6a9\uae30\uc5c5";
policy["1.2.410.200012.1.1.101"]="\uc740\ud589\uac1c\uc778";policy["1.2.410.200012.1.1.105"]="\uc2e0\uc6a9\uce74\ub4dc";policy["1.2.410.200004.5.5.1.1"]="\ubc94\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.5.5.1.2"]="\ubc94\uc6a9(\uae30\uc5c5)";policy["1.2.410.200004.5.5.1.3.1"]="\uc81c\ud734\uae30\uad00\uc6a9(\uac1c\uc778)";policy["1.2.410.200004.5.5.1.4.1"]="\uc81c\ud734\uae30\uad00\uc6a9(\uae30\uc5c5)";policy["1.2.410.200004.5.5.1.4.2"]="\uc804\uc790\uc138\uae08\uc6a9(\uae30\uc5c5)";var Wi="Common";
var aM=[];aM["1.2.410.200004.2.1"]="National";aM["2.5.29.32.0"]="National";aM["1.2.410.100001.2.2.1"]="National";aM["1.2.410.100001.2.1.1,1.2.410.100001.2.1.2"]="National";aM["1.2.410.100001.2.1.1,1.2.410.100001.2.1.2,1.2.410.100001.2.2.1"]="National";aM["1.2.410.200005.1.1.1"]="Financial";aM["1.2.410.200005.1.1.2"]="Financial";aM["1.2.410.200005.1.1.4"]="Financial";aM["1.2.410.200005.1.1.5"]="Commercial";aM["1.2.410.200005.1.1.6"]="National";aM["1.2.410.200005.1.1.6.1"]="Financial";aM["1.2.410.200005.1.1.6.2"]=
"Financial";aM["1.2.410.200004.5.1.1.1"]="National";aM["1.2.410.200004.5.1.1.2"]="National";aM["1.2.410.200004.5.1.1.3"]="National";aM["1.2.410.200004.5.1.1.4"]="National";aM["1.2.410.200004.5.1.1.5"]="Commercial";aM["1.2.410.200004.5.1.1.6"]="Commercial";aM["1.2.410.200004.5.1.1.7"]="Commercial";aM["1.2.410.200004.5.1.1.8"]="Commercial";aM["1.2.410.200004.5.1.1.9"]="Financial";aM["1.2.410.200004.5.1.1.9.2"]="Financial";aM["1.2.410.200004.5.1.1.10"]="National";aM["1.2.410.200004.5.1.1.11"]="National";
aM["1.2.410.200004.5.1.1.12"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.1"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.2"]="National";aM["1.2.410.200004.2.1.1.2.410.200012.1.1.3"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.4"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.5"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.6"]="National";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.7"]="Commercial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.8"]="Commercial";
aM["1.2.410.200004.2.1,1.2.410.200012.1.1.9"]="Commercial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.10"]="Commercial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.11"]="Commercial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.12"]="Commercial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.101"]="Financial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.103"]="Financial";aM["1.2.410.200004.2.1,1.2.410.200012.1.1.105"]="Financial";aM["1.2.410.200004.5.4.1.1"]="Commercial";aM["1.2.410.200004.5.4.1.2"]="Commercial";
aM["1.2.410.200004.5.4.1.3"]="Commercial";aM["1.2.410.200004.5.4.1.4"]="National";aM["1.2.410.200004.5.4.1.5"]="National";aM["1.2.410.200004.5.4.1.101"]="Financial";aM["1.2.410.200004.5.4.1.102"]="Financial";aM["1.2.410.200004.5.4.1.103"]="Financial";aM["1.2.410.200004.5.4.1.104"]="National";aM["1.2.410.200004.5.2.1.1"]="National";aM["1.2.410.200004.5.2.1.2"]="National";aM["1.2.410.200004.5.2.1.3"]="National";aM["1.2.410.200004.5.2.1.4"]="National";aM["1.2.410.200004.5.2.1.5"]="National";aM["1.2.410.200004.5.2.1.7.1"]=
"Financial";aM["1.2.410.200004.5.2.1.7.2"]="Financial";aM["1.2.410.200004.5.2.1.7.3"]="Financial";aM["1.2.410.200004.5.3.1.1"]="National";aM["1.2.410.200004.5.3.1.2"]="National";aM["1.2.410.200004.5.3.1.3"]="National";aM["1.2.410.200004.5.3.1.5"]="National";aM["1.2.410.200004.5.3.1.6"]="National";aM["1.2.410.200004.5.3.1.7"]="National";aM["1.2.410.200004.5.3.1.8"]="National";aM["1.2.410.200004.5.3.1.9"]="National";aM["1.2.410.200012.1.1.1"]="National";aM["1.2.410.200012.1.1.3"]="National";aM["1.2.410.200012.1.1.101"]=
"Financial";aM["1.2.410.200012.1.1.105"]="Financial";aM["1.2.410.200004.5.5.1.1"]="National";aM["1.2.410.200004.5.5.1.2"]="Commercial";aM["1.2.410.200004.5.5.1.3.1"]="National";aM["1.2.410.200004.5.5.1.4.1"]="Commercial";aM["1.2.410.200004.5.5.1.4.2"]="Commercial";var GI=[];var Eo=1;GI[Eo]={msg_koKR:"\uc774\ubbf8 \ub3d9\uc77c\ud55c \uc778\uc99d\uc11c\uac00 \uc800\uc7a5\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.\n\uae30\uc874\uc758 \uc778\uc99d\uc11c\ub97c \uc0ad\uc81c\ud558\uace0 \uc774 \uc778\uc99d\uc11c\ub97c \uc800\uc7a5\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?",
msg_enUS:"Already the same bh has been saved.\nDo you want to delete the existing bh and save this bh?"};function NQ(ZU){var HB;if(mLanguage==qb)HB=GI[ZU].msg_koKR;else HB=GI[ZU].msg_enUS;return confirm(HB)}function Oy(){try{if(!bj||!bj.cT||!bj.crypto||!bj.pM||!bj.storage||!bj.error||!bj.bE||!bj.fd)return-1;if(!window.localStorage||typeof localStorage=="undefined")return-2;if(!window.FileReader||typeof FileReader=="undefined")return-3}catch(e){return-4}return 0}function Ub(rK,yo,au){var Bv=function(rO){if(rO!=
0)gd(aY.kB+aY.FX);if(au)au(rO);else return rO};return Storage.setCrossStorage(rK,yo,Bv)}function asx(asD,aul,aut,Aw,au){var Bv=function(rO){if(rO!==0)atl=false;else atl=true;if(au)au(rO);else return rO};return Storage.setOpenStorage(asD,aul,aut,Aw,Bv)}function asW(fz){var aE=dF.Gx(fz,"",0);if(!aE)return"";var bM="e=camaster@softforum.com,cn=Softforum Root Authority,o=Softforum Corporation,c=KR";if(bM!=ic(aE.cert[0].issuer))return"";var asN=aE.plain.substring(2,aE.plain.length-1);return asN}function ic(oh){var ci=
[];oh.attributes.forEach(function(Kx){ci.push(Kx.fM.toLowerCase()+"="+Kx.value)});return forge.util.decodeUtf8(ci.reverse().join(","))}function Iq(Wa,Vh){var wq=0;var uC=(Vh.getTime()-Wa.getTime())/1E3;if(uC<0)wq=2;else if(uC>zO)wq=0;else wq=1;return wq}function MR(wS){var result=[];if(!wS)return"";function ko(bU){if(!bU)return;if(bU.eO&&bU.value instanceof Array)for(var i=0;i<bU.value.length;i++)if(bU.value[i].value instanceof Array)result.push(bU.value[i].value);else result.push(forge.util.cV(bU.value[i].value))}
try{ko(forge.mP.bI(wS.value));if(result.length>0)return result[0];else return""}catch(e){return""}}function Kc(wS){var result={policy:[],mI:[],jL:[]};var mI=false;var jL=false;if(!wS)return result;function Je(bU){if(bU.eO&&bU.value instanceof Array)for(var i=0;i<bU.value.length;i++)Je(bU.value[i]);else if(bU.bb==forge.mP.Class.uY&&bU.type==forge.mP.Type.OID){var FZ=forge.mP.bf(bU.value);if(FZ=="1.3.6.1.5.5.7.2.2")mI=true;else if(FZ=="1.3.6.1.5.5.7.2.1")jL=true;else{mI=false;jL=false}}else{if(mI)result.mI.push(bU.value);
else if(jL)result.jL.push(bU.value);mI=false;jL=false}}function ko(bU){if(!bU)return;if(bU.eO&&bU.value instanceof Array)for(var i=0;i<bU.value.length;i++)if(bU.value[i].eO&&bU.value[i].value instanceof Array)for(var j=0;j<bU.value[i].value.length;j++)if(bU.value[i].value[j].bb==forge.mP.Class.uY&&bU.value[i].value[j].type==forge.mP.Type.OID)result.policy.push(forge.mP.bf(bU.value[i].value[j].value));else Je(bU.value[i].value[j])}try{ko(forge.mP.bI(wS.value));return result}catch(e){return result}}
function Nm(wS){var result=[];var Ss="digitalSignature";var Ta="nonRepudiation";var Ts="keyEncipherment";var TU="dataEncipherment";var aqC="keyAgreement";var SC="keyCertSign";var Tu="cRLSign";var SM="encipherOnly";var TL="decipherOnly";if(!wS)return"";if(wS.digitalSignature)result.push(Ss);if(wS.nonRepudiation)result.push(Ta);if(wS.yC)result.push(Ts);if(wS.IE)result.push(TU);if(wS.yf)result.push(aqC);if(wS.AB)result.push(SC);if(wS.Hd)result.push(Tu);if(wS.KA)result.push(SM);if(wS.Hs)result.push(TL);
return result}function Nz(wS){var result="";if(!wS)return"";if(wS.vU)if("oB"in wS)result="Subject Type=CA, Path Length Constraint="+wS.oB;else result="Subject Type=CA, Path Length Constraint=None";else result="Subject Type=End Entity";return result}function MN(wS){function ko(bU){if(!bU)return;if(bU.eO&&bU.value instanceof Array)for(var i=0;i<bU.value.length;i++)if(bU.value[i].bb==forge.mP.Class.al&&bU.value[i].type==0){var fj="ON=";if(bU.value[i].eO&&bU.value[i].value instanceof Array)for(var j=
0;j<bU.value[i].value.length;j++)if(bU.value[i].value[j].bb==forge.mP.Class.uY&&bU.value[i].value[j].type==forge.mP.Type.OID){var gz=forge.mP.bf(bU.value[i].value[j].value);var oG=forge.pM.aA[gz]?forge.pM.aA[gz]:gz;if(oG.toLowerCase()=="fD-identifyData".toLowerCase())fj+="VID";else fj+=oG;fj+="="}else fj+=forge.util.cV(forge.mP.by(bU.value[i].value[j].value[0]).bg());result.push(fj)}else if(bU.value[i].bb==forge.mP.Class.al&&bU.value[i].type==1)var fj="RN=";else;}var result=[];if(!wS)return"";try{ko(forge.mP.bI(wS.value));
return result}catch(e){return""}}function NI(wS){function ko(bU){if(!bU)return"";if(bU.eO&&bU.value instanceof Array){for(var i=0;i<bU.value.length;i++)ko(bU.value[i]);return result}else result.push(bU.value)}var result=[];if(!wS)return"";try{return ko(forge.mP.bI(wS.value))}catch(e){return""}}function Oe(wS){function ko(bU){if(!bU)return;if(bU.eO&&bU.value instanceof Array)for(var i=0;i<bU.value.length;i++)if(bU.value[i].eO&&bU.value[i].value instanceof Array)if(bU.value[i].value.length==2){var gz=
forge.mP.bf(bU.value[i].value[0].value);var oG=forge.pM.aA[gz]?forge.pM.aA[gz].toUpperCase():gz;result.push(oG+":URL="+bU.value[i].value[1].value)}else{var mO="";for(var j=0;j<bU.value[i].value.length;j++)if(bU.value[i].value[j].bb==forge.mP.Class.uY&&bU.value[i].value[j].type==forge.mP.Type.OID){var gz=forge.mP.bf(bU.value[i].value[j].value);var oG=forge.pM.aA[gz]?forge.pM.aA[gz].toUpperCase():gz;if(mO)mO+=":";mO+=oG}else{if(mO)mO+=":";mO+=bU.value[i].value[j].value}if(mO)result.push(mO)}}var result=
[];if(!wS)return"";try{ko(forge.mP.bI(wS.value));return result}catch(e){return""}}function PO(cert,level){if(level==BP){if(!cert.status)cert.status=Iq(new Date,new Date(cert.validity.notAfter));var year=cert.validity.notAfter.getFullYear();var month=cert.validity.notAfter.getMonth()+1;var Ba=cert.validity.notAfter.getDate();var notAfter=year+"-"+(month<10?"0"+month:month)+"-"+(Ba<10?"0"+Ba:Ba);var auE=cert.subject.apB("OU");var sF=Kc(cert.ln("certificatePolicies"));var JK="";var Xq="";if(auE)if(auE.value==
"personalB"||auE.value=="corporation4ECB")Xq="\ube0c\ub77c\uc6b0\uc800 \uc778\uc99d\uc11c";else Xq=Oz(sF.policy);else Xq=Oz(sF.policy);var JK="";var nX=cert.issuer.apB("CN");if(nX)JK=apS(forge.util.decodeUtf8(nX.value));var certInfo=cert.status+"$"+Xq+"$"+ic(cert.subject)+"$"+JK+"$"+notAfter+"$"+ic(cert.issuer)+"$"+cert.serialNumber+"\t\n";return certInfo}else{var status=Iq(new Date,new Date(cert.validity.notAfter));var MU=cert.validity.notBefore.getFullYear();var AI=cert.validity.notBefore.getMonth()+
1;var Cs=cert.validity.notBefore.getDate();var Aj=cert.validity.notBefore.getHours();var CG=cert.validity.notBefore.getMinutes();var DQ=cert.validity.notBefore.getSeconds();var notBefore=MU+"-"+(AI<10?"0"+AI:AI)+"-"+(Cs<10?"0"+Cs:Cs)+" "+(Aj<10?"0"+Aj:Aj)+":"+(CG<10?"0"+CG:CG)+":"+(DQ<10?"0"+DQ:DQ);var NA=cert.validity.notAfter.getFullYear();var yR=cert.validity.notAfter.getMonth()+1;var Bs=cert.validity.notAfter.getDate();var zU=cert.validity.notAfter.getHours();var Cd=cert.validity.notAfter.getMinutes();
var EL=cert.validity.notAfter.getSeconds();var notAfter=NA+"-"+(yR<10?"0"+yR:yR)+"-"+(Bs<10?"0"+Bs:Bs)+" "+(zU<10?"0"+zU:zU)+":"+(Cd<10?"0"+Cd:Cd)+":"+(EL<10?"0"+EL:EL);var sF=Kc(cert.ln("certificatePolicies"));var policy=sF.policy;var jL=sF.jL;var mI=sF.mI;var certInfo=status+"$"+(cert.version+1)+"$"+cert.serialNumber+"$"+(forge.pM.aA[cert.dw]?forge.pM.aA[cert.dw]:cert.dw)+"$"+ic(cert.issuer)+"$"+notBefore+"$"+notAfter+"$"+ic(cert.subject)+"$"+(cert.publicKey.cX?"KCDSA":"RSA")+" ("+cert.publicKey.VN+
" Bits)"+"$"+cert.publicKey.wS+"$"+(cert.bq?forge.util.cV(cert.bq):"")+"$"+MR(cert.ln("authorityKeyIdentifier"))+"$"+policy+"$"+Nm(cert.ln("sS"))+"$"+Nz(cert.ln("oV"))+"$"+MN(cert.ln("subjectAltName"))+"$"+"URL="+NI(cert.ln("cRLDistributionPoints"))+"$"+mI+"$"+jL+"$"+Oe(cert.ln({id:"1.3.6.1.5.5.7.1.1"}))+"\t\n";return certInfo}}function atg(cert,level){if(level==BP){var notAfter=cert.notAfter.substring(0,10);var status=Iq(new Date,new Date(notAfter));var source;if(cert.cloud==true)status+=4;var Xq=
"";if(cert.subject.toUpperCase().indexOf("OU=PERSONALB")>=0||cert.subject.toUpperCase().indexOf("OU=CORPORATION4ECB")>=0)Xq="\ube0c\ub77c\uc6b0\uc800 \uc778\uc99d\uc11c";else Xq=Oz(cert.policyOID);var JK="";var nX=cert.issuer.split(",");JK=apS(forge.util.decodeUtf8(nX[0].substring(3)));var serial=cert.fingerprint;var certInfo=status+"$"+Xq+"$"+cert.subject+"$"+JK+"$"+notAfter+"$"+cert.issuer+"$"+serial+"$"+cert.source+"\t\n";return certInfo}else{var status=Iq(new Date,new Date(cert.validity.notAfter));
var MU=cert.validity.notBefore.getFullYear();var AI=cert.validity.notBefore.getMonth()+1;var Cs=cert.validity.notBefore.getDate();var Aj=cert.validity.notBefore.getHours();var CG=cert.validity.notBefore.getMinutes();var DQ=cert.validity.notBefore.getSeconds();var notBefore=MU+"-"+(AI<10?"0"+AI:AI)+"-"+(Cs<10?"0"+Cs:Cs)+" "+(Aj<10?"0"+Aj:Aj)+":"+(CG<10?"0"+CG:CG)+":"+(DQ<10?"0"+DQ:DQ);var NA=cert.validity.notAfter.getFullYear();var yR=cert.validity.notAfter.getMonth()+1;var Bs=cert.validity.notAfter.getDate();
var zU=cert.validity.notAfter.getHours();var Cd=cert.validity.notAfter.getMinutes();var EL=cert.validity.notAfter.getSeconds();var notAfter=NA+"-"+(yR<10?"0"+yR:yR)+"-"+(Bs<10?"0"+Bs:Bs)+" "+(zU<10?"0"+zU:zU)+":"+(Cd<10?"0"+Cd:Cd)+":"+(EL<10?"0"+EL:EL);var sF=Kc(cert.ln("certificatePolicies"));var policy=sF.policy;var jL=sF.jL;var mI=sF.mI;var certInfo=status+"$"+(cert.version+1)+"$"+cert.serialNumber+"$"+(forge.pM.aA[cert.dw]?forge.pM.aA[cert.dw]:cert.dw)+"$"+ic(cert.issuer)+"$"+notBefore+"$"+notAfter+
"$"+ic(cert.subject)+"$"+(cert.publicKey.cX?"KCDSA":"RSA")+" ("+cert.publicKey.VN+" Bits)"+"$"+cert.publicKey.wS+"$"+(cert.bq?forge.util.cV(cert.bq):"")+"$"+MR(cert.ln("authorityKeyIdentifier"))+"$"+policy+"$"+Nm(cert.ln("sS"))+"$"+Nz(cert.ln("oV"))+"$"+MN(cert.ln("subjectAltName"))+"$"+"URL="+NI(cert.ln("cRLDistributionPoints"))+"$"+mI+"$"+jL+"$"+Oe(cert.ln({id:"1.3.6.1.5.5.7.1.1"}))+"\t\n";return certInfo}}function hf(ab,bM,aK,ast,ao,Bv){var kO=[];var cert;var index;var aru=true;if(ao==2){aru=false;
ao=0}var wg=function(aG){if(ab==dC&&atl==true){if(aG==-1)Bv(null);else Bv(aG);return}if(!aG||aG.length<=0)if(ao==1){Bv(-1);return-1}else{Bv(null);return null}if(ab==bZ){cert=aG[0];index=0}else for(index=0;index<aG.length;++index)if(ic(aG[index].signCert.issuer).toLowerCase().indexOf(bM.toLowerCase())>=0)if(aG[index].signCert.serialNumber.toLowerCase()==aK.toLowerCase()){cert=aG[index];break}if(!cert)if(ao==1){Bv(-1);return-1}else{Bv(null);return null}if(ao==1)Bv(index);else Bv(cert)};if(ab==dC)if(atl==
true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.El(null,wg)}else wg(atx)};Storage.arD(null,aK,ast,aru,aup)}else Storage.El(null,wg);else if(ab==ZC)Storage.El("aF",wg);else if(ab==bZ){kO=Storage.EN();wg(kO)}else if(ab==cS){kO=Storage.IP();wg(kO)}}function aD(sm){aY.setError(sm)}function gd(sm){aY.abG(sm)}function cg(){aY.resetError()}function Zo(){return aY.getError()}function rC(){return aY.getError().code}function pz(){if(mLanguage==qb)return aY.getError().msg_koKR?aY.getError().msg_koKR:
aY.getError().internal;else return aY.getError().msg_enUS?aY.getError().msg_enUS:aY.getError().internal}function ZM(){return aY.getError().internal}function sd(ff){dF.sd(ff);fZ.sd(ff);Storage.sd(ff);adJ.sd(ff)}function yW(){return dF.yW()}function apS(iP){if(mLanguage==qb)return issuer[iP]?issuer[iP]:iP;else return Al[iP]?Al[iP]:iP}function Oz(jS){if(mLanguage==qb)return policy[jS]?policy[jS]:VI;else return aM[jS]?aM[jS]:Wi}function MK(iP,ki,lE,iU){if(iU==0)issuer[iP]=ki;else Al[iP]=ki;return 0}function NP(jS,
ki,lE,iU){if(iU==0)policy[jS]=ki;else aM[jS]=ki;return 0}function NZ(IY,Bv){var adG=function(aE){if(aE!=0)gd(aY.aan);Bv(aE)};Storage.LC("lastLocation",IY,adG)}function Ow(Bv){Storage.VZ("lastLocation",Bv)}function avO(awh,ao){return dF.generateRandom(awh)}function Ny(IY,Bv){var adG=function(aE){if(aE!=0)gd(aY.aaG);Bv(aE)};Storage.xy("cacheCertLocation",IY,0,adG)}function JL(ao,Bv){var abm=function(result){if(result==null||result=="")Bv(0);else if(ao=="undefined"||ao==null||ao==0)Bv(parseInt(result/
100));else Bv(result)};Storage.qo("cacheCertLocation",0,abm)}function Ax(ab){if(Ec.length>0)if(Ec.indexOf(ab)>=0)return true;else return false;return false}function MY(ab,bM,aK,yk,bO,Bv){var wy;if(ab==bZ){wy=dF.wQ(yk.signCert,yk.signKey,yk.kmCert,yk.kmKey,bO,bO,0);bM=null;aK=null}else wy=null;var adG=function(aE){if(aE!=0)gd(aY.aab+aY.aaV);Bv(aE)};Storage.ZG(ab,bM,aK,wy,bO,dF.yW(),adG)}function zo(ab,Bv){var abm=function(fB){if(fB){if(fB.su!=ab){gd(aY.aav);Bv(null)}if(fB.nu){var Ok=dF.yW();if(Ok){var acU=
fB.nu.split("|");var Ra=Ok.split("$");var abq=false;for(var IU=0;IU<Ra.length;IU++){var aca=Ra[IU].split("|");if(aca[0]==acU[0])abq=true}if(!abq){Ok+="$";Ok+=fB.nu;sd(Ok)}}else sd(fB.nu)}if(fB.su==dC){var aco=function(aal){fB.cert=aal;Bv(fB)};hf(fB.su,fB.AO,fB.serialNumber,fB.dh,0,aco)}else if(fB.su==bZ){fB.cert=dF.AR(fB.cert,fB.dh);Bv(fB)}else{gd(aY.aav);Bv(null)}}else{gd(aY.aav);Bv(null)}};Storage.Yo(abm)}function Nd(fl,Bv){var adG=function(aE){if(aE!=0)gd(aY.aaG);Bv(aE)};Storage.xy("fl",fl,1,adG)}
function PU(Bv){return Storage.qo("fl",1,Bv)}function Oc(Bv){var abm=function(aE){if(aE==null||aE=="")Bv(-1);else Bv(0)};Storage.qo("fl",0,abm)}function NL(Bv){var abm=function(aE){if(aE==null||aE=="")Bv(-1);else Storage.Wo("fl",Bv)};Storage.qo("fl",0,abm)}function aaN(YU){mLicense=YU;afN();abZ.enable=false;abZ.acR=false;abZ.mobile=false;adk.enable=false;adk.acR=false;adk.mobile=false;var aE=dF.Gx(YU,"",0);if(!aE){aD(aY.NR+aY.aI);return-1}var bM="e=camaster@softforum.com,cn=Softforum Root Authority,o=Softforum Corporation,c=KR";
if(bM!=ic(aE.cert[0].issuer)){aD(aY.NR+aY.aI);return-1}var abE=window.location.hostname;if(window.location.port)abE+=":"+window.location.port;if(aE.plain.indexOf(abE)<0){aD(aY.NR+aY.aI);return-1}var im=aE.plain.toLowerCase().split(",");for(var i=0;i<im.length;i++){if(im[i].indexOf(aif)>=0){abZ.enable=true;var adL=im[i].split("=");if(adL.length==2)if(adL[1]==aig)abZ.acR=true;else{if(adL[1]==ain)abZ.mobile=true}else{abZ.acR=true;abZ.mobile=true}}if(im[i].indexOf(ahT)>=0){adk.enable=true;var adL=im[i].split("=");
if(adL.length==2)if(adL[1]==aig)adk.acR=true;else{if(adL[1]==ain)adk.mobile=true}else{adk.acR=true;adk.mobile=true}}if(im[i].indexOf("anypin_servercert")>=0){var adL=im[i].split("=");if(adL.length==2){adk.cert=adL[1];adJ.setLicense(adk.cert)}}}return 0}function az(){return mLicense}function adb(){if(!mPlatform)afN();if(abZ.enable){if(mPlatform==aig&&abZ.acR)return true;if(mPlatform==ain&&abZ.mobile)return true}return false}function abY(){if(!mPlatform)afN();if(adk.enable){if(mPlatform==aig&&adk.acR)return true;
if(mPlatform==ain&&adk.mobile)return true}return false}function Om(Nq,ao){var wb=ao.toLowerCase().split(":");if(wb.length<2){aD(aY.Qv+aY.aq);return-1}var BO=Number(wb[0]);if(!(BO&512))return 0;var vP=[];for(var i=1;i<wb.length;i++)if(wb[i]=="browser"){vP.push(dC);vP.push(bZ)}if(vP.length==0)return 0;var pA;var im;if(BO&128){var KV=Nq.split(";");if(KV.length<2){aD(aY.Qv+aY.aq);return-1}pA=KV[1];im=KV[0]}else{pA=Nq;im=window.location.protocol+"//"+window.location.hostname+":"+(window.location.port?
window.location.port:"80")}var aE=dF.Gx(pA,"",0);if(!aE){gd(aY.Qv+aY.PG);return-1}if(im.indexOf(aE.plain)<0){aD(aY.Qv+aY.mW);return-1}var bM="e=camaster@softforum.com,cn=Softforum Root Authority,o=Softforum Corporation,c=KR";if(bM!=ic(aE.cert[0].issuer)){aD(aY.Qv+aY.mW);return-1}mSecurityContext=pA;mSecurityOption=BO;Ec=vP;return 0}function Pq(ih,ao,au){var aE=0;if(ih==bZ){Storage.tG();if(au)au(0);else return 0}else if(ih==cS){Storage.Vd();if(au){var Dg=function(oe){if(oe!=0)gd(aY.Yp+aY.ZA);au(oe)};
fZ.ND(Dg)}else{aE=fZ.ND();if(aE!=0)gd(aY.Yp+aY.ZA);return aE}}else{if(!window.localStorage||typeof localStorage=="undefined"){aE=-1;aD(aY.Yp+aY.Ku)}if(au)au(aE);else return aE}}function IK(cert,xP,Eu,option){var vG=[];var xV=[];var yG=false;var DN=false;if(typeof xP==="string"&&xP!="")vG=xP.split(",");if(typeof Eu==="string"&&Eu!="")xV=Eu.split(",");if(vG.length>0&&option!=QQ)if(option==Gu)for(var i=0;i<vG.length;++i){var nX;var sF;if(atl==true&&typeof cert.issuer=="string"){var issuer=cert.issuer.split(",");
nX=issuer[0].substring(3);if(nX){nX=forge.util.decodeUtf8(nX);if(vG[i].indexOf(nX)>=0)if(vG[i].indexOf(":")>=0){if(vG[i].indexOf(cert.policyOID)>=0){yG=true;return yG}}else{yG=true;return yG}}}else{nX=cert.issuer.apB("CN");if(nX){nX=forge.util.decodeUtf8(nX.value);if(vG[i].indexOf(nX)>=0)if(vG[i].indexOf(":")>=0){sF=Kc(cert.ln("certificatePolicies"));if(vG[i].indexOf(sF.policy)>=0){yG=true;break}}else{yG=true;break}}}}else{if(option==RE)if(ic(cert.issuer).toLowerCase()==xP.toLowerCase())yG=true}else yG=
true;if(yG)if(xV.length>0)for(var i=0;i<xV.length;++i){if(cert.serialNumber.toLowerCase()==xV[i].toLowerCase()){DN=true;break}}else DN=true;return DN}function PD(ab,el,pY,pL,rU,au){var wg=function(kO){var vA=[];if(!kO||kO.length==0||kO==-1){if(au)au("");return""}var aE="";if(ab==dC&&atl==true)if(kO.length==undefined)aE+=PO(kO.signCert,rU);else if(rU==BP)for(var i=0;i<kO.length;i++){if(IK(kO[i],pY,pL,el))aE+=atg(kO[i],rU)}else{if(kO==-1){if(au)au("");return""}aE+=atg(kO.signCert,rU)}else{for(var i=
0;i<kO.length;i++){var gN,ED=null;if(ab==cS&&rU==BP){gN=kO[i].cert;var bU,bX;if(!gN)continue;else if(gN.charAt(0)=="3")bX=forge.util.aj(gN);else if(gN.charAt(0)=="M")bX=forge.util.gi(gN);else continue;bU=forge.mP.bI(bX);gN=forge.pM.gH(bU);if(kO[i].kmCert)if(kO[i].kmCert.charAt(0)=="3"){bX=forge.util.aj(kO[i].kmCert);bU=forge.mP.bI(bX);ED=forge.pM.gH(bU)}else if(kO[i].kmCert.charAt(0)=="M"){bX=forge.util.gi(kO[i].kmCert);bU=forge.mP.bI(bX);ED=forge.pM.gH(bU)}Storage.GD(gN,null,ED,null);if(kO[i].statusCode==
201)if(kO[i].expireMsg==203)gN.status="0";else if(kO[i].expireMsg==205)gN.status="1";else if(kO[i].expireMsg==204)gN.status="2";else gN.status="2";else if(kO[i].statusCode==202)gN.status="3";else gN.status="2"}else gN=kO[i].signCert;if(IK(gN,pY,pL,el))vA=vA.concat(gN)}for(var i=0;i<vA.length;i++)aE+=PO(vA[i],rU)}if(au)au(aE);return aE};if(ab==dC)if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;return Storage.El(null,wg)}else wg(atx)};if(pL.length==0)return Storage.asm(null,aup);else return Storage.arD(null,
pL,"",true,aup)}else return Storage.El(null,wg);else if(ab==ZC)return Storage.El("aF",wg);else if(ab==bZ){var kO=Storage.EN();return wg(kO)}else if(ab==cS)if(rU==BP)if(au)fZ.aG(wg);else{var kO=fZ.aG();return wg(kO)}else{var kO=Storage.IP();return wg(kO)}else if(ab==Dw){var kO=[];if(ny.type==0){if(!ny.aG){if(au)au("");return""}var eE=JSON.parse(ny.aG);if(!eE||!eE.item||eE.item.length==0){if(au)au("");return""}for(var i=0;i<eE.item.length;i++){var yk=eE.item[i].cert;var bU,bX;if(!yk)continue;else if(yk.charAt(0)==
"3")bX=forge.util.aj(yk);else if(yk.charAt(0)=="M")bX=forge.util.gi(yk);else continue;bU=forge.mP.bI(bX);var jb={};jb.signCert=forge.pM.gH(bU);kO.push(jb)}}else{var HK=document.getElementById(ny.OK);if(!HK){if(au)au("");return""}var xI=HK.getElementsByClassName("list");if(!xI||xI.length==0){if(au)au("");return""}for(var i=0;i<xI.length;i++){var yk=xI[i].getAttribute("data-cert");var bU,bX;if(!yk)continue;else if(yk.charAt(0)=="3"){bX=forge.util.aj(yk);bU=forge.mP.bI(bX)}else if(yk.charAt(0)=="M"){bX=
forge.util.gi(yk);bU=forge.mP.bI(bX)}else continue;var jb={};jb.signCert=forge.pM.gH(bU);kO.push(jb)}}if(kO.length==0){if(au)au("");return""}return wg(kO)}else{if(au)au("");return""}}function NM(ab,bM,aK,Ee,Bv){var abm=function(yk){if(!yk){aD(aY.PJ+aY.hQ);if(Bv)Bv(-1);return-1}var aE=dF.Fm(yk.signCert,Ee);if(aE!=0&&aE!=1)gd(aY.PJ+aY.aaB);if(Bv)Bv(aE);return aE};return hf(ab,bM,aK,"",2,abm)}function NV(ab,bM,aK,bO,Dx,Bv){var abm=function(yk){if(!yk){aD(aY.Or+aY.hQ);if(Bv)Bv(-1);return-1}var aE=dF.VL(yk.signCert,
yk.signKey,bO,Dx);if(aE!=0)gd(aY.Or+aY.aax);if(Bv)Bv(aE);return aE};return hf(ab,bM,aK,bO,2,abm)}function abi(ab,bM,aK,bO,au){var abm=function(yk){if(!yk){if(rC()==0)aD(aY.Nx+aY.hQ);if(au)au(-1);return-1}if(dF.te(yk.signKey,bO)!=0){if(rC()==0)gd(aY.Nx+aY.abQ);if(au)au(-1);return-1}if(yk.kmCert&&yk.kmKey)if(dF.te(yk.kmKey,bO)!=0){if(rC()==0)aD(aY.Nx+aY.ZX);if(au)au(-1);return-1}if(au)au(0);return 0};if(ab==cS)if(au){var Dg=function(aE){if(aE!=0)gd(aY.Nx+aY.ZY);au(aE)};fZ.We(bM,aK,bO,Dg)}else{var aE=
fZ.We(bM,aK,bO);if(aE!=0)gd(aY.Nx+aY.ZY);return aE}else return hf(ab,bM,aK,bO,2,abm)}function aaC(bO,jX,ao){var aE;if(ao&2){if(ao&1)aE=dF.abj(bO,jX,1);else aE=dF.abj(bO,jX,0);if(aE!=0)gd(aY.YB+aY.abO)}else{if(ao&1)aE=dF.Za(bO,jX,1);else aE=dF.Za(bO,jX,0);if(aE!=0)gd(aY.YB+aY.aaR)}return aE}function aaA(ab,bM,aK,jE,jC,sY,au){var wg=function(yk){if(!yk){aD(aY.Od+aY.hQ);if(au)au(-1);return-1}var Yq=dF.IC(yk.signKey,jE,jC);var Mr=null;if(!Yq){gd(aY.Od+aY.apL);if(au)au(-1);return-1}if(yk.kmCert&&yk.kmKey){Mr=
dF.IC(yk.kmKey,jE,jC);if(!Mr){gd(aY.Od+aY.apL);if(au)au(-1);return-1}}var acj=function(aE){if(aE>=0){if(au)au(0);return 0}else{gd(aY.Od+aY.aaP);if(au)au(-1);return-1}};if(ab==ZC)Storage.VF(yk.signCert,Yq,yk.kmCert,Mr,"aF",acj);else if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.VF(yk.signCert,Yq,yk.kmCert,Mr,null,acj)}else acj(atx)};Storage.asR(yk.signCert,Yq,yk.kmCert,Mr,jE,jC,null,aup)}else Storage.VF(yk.signCert,Yq,yk.kmCert,Mr,null,acj)};if(ab==dC)return hf(dC,bM,aK,jE,0,
wg);else if(ab==ZC)return hf(ZC,bM,aK,"",0,wg);else if(ab==cS)if(au){var Dg=function(aE){if(aE!=0)gd(aY.Od+aY.aqV);au(aE)};fZ.WC(bM,aK,jE,jC,sY,Dg)}else{var aE=fZ.WC(bM,aK,jE,jC,sY);if(aE!=0)gd(aY.Od+aY.aqV);return aE}else{aD(aY.Od+aY.aq);if(au)au(-1);return-1}}function aau(ab,bM,aK,au){var abm=function(gs){if(gs<0){aD(aY.NY+aY.hQ);if(au)au(-1);return-1}var aco=function(aE){if(aE==0){if(au)au(0);return 0}else{gd(aY.NY+aY.aat);if(au)au(-1);return-1}};if(ab==ZC)Storage.deleteCert(gs,"aF",aco);else if(atl==
true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.deleteCert(gs,null,aco)}else acj(atx)};Storage.asU(gs,null,aup)}else Storage.deleteCert(gs,null,aco)};if(ab==dC)if(atl==true){var callback=function(aE){if(aE==0){if(au)au(0);return 0}else{gd(aY.NY+aY.aat);if(au)au(-1);return-1}};var aup=function(atx){if(atx==-5E3){atl=false;return hf(dC,bM,aK,"",1,abm)}else callback(atx)};Storage.arC(aK,null,aup)}else return hf(dC,bM,aK,"",1,abm);else if(ab==ZC)return hf(ZC,bM,aK,"",1,abm);else if(ab==bZ){Storage.tG();
if(au)au(0);return 0}else if(ab==cS)if(au){var Dg=function(aE){if(aE!=0)gd(aY.NY+aY.Zb);au(aE)};fZ.Ll(bM,aK,Dg)}else{var aE=fZ.Ll(bM,aK);if(aE!=0)gd(aY.NY+aY.Zb);return aE}else{aD(aY.NY+aY.aq);if(au)au(-1);return-1}}function Xc(gN,aag,ED,aaq,bO,el,pY,pL,ao,au){var jb=dF.aqO(gN,aag,ED,aaq,bO);if(!jb){gd(aY.Nh+aY.aaU);if(au)au(-1);return-1}if(!IK(jb.signCert,pY,pL,el)){aD(aY.Nh+aY.JT);if(au)au(-1);return-1}Storage.tG();Storage.Dz(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(ao&1){var Zs=function(aE){if(aE==
1)if(NQ(Eo)==true){var WA=function(acH){if(acH!=0)gd(aY.Nh+aY.QI);if(au)au(acH)};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else WA(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,1,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else{if(au)au(1)}else{if(aE!=0)gd(aY.Nh+aY.QI);if(au)au(aE)}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,
jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else Zs(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,0,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else{if(au)au(0);return 0}}function Ni(ib,bO,el,pY,pL,ao,au){var jb=dF.AR(ib,bO);if(!jb){gd(aY.Nh+aY.PL);if(au)au(-1);return-1}if(!IK(jb.signCert,pY,pL,el)){aD(aY.Nh+aY.JT);if(au)au(-1);return-1}Storage.tG();Storage.Dz(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(ao&1){var Zs=function(aE){if(aE==1)if(NQ(Eo)==
true){var WA=function(acH){if(acH!=0)gd(aY.Nh+aY.QI);if(au)au(acH)};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else WA(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,1,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else{if(au)au(1)}else{if(aE!=0)gd(aY.Nh+aY.QI);if(au)au(aE)}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,
jb.kmCert,jb.kmKey,null,0,Zs)}else Zs(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,0,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else{if(au)au(0);return 0}}function JX(gN,aag,abo,ED,aaq,bO,ab,ao,Bv){var jb=dF.UD(gN,aag,ED,aaq,bO,abo);if(!jb){gd(aY.aak);Bv(-1);return-1}var wg=function(kO){var aaI=function(){if(ab==bZ){Storage.tG();Storage.Dz(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(ao&2){if(Bv)Bv(PO(jb.signCert,BP));return 0}else{if(Bv)Bv(0);
return 0}}var acj=function(aE){if(aE==1)if(NQ(Eo)==true)var ade=function(aE){if(aE==0)if(ao&2){if(Bv)Bv(PO(jb.signCert,BP));return 0}else{Bv(0);return 0}else{gd(aY.QI);Bv(-1);return-1}if(ab==ZC)Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,"aF",1,ade);else if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,ade)}else ade(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,1,0,aup)}else Storage.qg(jb.signCert,
jb.signKey,jb.kmCert,jb.kmKey,null,1,ade)};else{Bv(1);return 1}else{if(aE!=0){gd(aY.QI);Bv(aE);return aE}if(ao&2){if(Bv)Bv(PO(jb.signCert,BP));return aE}else{Bv(aE);return aE}}};if(ab==ZC)Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,"aF",0,acj);else if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,acj)}else acj(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,0,0,aup)}else Storage.qg(jb.signCert,jb.signKey,
jb.kmCert,jb.kmKey,null,0,acj)};var Zh=false;if(kO.length>0)for(var i=0;i<kO.length;++i)if(ic(kO[i].signCert.issuer).toLowerCase().indexOf(ic(jb.signCert.issuer).toLowerCase())>=0)if(ic(kO[i].signCert.subject).toLowerCase().indexOf(ic(jb.signCert.subject).toLowerCase())>=0){Zh=true;var ack=function(aE){if(aE!=0){gd(aY.aat);Bv(-1);return-1}aaI()};if(ab==ZC)Storage.deleteCert(i,"aF",ack);else if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.deleteCert(i,null,ack)}else ack(atx)};Storage.auO(i,
null,aup)}else Storage.deleteCert(i,null,ack)}if(Zh===false)aaI()};if(ab==ZC)Storage.El("aF",wg);else Storage.El(null,wg)}function NJ(ib,bO,ab,ZL,ao,au){if(ab==bZ){var jb=dF.AR(ib,bO,ZL);if(!jb){gd(aY.IL+aY.PL);if(au)au(-1);return-1}Storage.tG();Storage.Dz(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(au)au(0);return 0}else if(ab==dC){var jb=dF.AR(ib,bO,ZL);if(!jb){gd(aY.IL+aY.PL);if(au)au(-1);return-1}var Zs=function(aE){if(aE==1)if(NQ(Eo)==true){var WA=function(acH){if(acH==0){if(au)au(0)}else{gd(aY.IL+
aY.QI);if(au)au(-1)}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else WA(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,1,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else{if(au)au(1)}else{if(aE!=0)gd(aY.IL+aY.QI);if(au)au(aE);return aE}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else Zs(atx)};
Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,0,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else if(ab==cS)if(ao&1){var jb=dF.AR(ib,bO,ZL);if(!jb){gd(aY.IL+aY.PL);if(au)au(-1);return-1}var abm=function(index){Storage.Xw(index);Storage.GD(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(au)au(0);return 0};hf(cS,ic(jb.signCert.issuer),jb.signCert.serialNumber,"",1,abm)}else{var YG;try{if(typeof ib=="string")if(ib.charAt(0)=="3"){var bX=forge.util.aj(ib);
YG=forge.util.encode64(bX)}else if(ib.charAt(0)=="M")YG=ib;else{aD(aY.IL+aY.aq);if(au)au(-1);return-1}else{var bX=forge.util.bV(ib);YG=forge.util.encode64(bX.bg())}}catch(e){aD(aY.IL+aY.aq,e);if(au)au(-1);return-1}if(au){var Dg=function(aE){if(aE!=0)gd(aY.IL+aY.ZZ);au(aE)};fZ.XF(YG,ZL,Dg)}else{var aE=fZ.XF(YG,ZL);if(aE!=0)gd(aY.IL+aY.ZZ);return aE}}else{aD(aY.IL+aY.aq);if(au)au(-1);return-1}}function Vq(gN,aag,ED,aaq,bO,ab,ZL,ao,au){if(ab==bZ||ab==dC){var jb=dF.aqO(gN,aag,ED,aaq,bO,ZL);if(!jb){gd(aY.IL+
aY.aaU);if(au)au(-1);return-1}if(ab==bZ){Storage.tG();Storage.Dz(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(au)au(0);return 0}else{var Zs=function(aE){if(aE==1)if(NQ(Eo)==true){var WA=function(acH){if(acH==0){if(au)au(0);return 0}else{gd(aY.IL+aY.QI);if(au)au(-1);return-1}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else WA(atx)};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,1,0,aup)}else Storage.qg(jb.signCert,
jb.signKey,jb.kmCert,jb.kmKey,null,1,WA)}else{if(au)au(1)}else{if(aE!=0){gd(aY.IL+aY.QI);if(au)au(-1);return-1}if(au)au(aE)}};if(atl==true){var aup=function(atx){if(atx==-5E3){atl=false;Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}else Zs(atx);return};Storage.arN(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,null,0,0,aup)}else Storage.qg(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,null,0,Zs)}}else if(ab==cS)if(ao&1){var jb=dF.aqO(gN,aag,ED,aaq,bO,ZL);if(!jb){gd(aY.IL+aY.aaU);if(au)au(-1);
return-1}var index=hf(cS,ic(jb.signCert.issuer),jb.signCert.serialNumber,"",1);Storage.Xw(index);Storage.GD(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey);if(au)au(0);return 0}else{var jb=dF.aqO(gN,aag,ED,aaq,bO,bO);if(!jb){gd(aY.IL+aY.aaU);if(au)au(-1);return-1}var YG=dF.wQ(jb.signCert,jb.signKey,jb.kmCert,jb.kmKey,bO,bO,1);if(!YG){gd(aY.IL+aY.aas);if(au)au("");return""}if(au){var Dg=function(aE){if(aE!=0)gd(aY.IL+aY.ZZ);au(aE)};fZ.XF(YG,ZL,Dg)}else{var aE=fZ.XF(YG,ZL);if(aE!=0)gd(aY.IL+aY.ZZ);return aE}}else{aD(aY.IL+
aY.aq);if(au)au(-1);return-1}}function OW(ab,bM,aK,kU,apT,jQ,Bv){var abm=function(cert){if(!cert)Bv(-1);var vB=dF.wQ(cert.signCert,cert.signKey,cert.kmCert,cert.kmKey,kU,apT,0);if(!vB)Bv(-1);var filename;if(jQ)filename=jQ;else{filename=forge.util.decodeUtf8(cert.signCert.subject.apB("CN").value);if(filename)filename+=".pfx";else filename="cert.pfx"}var hY=document.createElement("a");if("download"in hY){hY.setAttribute("href","data:application/x-pkcs12;rV,"+vB);hY.setAttribute("download",filename);
hY.style.display="none";document.body.appendChild(hY);hY.click();document.body.removeChild(hY)}else Bv(-1);Bv(0)};hf(ab,bM,aK,kU,2,abm)}function PP(ab,bM,aK,kU,apT,ao,au){var abm=function(yk){if(!yk){aD(aY.NS+aY.hQ);if(au)au("");return""}var aE=dF.wQ(yk.signCert,yk.signKey,yk.kmCert,yk.kmKey,kU,apT,ao);if(!aE){gd(aY.NS+aY.aas);if(au)au("");return""}if(au)au(aE);return aE};if(ab==bZ||ab==dC)var yk=hf(ab,bM,aK,kU,2,abm);else if(ab==cS){var ZW=function(wy){var aE;if(wy.charAt(0)=="3")if(ao&1){var bX=
forge.util.aj(wy);aE=forge.util.encode64(bX)}else aE=wy;else if(wy.charAt(0)=="M")if(ao&1)aE=wy;else{var bX=forge.util.gi(wy);aE=forge.util.cV(bX)}else{aE="";gd(aY.NS+aY.aaT)}if(au)au(aE);else return aE};if(au)fZ.Wy(bM,aK,kU,ZW);else{var wy=fZ.Wy(bM,aK,kU);return ZW(wy)}}else{aD(aY.NS+aY.aq);if(au)au("");return""}}function PB(HU){if(!HU)return-1;switch(HU.toLowerCase()){case "md5":return 0;case "sha1":return 1;case "sha256":return 2;case "sha384":return 3;case "sha512":return 4;default:return-1}}
function vK(ab,bM,aK,bO,fA,ao,Bw,au){var BH;if(Bw==0)BH=aY.aab;else BH=aY.Vl;if(ab==cS&&hM.lp!=lA){var im=null;if(!bM||!aK||!bO){aD(BH+aY.aq);if(au)au("");return""}var FK=function(pA){if(!pA){if(hM.lp==LM)gd(BH+aY.abR);else gd(BH+aY.aaj);if(au)au("");return""}var aE=dF.Hj(pA,im,ao,mCharset);if(!aE){gd(BH+aY.ZK);if(au)au("");return""}if(au)au(aE);return aE};if(hM.lp==lA);else if(hM.lp==LM){var LQ=function(yk){if(!yk||yk.length==0){gd(BH+aY.abJ);if(au)au("");return""}yk=yk[0];if(!yk.signatureAlgId){aD(BH+
aY.hQ);if(au)au("");return""}var yJ;if(yk.signatureAlgId.indexOf(" ")>0)yJ=yk.signatureAlgId.split(" ")[0];else if(yk.signatureAlgId.indexOf("+")>0)yJ=yk.signatureAlgId.split("+")[0];else yJ=yk.signatureAlgId;var HJ=PB(yJ);if(HJ==-1){aD(BH+aY.hQ);if(au)au("");return""}im=fA;var digest=dF.hashData(HJ,fA,0,mCharset);if(au)fZ.Ma(bM,aK,bO,digest,ao,FK);else{var lH=fZ.Ma(bM,aK,bO,digest,ao);return FK(lH)}};if(au)fZ.KX(bM,aK,LQ);else{var ZE=fZ.KX(bM,aK);return LQ(ZE)}}else if(au)fZ.UO(bM,aK,bO,fA,ao,mCharset,
FK);else{var lH=fZ.UO(bM,aK,bO,fA,ao,mCharset);return FK(lH)}}else{var UK=Ax(ab);var yk;var rN;var abm=function(aal){if(ab==dC&&bM&&aK&&bO||ab==ZC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)yk=aal;else{if(!UK){aD(BH+aY.aq);if(au)au("");return""}rN=aal;if(!rN){aD(BH+aY.hQ);if(au)au("");return""}bO=rN.dh;yk=rN.cert}if(!yk){aD(BH+aY.hQ);if(au)au("");return""}var aE;if(Bw==0)aE=dF.aar(yk.signCert,yk.signKey,bO,fA,ao,mCharset);else aE=dF.aqF(yk.signCert,yk.signKey,bO,fA,ao,mCharset);if(aE)if(UK&&
!rN){var aco=function(nA){if(nA!=0){gd(BH+aY.aaV);if(au)au("");return""}else{if(au)au(aE);return aE}};MY(ab,bM,aK,yk,bO,aco)}else{if(au)au(aE);return aE}else{if(Bw==0)gd(BH+aY.abn);else gd(BH+aY.abT);if(au)au("");return""}};if(ab==dC&&bM&&aK&&bO||ab==ZC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)return hf(ab,bM,aK,bO,2,abm);else return zo(ab,abm)}}function apJ(lH,im,ao){var result=dF.Gx(lH,im,ao,mCharset);if(result)if(typeof result.plain=="string"){if(rC()!=0)gd(aY.YQ+aY.PG);return result.plain}else{gd(aY.YQ+
aY.PG);return""}else{gd(aY.YQ+aY.PG);return""}}function Qg(lH,im,ao){var result=dF.Hj(lH,im,ao,mCharset);if(result)return result;else{gd(aY.Yl+aY.ZK);return""}}function IH(ab,bM,aK,bO,Ev,yu,au){var qi=Ax(ab);var cert;var fB;var abm=function(aal){if(ab==dC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)cert=aal;else{if(!qi){aD(aY.Nn+aY.aq);if(au)au("");return""}fB=aal;if(!fB){aD(aY.Nn+aY.hQ);if(au)au("");return""}bO=fB.dh;cert=fB.cert}if(!cert){aD(aY.Nn+aY.hQ);if(au)au("");return""}var result=
dF.Hm(cert.signCert,cert.signKey,bO,Ev,yu);if(result){if(au)au(result);return result}else{gd(aY.Nn+aY.aaf);if(au)au("");return""}};if(ab==dC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)return hf(ab,bM,aK,bO,2,abm);else return zo(ab,abm)}function PE(qF,CZ,Cx,kQ,ao,Bv){var acp=[];var aG=[];var acK=0;var kA=qF.split("\t\n");var xn=CZ.split("\t\n");var yZ=Cx.split("\t\n");if(kA.length!=xn.length||kA.length!=yZ.length){aD(aY.NX+aY.aq);Bv("")}for(var i=0;i<kA.length;i++){if(kA[i]=="")continue;
if(kA[i]==dC&&(!xn[i]||!yZ[i])){aD(aY.NX+aY.aq);Bv("")}if(kA[i]==cS&&(!xn[i]||!yZ[i])){aD(aY.NX+aY.aq);Bv("")}if(kA[i]!=bZ&&kA[i]!=dC&&kA[i]!=cS){aD(aY.NX+aY.Ku);Bv("")}acp.push({kA:kA[i],xn:xn[i],yZ:yZ[i]})}var abm=function(cert){if(!cert){aD(aY.NX+aY.hQ);Bv("")}aG.push(cert.kmCert?cert.kmCert:cert.signCert);acp.splice(acK,1);if(acp.length!=0)hf(acp[acK].kA,acp[acK].xn,acp[acK].yZ,"",2,abm);if(!aG||aG.length<=0){aD(aY.NX+aY.hQ);Bv("")}var result=dF.BE(aG,null,kQ,ao,mCharset);if(result)Bv(result);
else{gd(aY.NX+aY.YI);Bv("")}};hf(acp[acK].kA,acp[acK].xn,acp[acK].yZ,"",2,abm)}function PM(yq,kQ,ao){var aG=[];try{var FQ=yq.split(";");for(var i=0;i<FQ.length;i++)aG.push(forge.pM.kK(FQ[i]))}catch(e){aD(aY.Zw+aY.aq,e);return""}var result=dF.BE(aG,null,kQ,ao,mCharset);if(result)return result;else{gd(aY.Zw+aY.YI);return""}}function aby(ng,kQ,ao){var result=dF.BE(null,ng,kQ,ao,mCharset);if(result)return result;else{gd(aY.abN+aY.YI);return""}}function My(ab,bM,aK,bO,oX,au){var qi=Ax(ab);var cert;var fB;
var abm=function(aal){if(ab==dC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)cert=aal;else{if(!qi){aD(aY.NC+aY.aq);if(au)au("");return""}fB=aal;if(!fB){aD(aY.NC+aY.hQ);if(au)au("");return""}bO=fB.dh;cert=fB.cert}if(!cert){aD(aY.NC+aY.hQ);if(au)au("");return""}var result;if(cert.kmCert&&cert.kmKey)result=dF.CJ(cert.kmCert,cert.kmKey,bO,null,oX,0,mCharset);else result=dF.CJ(cert.signCert,cert.signKey,bO,null,oX,0,mCharset);if(typeof result=="string"){if(au)au(result);return result}else{gd(aY.NC+
aY.ZB);if(au)au("");return""}};if(ab==dC&&bM&&aK&&bO||ab==bZ&&bO||ab==cS&&hM.lp==lA&&bM&&aK&&bO)return hf(ab,bM,aK,bO,2,abm);else return zo(ab,abm)}function abK(ng,oX){var result=dF.CJ(null,null,null,ng,oX,0,mCharset);if(typeof result=="string")return result;else{gd(aY.aaJ+aY.ZB);return""}}function abL(lL,CF,DU,Cu,ab,bO,cR,apm,aqi,au){try{cR=parseInt(cR);if(typeof cR=="number"){if(cR<0||cR>8){aD(aY.abt+aY.aq);if(au){au(-1);return}else return-1}}else cR=4;var Cp=rd.Ie(lL);var Bu=rd.GQ(lL);var aV=rd.aX(lL);
var zr=rd.Ij(Cp,Bu,CF,cR,apm,aV);zr.zZ(DU,Cu,function(nv){if(nv===aY){aD(aY.abt+aY.DG);au(-1);return}JX(nv[0].bh,nv[0].privateKey,nv[0].cD,nv[1]?nv[1].bh:null,nv[1]?nv[1].privateKey:null,bO,ab,aqi,au)})}catch(oZ){var kL="";for(var i in oZ)kL+=i+" : "+oZ[i]+"\n";console.log(kL);aD(aY.abt+aY.DG);au(-1)}}function abw(lL,CF,ab,bM,aK,jE,jC,cR,apm,ao,au){try{cR=parseInt(cR);if(typeof cR=="number"){if(cR<0||cR>8){aD(aY.abt+aY.aq);if(au){au(-1);return}else return-1}}else cR=4;var Cp=rd.Ie(lL);var Bu=rd.GQ(lL);
var aV=rd.aX(lL);var zr=rd.Ij(Cp,Bu,CF,cR,apm,aV);var abm=function(yk){if(!yk){au(-1);aD(aY.abF+aY.hQ);return}if(atl==true)aK=yk.signCert.serialNumber;zr.update(yk.signCert,yk.signKey,yk.kmCert,yk.kmKey,aK,jE,0,function(mV){if(mV===aY){aD(aY.abF+aY.ku);au(-1);return}var aco=function(aE){if(ao&2)if(aE==-1||aE==1)gd(aY.abF);else au(aE);else if(aE!=0)gd(aY.abF);else au(0)};JX(mV[0].bh,mV[0].privateKey,mV[0].cD,mV[1]?mV[1].bh:null,mV[1]?mV[1].privateKey:null,jC,ab,ao,aco)})};hf(ab,bM,aK,jE,0,abm)}catch(oZ){var kL=
"";for(var i in oZ)kL+=i+" : "+oZ[i]+"\n";console.log(kL);aD(aY.abF+aY.ku);au(-1)}}function aaW(ab,bM,aK,ao,Bv){var abm=function(yk){if(!yk){aD(aY.Si+aY.hQ);return""}if(ao&16)yk=yk.kmCert;else yk=yk.signCert;if(!yk){aD(aY.Si+aY.hQ);return""}try{var aE;if(ao&2)aE=forge.pM.Wd(yk);else if(ao&1)aE=forge.util.encode64(forge.mP.by(forge.pM.kk(yk)).bg());else aE=forge.util.cV(forge.mP.by(forge.pM.kk(yk)).bg());if(aE)Bv(aE);else{aD(aY.Si+aY.hQ);Bv("")}}catch(e){aD(aY.Si+aY.hQ,e);Bv("")}};hf(ab,bM,aK,"",2,
abm)}function Nf(sK,im,ao){var aE=dF.hashData(sK,im,ao,mCharset);if(aE)return aE;else{gd(aY.abb+aY.aao);return""}}function atJ(atE,jp,ast,au){return Storage.syncOpenCert(atE,jp,ast,au)}function Ej(aC){return Storage.gc(aC)}function Na(Ar,zA,zV,AN,zG,zX,zE,DS){fZ.init(Ar,zA,zV,DS);hM.lp=AN;ny.type=zG;ny.aG=zX;ny.OK=zE}function Os(jl,bO,uI,sm,au){if(au){var Dg=function(aE){if(aE!=0)gd(aY.SV+aY.ZQ);au(aE)};fZ.ME(jl,bO,uI,sm,Dg)}else{var aE=fZ.ME(jl,bO,uI,sm);if(aE!=0)gd(aY.SV+aY.ZQ);return aE}}function NF(jl,
au){if(au){var Dg=function(aE){if(aE!=0)gd(aY.OH+aY.abh);au(aE)};fZ.RU(jl,Dg)}else{var aE=fZ.RU(jl);if(aE!=0)gd(aY.OH+aY.abh);return aE}}function MP(au){if(au){var Dg=function(aE){if(aE!=0)gd(aY.Ye+aY.abP);au(aE)};fZ.Oa(Dg)}else{var aE=fZ.Oa();if(aE!=0)gd(aY.Ye+aY.abP);return aE}}function aiD(BW,aeU,afb,cR,apg,ao,DS){cR=parseInt(cR);if(typeof cR=="number"){if(cR<0||cR>8)cR=4}else cR=4;if(!mPlatform)afN();adJ.init(BW,aeU,afb,cR,apg,apA,ao,DS)}function ajg(ao,ali,als,au){var Dg=function(aE){if(!aE)gd(aY.ahP+
aY.adW);if(au)au(aE);return aE};return adJ.aeQ(ao,ali,als,mCharset,Dg)}function aoV(adt,au){var Dg=function(aE){if(aE!=0)gd(aY.aiV+aY.ahS);if(au)au(aE);return aE};return adJ.aon(adt,Dg)}function aiT(afw,aen,acL,acl,ao){var aE=adJ.ajm(afw,aen,acL,acl,ao);if(aE!=0)gd(aY.adY+aY.agk);return aE}function agu(adt,ao,au){var Dg=function(aE){if(!aE)gd(aY.agT+aY.aie);if(au)au(aE);return aE};return adJ.aeL(adt,ao,Dg)}function agQ(adt,ao,au){var Dg=function(aE){if(!aE)gd(aY.afW+aY.aip);if(au)au(aE);return aE};
return adJ.aiG(adt,ao,Dg)}function ahv(adt,acu,ahV,adm,acX,adR,CF,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.agb+aY.agB);if(au)au(aE);return aE};return adJ.adK(adt,acu,ahV,mCharset,adm,acX,adR,CF,ao,Dg)}function afT(adt,ao,au){var Dg=function(aE){if(!aE)gd(aY.agV+aY.ahp);if(au)au(aE);return aE};return adJ.adj(adt,ao,Dg)}function ahc(adt,acS,au){var Dg=function(aE){if(aE!=0)gd(aY.afZ+aY.aii);if(au)au(aE);return aE};return adJ.anW(adt,acS,Dg)}function agR(adt,adm,afa,acX,adR,CF,ao,au){var Dg=function(aE){if(aE!=
"success"&&aE!="update")gd(aY.ahb+aY.agD);if(au)au(aE);return aE};return adJ.adl(adt,adm,afa,acX,adR,CF,ao,Dg)}function aji(adt,au){var Dg=function(aE){if(aE!=0)gd(aY.ahR+aY.aiF);if(au)au(aE);return aE};return adJ.endSession(adt,Dg)}function ahJ(adt,adm,im,ao,au){var Dg=function(aE){if(!aE)gd(aY.agG+aY.ahu);if(au)au(aE);return aE};return adJ.aga(adt,adm,im,mCharset,ao,Dg)}function aiM(adt,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.ahx+aY.aiC);if(au)au(aE);return aE};return adJ.afs(adt,ao,Dg)}function aid(adt,
ao,au){var Dg=function(aE){if(aE!=0)gd(aY.ahC+aY.aiA);if(au)au(aE);return aE};return adJ.aeb(adt,ao,Dg)}function ajy(adt,aeX,aeS,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.agc+aY.aha);if(au)au(aE);return aE};return adJ.adE(adt,aeX,aeS,ao,Dg)}function avJ(adt,Ph,Ri,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.auc+aY.awH);if(au)au(aE);return aE};return adJ.avC(adt,Ph,Ri,ao,Dg)}function awi(adt,Uk,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.aty+aY.awb);if(au)au(aE);return aE};return adJ.awA(adt,Uk,ao,Dg)}
function awq(adt,Uk,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.ato+aY.awD);if(au)au(aE);return aE};return adJ.avl(adt,Uk,ao,Dg)}function auy(adt,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.atI+aY.avp);if(au)au(aE);return aE};return adJ.avV(adt,ao,Dg)}function avU(adt,Ph,Ri,asY,auQ,akP,afK,asb,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.auB+aY.avK);if(au)au(aE);return aE};return adJ.avB(adt,Ph,Ri,asY,auQ,akP,afK,asb,ao,Dg)}function awp(adt,ank,ao,au){var Dg=function(aE){if(aE!=0)gd(aY.auX+aY.awZ);if(au)au(aE);
return aE};return adJ.avj(adt,ank,ao,Dg)}return{checkXCrypto:function(){return Oy()},isMobilePlatform:function(){return apk()},getDeviceInfo:function(au){cg();if(typeof au!="function")au=null;if(!adb()){aD(aY.asy+aY.aI);if(au){au("");return}else return""}var aE=aqz();if(au)au(aE);else return aE},getLastErrCode:function(){return rC()},getLastErrMsg:function(){return pz()},getLastErrInternal:function(){return ZM()},resetErrAndMsg:function(){cg()},setError:function(sm,au){if(typeof au!="function")au=
null;sm=parseInt(sm);aD(sm);if(au)au()},resetError:function(au){if(typeof au!="function")au=null;cg();if(au)au()},getError:function(au){if(typeof au!="function")au=null;var ZR=Zo();if(au)au(ZR);else return ZR},setLanguage:function(iU,au){if(typeof au!="function")au=null;Qn(iU);if(au)au()},setCharset:function(Hu,au){if(typeof au!="function")au=null;Zi(Hu);if(au)au()},setLicense:function(YU,au){cg();if(typeof au!="function")au=null;if(!YU){aD(aY.NR+aY.aq);if(au)au(-1);return-1}var aE=aaN(YU);if(au)au(aE);
else return aE},setProperty:function(iU,Hu,YU,au){if(typeof au!="function")au=null;Qn(iU);Zi(Hu);aaN(YU);if(au)au()},setSecurityContext:function(Nq,ao,au){cg();if(typeof au!="function")au=null;if(!Nq){aD(aY.Qv+aY.aq);if(au)au(-1);return-1}var aE=Om(Nq,ao);if(au)au(aE);else return aE},setCrossStorage:function(Qy,QX,au){cg();if(typeof au!="function")au=null;var Bv=function(rO){if(rO!=0)gd(aY.SY);if(au)au(rO);else return rO};Ub(Qy,QX,Bv)},setOpenStorage:function(asB,atH,auM,Aw,au){cg();if(typeof au!=
"function")au=null;var Bv=function(rO){if(rO!==0)gd(aY.akt);if(au)au(rO);else return rO};var key=asW(asB);asx(key,atH,auM,Aw,Bv)},setIssuerConvertTable:function(iP,ki,lE,iU,au){cg();if(typeof au!="function")au=null;if(!iP||!ki){aD(aY.abv+aY.aq);if(au)au(-1);return-1}if(!lE)lE="";iU=parseInt(iU);var aE=MK(iP,ki,lE,iU);if(au)au(aE);else return aE},setPolicyConvertTable:function(jS,ki,lE,iU,au){cg();if(typeof au!="function")au=null;if(!jS||!ki){aD(aY.aaY+aY.aq);if(au)au(-1);return-1}if(!lE)lE="";iU=
parseInt(iU);var aE=NP(jS,ki,lE,iU);if(au)au(aE);else return aE},setSecureInput:function(ff,au){cg();if(typeof au!="function")au=null;sd(ff);if(au)au()},getSecureInput:function(au){cg();if(typeof au!="function")au=null;var aE=yW();if(au)au(aE);else return aE},setLastLocation:function(ab,au){cg();if(typeof au!="function")au=null;var adG=function(aE){if(aE!=0)gd(aY.abU);if(au)au(aE)};NZ(ab,adG)},getLastLocation:function(au){cg();if(typeof au!="function"){au=null;return-1}Ow(au)},generateRandom:function(awh,
ao,au){cg();if(typeof au!="function")au=null;var aE=avO(awh,ao);if(au)au(aE);else return aE},setCacheCertLocation:function(ab,au){cg();if(typeof au!="function")au=null;var adG=function(aE){if(aE!=0)gd(aY.adI);if(au)au(aE)};Ny(ab,adG)},getCacheCertLocation:function(ao,au){cg();if(typeof au!="function"){au=null;return-1}JL(ao,au)},hasCachedData:function(au){cg();if(typeof au!="function")au=null;var abm=function(aE){if(aE==0)au(1);else au(0)};Oc(abm)},clearCachedData:function(au){cg();if(typeof au!=
"function")au=null;NL(au)},getMediaList:function(ih,ao,au){cg();if(!adb()){aD(aY.Yp+aY.aI);if(au){au(-1);return}else return-1}ih=parseInt(ih);if(typeof au!="function")au=null;return Pq(ih,ao,au)},getCertTree:function(ab,pi,el,pY,pL,rU,au){cg();if(!adb()){aD(aY.abp+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=ZC&&ab!=cS&&ab!=Dw){aD(aY.abp+aY.aq);if(au){au("");return}else return""}return PD(ab,el,pY,pL,rU,au)},setCert:function(ib,
gN,aag,ED,aaq,bO,el,pY,pL,ao,au){cg();if(!adb()){aD(aY.Nh+aY.aI);if(au){au(-1);return}else return-1}if(typeof au!="function")au=null;if(!bO){aD(aY.Nh+aY.aq);if(au){au(-1);return}else return-1}if(ib){if(!(typeof ib==="string"||typeof ib==="object")){aD(aY.Nh+aY.aq);if(au){au(-1);return}else return-1}return Ni(ib,bO,el,pY,pL,ao,au)}else if(gN&&aag){if(!(typeof gN==="string"||typeof gN==="object")){aD(aY.Nh+aY.aq);if(au){au(-1);return}else return-1}if(!(typeof aag==="string"||typeof aag==="object")){aD(aY.Nh+
aY.aq);if(au){au(-1);return}else return-1}return Xc(gN,aag,ED,aaq,bO,el,pY,pL,ao,au)}else{aD(aY.Nh+aY.aq);if(au){au(-1);return}else return-1}},getCert:function(ab,bM,aK,ao,au){cg();if(!adb()){aD(aY.Si+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.Si+aY.aq);if(au){au("");return}else return""}if((ab==dC||ab==cS)&&(!bM||!aK)){aD(aY.Si+aY.aq);if(au){au("");return}else return""}var abm=function(aE){if(au)au(aE);else return aE};
aaW(ab,bM,aK,ao,abm)},importCert:function(ib,gN,aag,ED,aaq,Ue,ab,ZL,ao,au){cg();if(!adb()){aD(aY.IL+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}if(!Ue){aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}if(ib){if(!(typeof ib==="string"||typeof ib==="object")){aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}return NJ(ib,Ue,ab,ZL,ao,au)}else if(gN&&aag){if(!(typeof gN==="string"||
typeof gN==="object")){aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}if(!(typeof aag==="string"||typeof aag==="object")){aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}return Vq(gN,aag,ED,aaq,Ue,ab,ZL,ao,au)}else{aD(aY.IL+aY.aq);if(au){au(-1);return}else return-1}},exportCert:function(ab,bM,aK,kU,apT,ao,au){cg();if(!adb()){aD(aY.NS+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.NS+aY.aq);if(au){au("");return}else return""}if(!bM||
!aK||!kU){aD(aY.NS+aY.aq);if(au){au("");return}else return""}if((ab==bZ||ab==dC)&&!apT){aD(aY.NS+aY.aq);if(au){au("");return}else return""}return PP(ab,bM,aK,kU,apT,ao,au)},deleteCert:function(ab,pi,bM,aK,ao,au){cg();if(!adb()){aD(aY.NY+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=ZC&&ab!=cS){aD(aY.NY+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==cS||ab==ZC)&&(!bM||!aK)){aD(aY.NY+aY.aq);if(au){au(-1);return}else return-1}return aau(ab,
bM,aK,au)},checkPwd:function(bO,jX,ao,au){cg();if(!adb()){aD(aY.YB+aY.aI);if(au){au(-1);return}else return-1}if(typeof au!="function")au=null;if(!bO){aD(aY.YB+aY.aq);if(au){au(-1);return}else return-1}var aE=aaC(bO,jX,ao);if(au)au(aE);else return aE},verifyCertPwd:function(ab,bM,aK,bO,ao,au){cg();if(!adb()){aD(aY.Nx+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=ZC&&ab!=cS){aD(aY.Nx+aY.aq);if(au){au(-1);return}else return-1}if(ab==
bZ&&!bO){aD(aY.Nx+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==cS)&&(!bM||!aK||!bO)){aD(aY.Nx+aY.aq);if(au){au(-1);return}else return-1}return abi(ab,bM,aK,bO,au)},changeCertPwd:function(ab,bM,aK,jE,jC,sY,ao,au){cg();if(!adb()){aD(aY.Od+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=dC&&ab!=ZC&&ab!=cS){aD(aY.Od+aY.aq);if(au){au(-1);return}else return-1}if(!bM||!aK||!jE||!jC){aD(aY.Od+aY.aq);if(au){au(-1);return}else return-1}return aaA(ab,
bM,aK,jE,jC,sY,au)},verifyCert:function(ab,pi,bM,aK,Ee,au){cg();if(!adb()){aD(aY.PJ+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.PJ+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==cS)&&(!bM||!aK)){aD(aY.PJ+aY.aq);if(au){au(-1);return}else return-1}var abm=function(aE){if(au)au(aE);else return aE};return NM(ab,bM,aK,Ee,abm)},verifyCertOwner:function(ab,bM,aK,bO,Dx,ao,au){cg();if(!adb()){aD(aY.Or+aY.aI);if(au){au(-1);
return}else return-1}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.Or+aY.aq);if(au){au(-1);return}else return-1}if(ab==bZ&&!bO){aD(aY.Or+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==cS)&&(!bM||!aK||!bO)){aD(aY.Or+aY.aq);if(au){au(-1);return}else return-1}if(ab==cS&&hM.lp!=lA){aD(aY.Or+aY.aq);if(au){au(-1);return}else return-1}var abm=function(aE){if(au)au(aE);else return aE};return NV(ab,bM,aK,bO,Dx,abm)},signData:function(ab,bM,aK,bO,im,ao,au){cg();
if(!adb()){aD(aY.aab+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=ZC&&ab!=cS){aD(aY.aab+aY.aq);if(au){au("");return}else return""}return vK(ab,bM,aK,bO,im,ao,0,au)},signDataAdd:function(ab,bM,aK,bO,lH,ao,au){cg();if(!adb()){aD(aY.Vl+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=ZC&&ab!=cS){aD(aY.Vl+aY.aq);if(au){au("");return}else return""}if(ab==cS&&hM.lp!=lA){aD(aY.Vl+
aY.aq);if(au){au("");return}else return""}return vK(ab,bM,aK,bO,lH,ao,1,au)},verifyData:function(lH,im,ao,au){cg();if(!adb()){aD(aY.YQ+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;if(!lH){aD(aY.YQ+aY.aq);if(au){au("");return}else return""}var aE=apJ(lH,im,ao);if(au)au(aE);else return aE},getSignedData:function(lH,im,ao,au){cg();if(!adb()){aD(aY.Yl+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;if(!lH){aD(aY.Yl+aY.aq);if(au){au("");return}else return""}var aE=
Qg(lH,im,ao);if(au)au(aE);else return aE},envelopIdNum:function(ab,bM,aK,bO,Ev,yu,ao,au){cg();if(!adb()){aD(aY.Nn+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.Nn+aY.aq);if(au){au("");return}else return""}if(ab==cS&&hM.lp!=lA){aD(aY.Nn+aY.aq);if(au){au("");return}else return""}if(!yu){aD(aY.Nn+aY.aq);if(au){au("");return}else return""}var adG=function(aE){if(au)au(aE);else return aE};return IH(ab,bM,aK,bO,Ev,yu,adG)},envelopeDataWithCert:function(qF,
CZ,Cx,kQ,ao,au){cg();if(!adb()){aD(aY.NX+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;qF=String(qF);if(qF=="undefined"||qF==""){aD(aY.NX+aY.aq);if(au){au("");return}else return""}var abm=function(aE){if(au)au(aE);else return aE};return PE(qF,CZ,Cx,kQ,ao,abm)},envelopeDataWithPEM:function(yq,kQ,ao,au){cg();if(!adb()){aD(aY.Zw+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;if(!yq){aD(aY.Zw+aY.aq);if(au){au("");return}else return""}var aE=PM(yq,
kQ,ao);if(au)au(aE);else return aE},envelopeDataWithPwd:function(ng,kQ,ao,au){cg();if(!adb()){aD(aY.abN+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;if(!ng){aD(aY.abN+aY.aq);if(au){au("");return}else return""}var aE=aby(ng,kQ,ao);if(au)au(aE);else return aE},deenvelopeDataWithCert:function(ab,bM,aK,bO,oX,ao,au){cg();if(!adb()){aD(aY.NC+aY.aI);if(au){au("");return}else return""}ab=parseInt(ab);if(typeof au!="function")au=null;if(ab!=bZ&&ab!=dC&&ab!=cS){aD(aY.NC+aY.aq);
if(au){au("");return}else return""}if(ab==cS&&hM.lp!=lA){aD(aY.NC+aY.aq);if(au){au("");return}else return""}if(!oX){aD(aY.NC+aY.aq);if(au){au("");return}else return""}var adG=function(aE){if(au)au(aE);else return aE};return My(ab,bM,aK,bO,oX,adG)},deenvelopeDataWithPwd:function(ng,oX,ao,au){cg();if(!adb()){aD(aY.aaJ+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;if(!oX||!ng){aD(aY.aaJ+aY.aq);if(au){au("");return}else return""}var aE=abK(ng,oX);if(au)au(aE);else return aE},
requestCert:function(lL,BW,DU,Cu,ab,bO,cR,apm,aqi,au){cg();if(!adb()){aD(aY.abt+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(ab!=dC&&ab!=ZC){aD(aY.abt+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==ZC)&&(!lL||!BW||!DU||!Cu||!bO||!apm)){aD(aY.abt+aY.aq);if(au){au(-1);return}else return-1}abL(lL,BW,DU,Cu,ab,bO,cR,apm,aqi,au)},renewCert:function(lL,BW,ab,bM,aK,jE,jC,cR,apm,ao,au){cg();if(!adb()){aD(aY.abF+aY.aI);if(au){au(-1);return}else return-1}ab=parseInt(ab);if(ab!=dC&&
ab!=ZC){aD(aY.abF+aY.aq);if(au){au(-1);return}else return-1}if((ab==dC||ab==ZC)&&(!lL||!BW||!bM||!aK||!jE||!jC||!apm)){aD(aY.abF+aY.aq);if(au){au(-1);return}else return-1}abw(lL,BW,ab,bM,aK,jE,jC,cR,apm,ao,au)},revokeCert:function(){return},hashData:function(sK,im,ao,au){cg();sK=parseInt(sK);if(typeof au!="function")au=null;var aE=Nf(sK,im,ao);if(au)au(aE);else return aE},SyncOpenCert:function(atE,jp,ast,au){cg();if(!adb()){gd(aY.atO);if(au){au(-1);return}else return-1}if(atl==false){aD(aY.atO);if(au){au(-1);
return}else return-1}atJ(atE,jp,ast,au)},SetCloudTrayView:function(aC){Ej(aC)},xfsInit:function(Ar,zA,zV,AN,zG,zX,zE,DS){Na(Ar,zA,zV,AN,zG,zX,zE,DS)},xfsLogin:function(jl,bO,uI,sm,au){cg();if(!adb()){aD(aY.SV+aY.aI);if(au){au(-1);return}else return-1}if(typeof au!="function")au=null;if(!jl||!bO){aD(aY.SV+aY.aq);if(au){au(-1);return}else return-1}Os(jl,bO,uI,sm,au)},xfsOtpRequest:function(jl,au){cg();if(!adb()){aD(aY.OH+aY.aI);if(au){au(-1);return}else return-1}if(typeof au!="function")au=null;if(!jl){aD(aY.OH+
aY.aq);if(au){au(-1);return}else return-1}NF(jl,au)},xfsLogout:function(au){cg();if(!adb()){aD(aY.Ye+aY.aI);if(au){au(-1);return}else return-1}if(typeof au!="function")au=null;MP(au)},apnInitialize:function(BW,aeU,afb,cR,apg,ao){aiD(BW,aeU,afb,cR,apg,ao)},apnGetPinIDList:function(ao,ali,als,au){cg();if(!abY()){aD(aY.ahP+aY.aI);if(au){au("");return}else return""}if(typeof au!="function")au=null;return ajg(ao,ali,als,au)},apnUpdatePinLastTime:function(adt,au){cg();if(!abY()){aD(aY.aiV+aY.aI);if(au){au(-1);
return}else return-1}if(typeof au!="function")au=null;return aoV(adt,au)},apnCheckPin:function(afw,aen,acL,acl,ao,au){cg();if(!abY()){aD(aY.adY+aY.aI);if(au){au(-1);return}else return-1}acL=parseInt(acL);acl=parseInt(acl);if(typeof au!="function")au=null;if(!afw){aD(aY.adY+aY.aq);if(au){au(-1);return}else return-1}if(!acL||acL<0||!acl||acl<0){aD(aY.adY+aY.aq);if(au){au(-1);return}else return-1}var aE=aiT(afw,aen,acL,acl,ao);if(au)au(aE);else return aE},apnInitPin:function(adt,ao,au){cg();if(!abY()){aD(aY.agT+
aY.aI);if(au){au("");return}else return""}return agu(adt,ao,au)},apnInitRegist:function(adt,ao,au){cg();if(!abY()){aD(aY.afW+aY.aI);if(au){au("");return}else return""}return agQ(adt,ao,au)},apnRegistPin:function(adt,acu,ahV,adm,acX,adR,CF,ao,au){cg();if(!abY()){aD(aY.agb+aY.aI);if(au){au(-1);return}else return-1}return ahv(adt,acu,ahV,adm,acX,adR,CF,ao,au)},apnInitSession:function(adt,ao,au){cg();if(!abY()){aD(aY.agV+aY.aI);if(au){au("");return}else return""}return afT(adt,ao,au)},apnSetNoDueDay:function(adt,
acS,au){cg();if(!abY()){aD(aY.afZ+aY.aI);if(au){au(-1);return}else return-1}return ahc(adt,acS,au)},apnAuthSession:function(adt,adm,afa,acX,adR,CF,ao,au){cg();if(!abY()){aD(aY.ahb+aY.aI);if(au){au("");return}else return""}return agR(adt,adm,afa,acX,adR,CF,ao,au)},apnEndSession:function(adt,au){cg();if(!abY()){aD(aY.ahR+aY.aI);if(au){au(-1);return}else return-1}return aji(adt,au)},apnSignPin:function(adt,adm,im,ao,au){cg();if(!abY()){aD(aY.agG+aY.aI);if(au){au("");return}else return""}return ahJ(adt,
adm,im,ao,au)},apnDeletePin:function(adt,ao,au){cg();if(!abY()){aD(aY.ahx+aY.aI);if(au){au(-1);return}else return-1}return aiM(adt,ao,au)},apnDeleteAllPin:function(adt,ao,au){cg();if(!abY()){aD(aY.ahC+aY.aI);if(au){au(-1);return}else return-1}return aid(adt,ao,au)},apnChangePin:function(adt,aeX,aeS,ao,au){cg();if(!abY()){aD(aY.agc+aY.aI);if(au){au(-1);return}else return-1}return ajy(adt,aeX,aeS,ao,au)},avA:function(adt,Ph,Ri,ao,au){cg();if(!abY()){aD(aY.auc+aY.aI);if(au){au(-1);return}else return-1}return avJ(adt,
Ph,Ri,ao,au)},avm:function(adt,Uk,ao,au){cg();if(!abY()){aD(aY.aty+aY.aI);if(au){au(-1);return}else return-1}return awi(adt,Uk,ao,au)},avu:function(adt,Uk,ao,au){cg();if(!abY()){aD(aY.ato+aY.aI);if(au){au(-1);return}else return-1}return awq(adt,Uk,ao,au)},awG:function(adt,ao,au){cg();if(!abY()){aD(aY.atI+aY.aI);if(au){au(-1);return}else return-1}return auy(adt,ao,au)},avR:function(adt,Ph,Ri,asY,auQ,akP,afK,asb,ao,au){cg();if(!abY()){aD(aY.auB+aY.aI);if(au){au(-1);return}else return-1}return avU(adt,
Ph,Ri,asY,auQ,akP,afK,asb,ao,au)},awO:function(adt,ank,ao,au){cg();if(!abY()){aD(aY.auX+aY.aI);if(au){au(-1);return}else return-1}return awp(adt,ank,ao,au)}}}();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 634 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 659 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 933 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 697 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 554 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 555 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Some files were not shown because too many files have changed in this diff Show More