lxw
2020-07-11 9db52f2f2dd3665fe9da1ae5657e0167c3a34d40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.fgkj.actions;
 
import com.fgkj.actions.ActionUtil;
import com.fgkj.chat.impl.tls_sigature_impl;
import com.fgkj.dto.User_inf;
 
public class Tls_sigatureAction extends ActionUtil{
    private tls_sigature_impl service=new tls_sigature_impl();
    private String result;
    private String Uname;
    
    public String testUserSig(){
        //System.out.println(333777);
          User_inf uinf = (User_inf)getUser();
          Uname=uinf.getUName();
         // System.out.println(Uname);
          result=service.genAndVerify(Uname);
         // System.out.println(result);
         // System.out.println(323232);
      return SUCCESS;
    }
//    public void setUinf(String uinf) {
//        this.uinf = uinf;
//    }
//    public String getUinf(){
//        return uinf;
//    }
    public void setResult(String result){
        this.result = result;
    }
    public String getResult(){
        return result;
    }
    public void setUname(String Uname) {
        this.Uname= Uname;
    }
    public String getUname(){
        return Uname;
    }
        
}