import android.app.*;
import android.content.*;
import android.content.res.*;
import android.net.*;
import android.os.*;
import android.util.*;
import java.io.*;
import java.security.*;
import java.security.cert.*;
import java.util.*;
import java.util.zip.*;
import javax.security.cert.*;
import java.security.cert.X509Certificate;
import javax.security.cert.CertificateEncodingException;
import javax.crypto.*;
import javax.crypto.spec.*;/*
import org.bouncycastle.jce.provider.*;
import org.bouncycastle.crypto.paddings.*;*/
import java.math.*;
class 文件处理{
public static byte[] 从文件地址输出数据(String url){
byte[] jieguo=null;
try{
FileInputStream fin=new FileInputStream(url);
int length =fin.available();
jieguo=new byte[length];
fin.read(jieguo);
fin.close();
}
catch
(Exception e){
e.printStackTrace();
}
return jieguo;
}
}
网友评论