Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Next, input the signature bytes from the file specified as the second command line argument.Now the byte arrayFileInputStream sigfis = new FileInputStream(args[1]); byte[] sigToVerify = new byte[sigfis.available()]; sigfis.read(sigToVerify); sigfis.close();sigToVerify
contains the signature bytes.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2004 Sun Microsystems, Inc. All rights reserved.