![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java 技术
文章平均质量分 93
L422388158
这个作者很懒,什么都没留下…
展开
-
sftp免密登录
public class LogInSftpByPubKey { private static final Logger logger=LoggerFactory.getLogger(AuthSftpByPubKey.class); /**session 超时时间 1分钟**/ private static final int SESSION_TIME_OUT=60000;//6原创 2016-05-06 10:32:37 · 3559 阅读 · 0 评论 -
socket通讯
private String sendMsg(String serverIP, int serverPort, String reqMsg,String TxnCod) { if (StringUtils.isEmpty(reqMsg)) { LOGGER.info("被发送消息不能为空!"); return null; } Socket socket = nul原创 2016-06-24 10:48:28 · 360 阅读 · 0 评论 -
md5WithRSA
/** * 方法说明: * 获取指定公钥和私钥 * * @return String[] * @throws Exception */ public static String[] getKeyByJava() throws Exception { String[] retKey = new String[2]; Security.ad原创 2016-11-13 10:37:59 · 3199 阅读 · 0 评论