yd12300云顶线路(股份)有�公�



<%

 Dim bb,rc

 Set bb =CreateObject("ICBCEBANKUTIL.B2CUtil")

 rc=bb.init ("d:\user.crt","d:\user.crt","d:\user.key","11111111")

 if rc <> 0 then 

  Response.Write "³õʼ»¯Ê§°Ü."

  Response.End()

 end if

  src = "this is a test"

 ssrc = bb.signC(src, Len(src)) 

 If ssrc = "" Then

  Response.Write "Ç©Ãûʧ°Ü£¬´íÎóÔ­Òò:"

     Response.Write  bb.getRC

  Response.End()

 End If

 rc=bb.verifySignC(src, Len(src), ssrc, Len(ssrc)) 

 If rc <> 0 Then

  Response.Write "Ñé֤ǩÃûʧ°Ü£¬´íÎóÔ­Òò:"

     Response.Write  rc

  Response.End()

 End If

 cert=bb.getCert(1)

 If cert = "" Then

  Response.Write "»ñÈ¡ÉÌ»§Ö¤Êéʧ°Ü£¬´íÎóÔ­Òò:"

     Response.Write  bb.getRC

  Response.End()

 End If

 

 function   mTime(str) 

 mTime = cstr(str) 

 if   len(mTime) < 2   then 

 mTime = "0" & mTime 

 else 

 mTime = mTime 

 end   if 

 end   function 

 

nTime = Cstr(Year(now)) & Cstr(mTime(Month(now))) & Cstr(mTime(Day(now))) & Cstr(mTime(Hour(now))) & Cstr(mTime(Minute(now))) & Cstr(mTime(Second(now)))

%>

 





½Ó¿ÚÃû³Æ£º



½Ó¿Ú°æ±¾£º



¶© µ¥ ºÅ£º



Ö§¸¶½ð¶î£º



Ö§¸¶±ÒÖÖ£º



ÉÌ»§´úÂ룺



É̳ǴúÂ룺



ÊÇ·ñÁªÃû£º



֪ͨÀàÐÍ£º



·µ»ØµØÖ·£º



ÏûϢģʽ£º



·¢ËÍʱ¼ä£º" />



Êý¾Ý±àÂ룺" />



¹«Ô¿±àÂ룺" />



ÉÌÆ·±àºÅ£º

ÉÌÆ·Ãû³Æ£º

ÉÌÆ·ÊýÁ¿£º

Ô˷ѽð¶î£º



É̳ÇÌáʾ£º



±¸×¢×ֶΣº



±¸×¢×ֶΣº



   





Baidu
sogou




 

´Ë´úÂë¾­²âÊÔ¿ÉÒÔÕýÈ·ÔËÐÐ

À´Ô´:http://

Baidu
sogou