public class RSAEncrypt extends Object
static String
KEY_ALGORITHM
SIGNATURE_ALGORITHM
RSAEncrypt()
static boolean
checkSign(String content, String charset, String sign)
encode(String input, String charset, byte[] privatekeys)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String KEY_ALGORITHM
public static final String SIGNATURE_ALGORITHM
public RSAEncrypt()
public static String encode(String input, String charset, byte[] privatekeys) throws Exception
input
charset
privatekeys
Exception
public static boolean checkSign(String content, String charset, String sign) throws Exception
content
sign
Copyright © 2013 Xunlei Networking Technologies. All rights reserved.