ants.p2p.messages.security
Class MessageSigner
java.lang.Object
ants.p2p.messages.security.MessageSigner
public class MessageSigner
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sizeLimits
public static final long[] sizeLimits
sign
public void sign(Message m)
throws java.lang.Exception
- Throws:
java.lang.Exception
getInstance
public static MessageSigner getInstance()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPublicKey
public java.lang.String getPublicKey()
verifySignature
public boolean verifySignature(Message m,
java.lang.String Y)
throws java.lang.Exception
- Throws:
java.lang.Exception
verifySize
public boolean verifySize(Message m)
throws java.lang.Exception
- Throws:
java.lang.Exception