File tree 1 file changed +46
-0
lines changed
1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout: default
3
+ title: Certification
4
+ permalink: /certification
5
+ ---
6
+
7
+
8
+ < head >
9
+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/jsrsasign/11.1.0/jsrsasign-all-min.js "
10
+ integrity ="sha512-Eu9j+HZBor7muHf6IDWoWZ8FKVr6nKe9eIIVR28NEte4Y4GiYRlke26XGdR/re81XE/FfLoLYYVkvNk5GY9RvQ== "
11
+ crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
12
+
13
+ <!-- my js -->
14
+ < script src ="https://cmsong111.github.io/Digital-Signature-Certification-Generator/assets/js/signature.js "> </ script >
15
+
16
+ < script >
17
+ const url = new URL ( window . location ) ;
18
+ const jwsCode = url . searchParams . get ( "code" ) ;
19
+ loadRSAKeyPair ( ) ;
20
+ parseJWS ( ) ;
21
+ </ script >
22
+
23
+
24
+
25
+ </ head >
26
+
27
+ < input type ="hidden " id ="publicKey " value ="{{ jekyll.rss_pss_public_key }} ">
28
+
29
+
30
+
31
+ <!-- Json 파싱 결과 -->
32
+ < div class ="mb-3 ">
33
+ < label for ="payload " class ="form-label "> Payload</ label >
34
+ < textarea id ="payload " class ="form-control " rows ="5 " placeholder ="payload " readonly > </ textarea >
35
+ </ div >
36
+
37
+ < div class ="mb-3 ">
38
+ < button id ="parse_result " class ="btn btn-secondary "> 검증 결과
39
+ </ div >
40
+
41
+ < div id ="download_area " class ="d-none ">
42
+ <!--팝업창 띄우기 -->
43
+ < button type ="button " class ="btn btn-primary " id ="download "
44
+ onclick ="window.open('https://cmsong111.github.io/Digital-Signature-Certification-Generator/gen_cert?data=' + document.getElementById('payload').value, '_blank' ); ">
45
+ < i class ="bi bi-download "> </ i > 인증서/상장 다운로드
46
+ </ div >
You can’t perform that action at this time.
0 commit comments