ants.p2p.messages
Class SecurityRequestMessage

java.lang.Object
  extended by ants.p2p.Message
      extended by ants.p2p.messages.SecurityRequestMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class SecurityRequestMessage
extends Message

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ants.p2p.Message
dest
 
Constructor Summary
SecurityRequestMessage(java.math.BigInteger skip1024Modulus, java.math.BigInteger skip1024Base, java.security.PublicKey requirerPubKey)
           
SecurityRequestMessage(Message m, java.math.BigInteger skip1024Modulus, java.math.BigInteger skip1024Base, java.security.PublicKey requirerPubKey)
           
 
Method Summary
 java.math.BigInteger getG()
           
 java.math.BigInteger getP()
           
 java.security.PublicKey getRequirerPubkey()
           
 
Methods inherited from class ants.p2p.Message
decrypt, disableAutoRetransmit, encrypt, equals, fillMessageProperties, getAck_Id, getDelivered, getDest, getPublicKey, getRetrasmissions, getSignableMessage, getSignature, getSource, getSourceAddress, getType, getVersion, invalidate, resetDelivered, resetDest, resetSource, retrasmitted, setDelivered, setPublicKey, setSignature
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRequestMessage

public SecurityRequestMessage(Message m,
                              java.math.BigInteger skip1024Modulus,
                              java.math.BigInteger skip1024Base,
                              java.security.PublicKey requirerPubKey)

SecurityRequestMessage

public SecurityRequestMessage(java.math.BigInteger skip1024Modulus,
                              java.math.BigInteger skip1024Base,
                              java.security.PublicKey requirerPubKey)
Method Detail

getG

public java.math.BigInteger getG()

getP

public java.math.BigInteger getP()

getRequirerPubkey

public java.security.PublicKey getRequirerPubkey()
                                          throws java.lang.Exception
Throws:
java.lang.Exception