Skip to content

Commit

Permalink
미리보기 키로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyice committed Nov 10, 2020
1 parent 02c2fc6 commit f2e0a22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/OpenNetLinkApp/Pages/Transfer/ApprovePopUp.razor
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,10 @@
int nOffSet = shasum / 128;
string stCert = stCrt.Replace("\r", "").Replace("\n", "");
string cert_enc_key = stCert.Substring(nOffSet, 128);
CLog.Information("인증서 추출키:" + cert_enc_key);
string stBase64 = Convert.ToBase64String(Encoding.UTF8.GetBytes(cert_enc_key)).Substring(0, 16);
CLog.Information("인증서 추출키 BASE64:" + stBase64);

string stLawparam = stSelectedSeq + "|" + stSelectedFileNo + "|" + stSelectedFileName + "|" + stSelectedEncKey;
string finalData = AESEncrypt256(stLawparam, stBase64);
string stParam = HttpUtility.UrlEncode(finalData);
Expand Down

0 comments on commit f2e0a22

Please sign in to comment.