Pastebin

Paste #200:

< previous paste - next paste>

Pasted by writecertificate

Download View as text

package utils;

import java.io.*;



public class writeCertificate {

	

	public void writeCert(String ID, int publicKey, String URI){

		

		byte[] IDbytes = ID.getBytes();

		

		String signature = encode(IDbytes,publicKey);

		

		

		 try {

		        BufferedWriter out = new BufferedWriter(new FileWriter(URI));

		        out.write("aString");

		        out.close();

		    } catch (IOException e) {

		    }

		



		

		

		

	}



}

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.