com.limegroup.gnutella.updates
Class UpdateMessageVerifier

java.lang.Object
  extended bycom.limegroup.gnutella.updates.UpdateMessageVerifier

public class UpdateMessageVerifier
extends java.lang.Object

Provides static methods, which accept an InputStream and use the LimeWire public key to verify that the contents are authentic.


Constructor Summary
UpdateMessageVerifier(byte[] fromStream)
           
 
Method Summary
 byte[] getMessageBytes()
           
 boolean verifySource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateMessageVerifier

public UpdateMessageVerifier(byte[] fromStream)
Method Detail

verifySource

public boolean verifySource()

getMessageBytes

public byte[] getMessageBytes()
                       throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException