public static void main(String[] args) { try { String name = \"i love my country\"; byte[] sigToVerify = name.getBytes(); System.out.println(
try printing out the contents of the byte array instead of the toString() result of the variable
for(byte b : sigToVerify) System.out.print(b +"\t");
if the bytes getting printed are the same, then you're good to go.