clean up weird tabs, etc

This commit is contained in:
Glenn Maynard
2005-05-20 02:45:21 +00:00
parent 25979e1c58
commit 1640cd4ff0
@@ -51,16 +51,15 @@ public class VerifySignature
try try
{ {
// Read key files back and decode them from BASE64 // Read key files back and decode them from BASE64
byte[] publicKeyBytes = readKeyBytesFromFile(publickey_fn); byte[] publicKeyBytes = readKeyBytesFromFile(publickey_fn);
// Convert back to public and private key objects // Convert back to public and private key objects
KeyFactory keyFactory = KeyFactory.getInstance("RSA"); KeyFactory keyFactory = KeyFactory.getInstance("RSA");
EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(publicKeyBytes); EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(publicKeyBytes);
publicKey = keyFactory.generatePublic(publicKeySpec); publicKey = keyFactory.generatePublic(publicKeySpec);
} }
catch (IOException io) { catch (IOException io) {
System.out.println( System.out.println( "Public/Private key file not found."+ io.getCause() );
"Public/Private key file not found."+ io.getCause());
} }
catch (InvalidKeySpecException e) { catch (InvalidKeySpecException e) {
System.out.println( "Invalid Key Specs. Not valid key files."+ e.getCause() ); System.out.println( "Invalid Key Specs. Not valid key files."+ e.getCause() );