package com.miaxis.common.sign;

import java.security.PrivateKey;

public interface ISign {
	public String sign(String data, long timestamp, PrivateKey key) throws Exception;
	public String sign(String data, PrivateKey key) throws Exception;
	public String sign(byte[] data, PrivateKey key) throws Exception;
	public String sign(byte[] data, long timestamp, PrivateKey key) throws Exception;
}
