CINXE.COM

Hisecure程式開發套件-首頁

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="zh-TW" xmlns="http://www.w3.org/1999/xhtml"> <title>Hisecure程式開發套件-首頁</title> <link href="/hisecure/css/global.css?version=1715559561046" rel="stylesheet" type="text/css" /> <link href="/hisecure/css/index.css" rel="stylesheet" type="text/css" /> <link href="/hisecure/image/logo.ico" rel="icon" /> <meta http-equiv="X-UA-Compatible" content="IE=EDGE" charset="utf-8"/> <!-- 20160803 IE相容性設定 modified by Darren begin --> <!-- 20160318 跨瀏覽器API modified by Darren begin --> <script type="text/javascript" src="/hisecure/js/errorcode.js"></script> <!-- <SCRIPT type="text/javascript"> </script> --> <script type="text/javascript" src="/hisecure/js/jquery-1.4.2.min.js" > <script type="text/javascript" src="/hisecure/js/error.js" ></script> <!-- 20160318 跨瀏覽器API modified by Darren end --> <script type="text/javascript"> function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } // 20160318 跨瀏覽器API modified by Darren begin var postTarget; var timeoutId; function postData(target,data) { http.url=target; http.actionMethod="POST"; var code=http.sendRequest(data); if(code!=0) return null; return http.responseText; } function checkFinish(){ if(postTarget){ postTarget.close(); alert("尚未安裝元件"); } } function makeSignature() { var ua = window.navigator.userAgent; if(ua.indexOf("MSIE")!=-1 || ua.indexOf("Trident")!=-1) //is IE, use ActiveX { var tbsPackage=getTbsPackage(); document.getElementById("httpObject").innerHTML='<OBJECT id="http" width=1 height=1 style="LEFT: 1px; TOP: 1px" type="application/x-httpcomponent" VIEWASTEXT></OBJECT>'; var data=postData("http://localhost:61161/sign","tbsPackage="+tbsPackage); if(!data) alert("尚未安裝元件"); else setSignature(data); } else{ postTarget=window.open("http://localhost:61161/popupForm", "Signing","height=200, width=200, left=100, top=20"); timeoutId=setTimeout(checkFinish,3500); } } function getTbsPackage(){ var tbsData = {}; var nonce="3723D9541D1C1D0A188DCA548CAC5948"; tbsData["tbs"]="<TBS><AAData></AAData></TBS>"; tbsData["hashAlgorithm"]="SHA1"; tbsData["withCardSN"]="true"; tbsData["pin"]=document.getElementById("password").value;//修改抓取PIN code方式 tbsData["nonce"]="3723D9541D1C1D0A188DCA548CAC5948"; tbsData["func"]="MakeSignature"; tbsData["signatureType"]="PKCS7"; var json = JSON.stringify(tbsData ); return json; } function setSignature(signature) { var ret=JSON.parse(signature); document.getElementById("base64Cred").value=ret.signature; document.getElementById("base64Data").value=ret.signature; if(ret.ret_code!=0){ alert(MajorErrorReason(ret.ret_code)); }else{ document.getElementById("DemoForm").submit(); } } function receiveMessage(event) { if(console) console.debug(event); //安全起見,這邊應填入網站位址檢查 if(event.origin!="http://localhost:61161") return; try{ var ret = JSON.parse(event.data); if(ret.func){ if(ret.func=="getTbs"){ clearTimeout(timeoutId); var json=getTbsPackage(); postTarget.postMessage(json,"*"); }else if(ret.func=="sign"){ setSignature(event.data); } }else{ if(console) console.error("no func"); } }catch(e){ //errorhandle if(console) console.error(e); } } if (window.addEventListener) { window.addEventListener("message", receiveMessage, false); }else { //for IE8 window.attachEvent("onmessage", receiveMessage); } //for IE8 var console=console||{"log":function(){}, "debug":function(){}, "error":function(){}}; // 20160318 跨瀏覽器API modified by Darren end </script> <script> $(document).ready(function () { //onInit(); 20160318 跨瀏覽器API modified by Darren $('input[name="type"]').click(function(){ if($(this).val() == '0'){ $('#useAccount').show(); $('#usePassword').html('密碼'); } else if ($(this).val() == '1'){ $('#useAccount').hide(); $('#usePassword').html('PIN'); } }); }); /* 20160318 跨瀏覽器API modified by Darren var gSClient = null; function onInit(){ gSClient = new SecurityClient(); gSClient.onInited = onInited; gSClient.init(); }*/ function onInited(code) { if(code != 0) { alert(getErrorMessage(code)); return; } /** 20160318 跨瀏覽器API modified by Darren $("#login").bind("click", function () {submitCert();}); $("#reset").bind("click", function () {reset();}); $("#cancel").bind("click", function () {}); **/ } function submitCert() { makeSignature(); //20160803 無法登入 modified by Darren /* 20160318 跨瀏覽器API modified by Darren if($('input[name=type]:checked').val() == '0'){ sendForm(); } else if($('input[name=type]:checked').val() == '1'){ var code = gSClient.validatePinCode(' ', $("#password").val()); if(code != 0) { alert("登入失敗 : " + getErrorMessage(code)); return; } $("#cardType").val(gSClient.getCardType()); $("#bstrSubjectAltName").val(gSClient.getCardName()); $("#bstrCertSN").val(gSClient.getCardSn().toLowerCase()); $("#command").submit();//可以往上丟 } else { alert('請選擇登入方式!'); return; }*/ } function reset() { $("#idnBan").val(""); $("#pinCode").val(""); } function sendForm(){ $('#command').submit(); } </script> </head> <body> <span id="httpObject" ></span> <!-- 20160728 IE error 跨瀏覽器API modified by Darren --> <noscript> <div class="not-support-javascript"> <p>您目前的瀏覽方式不支援JavaScript,將有部分功能無法正常使用。 <br/>建議您使用支援JavaScript的方式瀏覽,以提升使用體驗。</p> </div> </noscript> <div id="pagesize"> <div id="header"> <a href="#keyC" class="sr-only" title="跳到主要內容區塊" tabindex="1">跳到主要內容區塊</a> <h2 class="logo"><a href="/hisecure/index.do" title="前往首頁" style="color: transparent;">首頁</a></h2> <ul> <a href="#keyN" name="keyN" id="navigator" accesskey="N" title="上方導覽列">:::</a> <li><a class="nav-items" href="/hisecure/sitemap.do" title="前往網站導覽">網站導覽</a></li> <li><a class="nav-items" href="/hisecure/news/news.do?type=1" title="前往訊息公告">訊息公告</a></li> <li><a class="nav-items" href="/hisecure/product/no1.do" title="前往產品介紹">產品介紹</a></li> <li><a class="nav-items" href="/hisecure/download/list.do" title="前往下載專區">下載專區</a></li> <li><a class="nav-items" href="/hisecure/fault/edit.do" title="前往我要申告">我要申告</a></li> <li><a class="nav-items" href="/hisecure/error/error.do" title="前往錯誤代碼">錯誤代碼</a></li> <li><a class="nav-items" href="/hisecure/teachingFile/list.do" title="前往教學專區">教學專區</a></li> <li><a class="nav-items" href="/hisecure/join/add.do" title="前往申請註冊">申請註冊</a></li> <li><a class="nav-items" href="/hisecure/question/list.do" title="前往問與答">問與答</a></li> </ul> </div> <div id="content"> <div class="LeftSet"> <form id="DemoForm" action="/hisecure/loginSave.do" method="post"> <a href="#keyL" name="keyL" id="aside-function-index" accesskey="L" title="側邊功能選單">:::</a> <div class="member"> <ul class="choose"> <li><input type="radio" name="type" value="1" checked="checked" style="display:none" title="選擇身分"/></li> <div class="clr"></div> </ul> <ul class="account"> <!-- 20160318 跨瀏覽器API modified by Darren --> <!-- <li id="useAccount">帳號 <input id="account" name="account" type="text" value=""/></li>--> <li></li> <li><span id="usePassword"><label for="password">PIN</label></span><input id="password" name="password" type="password" value=""/></li> </ul> <div class="tCenter"> <a href="#" onclick="submitCert()" role="button" title="登入會員"><span class="functionBtn">登入</span></a> </div> </div> <!-- 20161102 fix by Darren 因跨瀏覽器移除此元件,此元件僅能IE使用 <object id="CHTSClient" type="application/vnd.ms-cab-compressed" classid="clsid:D7D87BA8-3526-40AF-A8F0-9B44E64177C7" codebase="/hisecure/js/plugin/CHTSecurityClient.cab;jsessionid=3723D9541D1C1D0A188DCA548CAC5948#Version=1,6,0,520" VIEWASTEXT> </object>--> <input type="hidden" id="sid" name="sid" value="3723D9541D1C1D0A188DCA548CAC5948" /> <input type="hidden" id="base64Cred" name="base64Cred" /> <input type="hidden" id="base64Data" name="base64Data" /> <input type="hidden" id="redirectUrl" name="redirectUrl" value="" /> <input type="hidden" id="cardType" name="cardType" /> <input type="hidden" id="bstrCertSN" name="bstrCertSN" /> <input type="hidden" id="bstrSubjectAltName" name="bstrSubjectAltName" /> </form> <div class="newman"> <h2><img src="/hisecure/image/newman_10.jpg" alt="新手專區"/></h2> <div class="logoicon"> <img src="/hisecure/image/icon01.gif" alt=""/> <img src="/hisecure/image/icon02.gif" alt=""/> <img src="/hisecure/image/icon03.gif" alt=""/> </div> </div> <div class="hot5"> <h2>熱門問答 HOT5</h2> <ul> <li class="hot01"><a href="/hisecure/question/list.do#1" title="前往查看教學專區的影片檔無法正常觀看顯示出&#034;已不再支援 Adobe Flash Player&#034;">教學專區的影片檔無法正常觀看顯示出&#034;已不再支援 Adobe Flash Player&#034;</a></li> <li class="hot02"><a href="/hisecure/question/list.do#2" title="前往查看請問Hisecure 需要費用嗎?">請問Hisecure 需要費用嗎?</a></li> <li class="hot03"><a href="/hisecure/question/list.do#3" title="前往查看Hisecure程式開發套件會員,能修改會員資料嗎? ">Hisecure程式開發套件會員,能修改會員資料嗎? </a></li> <li class="hot04"><a href="/hisecure/question/list.do#4" title="前往查看點選壓縮圖示無法下載資料">點選壓縮圖示無法下載資料</a></li> <li class="hot05"><a href="/hisecure/question/list.do#5" title="前往查看申請註冊會員或登入時,輸入卡片PIN碼後,按下送出鍵卻沒有反應?">申請註冊會員或登入時,輸入卡片PIN碼後,按下送出鍵卻沒有反應?</a></li> </ul> </div> </div> <div class="RightSet"> <div class="view"></div> <div class="news"> <a href="#keyC" name="keyC" id="brick-center" style="position: absolute; z-index: 10;" accesskey="C" title="主要內容">:::</a> <h2><a href="/hisecure/news/news.do?type=1" title="查看更多最新消息">+more</a></h2> <ul> <li><span class="fR">2023/03/22</span><a href="/hisecure/news/newsin.do?id=18706dd255700000f699842321dbd972" title="前往查看行動自然人開放部分原始碼">ㆍ行動自然人開放部分原始碼</a></li> <li><span class="fR">2022/12/30</span><a href="/hisecure/news/newsin.do?id=185611334c900000a103ed7bda04c2cb" title="前往查看提供新版跨平台ChtICToken.js">ㆍ提供新版跨平台ChtICToken.js</a></li> <li><span class="fR">2022/08/24</span><a href="/hisecure/news/newsin.do?id=182cd6272d3000002701947a1ca8e25b" title="前往查看自然人憑證NFC讀卡元件停止更新">ㆍ自然人憑證NFC讀卡元件停止更新</a></li> <li><span class="fR">2022/01/27</span><a href="/hisecure/news/newsin.do?id=17e9adb367f00000e5d191308daf1653" title="前往查看更新ICS API身分認證服務函式庫">ㆍ更新ICS API身分認證服務函式庫</a></li> <li><span class="fR">2022/01/27</span><a href="/hisecure/news/newsin.do?id=17e9ad413590000015be16109cc222c7" title="前往查看更新身分確認服務系統C語言程式庫">ㆍ更新身分確認服務系統C語言程式庫</a></li> <li><span class="fR">2022/01/07</span><a href="/hisecure/news/newsin.do?id=17e32568a2f00000b2ea7783fbddf029" title="前往查看自然人行動NFC讀卡PKCS11(停止更新)">ㆍ自然人行動NFC讀卡PKCS11(停止更新)</a></li> <li><span class="fR">2021/01/28</span><a href="/hisecure/news/newsin.do?id=177481d1e5300000cc174c4f95e9da35" title="前往查看更新New eID測試版相關API上架">ㆍ更新New eID測試版相關API上架</a></li> </ul> </div> <div class="mov"> <div class="box"><a href="/hisecure/teachingVedio/list.do" title="前往教學專區的影片檔頁面" style="color: transparent;"><img src="/hisecure/image/demo.jpg" alt=""/>教學專區</a></div> </div> <div class="clr"></div> <div class="banner"> <ul> </ul> </div> </div> <div class="clr"></div> </div> <div class="clr"></div> <div id="footer"> <div class="top-zone"> <div class="logo"> <a href="#keyZ" name="keyZ" id="footer-accesskey" accesskey="Z" title="網頁底部區">:::</a> <a href="/hisecure/index.do" title="前往首頁"> <img src="/hisecure/image/logo.png" alt="logo" id="logo"> </a> <a href="https://accessibility.moda.gov.tw/Applications/Detail?category=20240508145326" target="_blank" title="(另開新視窗)前往無障礙網站"> <img src="/hisecure/image/accessibility_badge_A.png" style="vertical-align: middle;" border="0" width="88" height="31" alt="通過A無障礙網頁檢測" /> </a> </div> <div class="contact"> <div class="list"> <span class="title">API技術客服中心</span> <ul> <li>服務時間:09:00 - 18:00 (週一至週五 國定例假日除外)</li> <li>服務信箱:<a href="mailto: hisecure6@cht.com.tw" title="開啟郵件服務聯繫客服">hisecure6@cht.com.tw</a></li> <li>服務專線:02-2192-2918</li> </ul> </div> <div class="list"> <span class="title">New eID技術服務中心</span> <ul> <li>服務時間:08:30 - 17:30 (週一至週五 國定例假日除外)</li> <li>服務專線:02-8978-7629</li> </ul> </div> </div> </div> <div class="bottom-zone"> <span>中華電信資訊技術分公司版權所有 © 2010 HiNet Internet Service by Chunghwa Telecom All Right Reserved</span> </div> </div> </div> <script> </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10