org.torproject.jtor.hiddenservice
Class RendezvousPoint

java.lang.Object
  extended by org.torproject.jtor.hiddenservice.RendezvousPoint

public class RendezvousPoint
extends java.lang.Object

The Class RendezvousPoint.


Constructor Summary
RendezvousPoint(org.torproject.jtor.data.IPv4Address ipAddress, int onionPort, org.torproject.jtor.crypto.TorPublicKey serviceKey)
          Instantiates a new rendezvous point.
RendezvousPoint(org.torproject.jtor.crypto.TorPublicKey onionKey)
          Instantiates a new rendezvous point.
 
Method Summary
 byte[] getAuthData()
          Gets the auth data.
 java.lang.String getAuthType()
          Gets the auth type.
 byte[] getIdentifier()
          Gets the identifier.
 org.torproject.jtor.data.IPv4Address getIpAddress()
          Gets the ip address.
 org.torproject.jtor.crypto.TorPublicKey getOnionKey()
          Gets the onion key.
 int getOnionPort()
          Gets the onion port.
 byte[] getRendezvousCookie()
          Gets the rendezvous cookie.
 org.torproject.jtor.crypto.TorPublicKey getServiceKey()
          Gets the service key.
 void setIpAddress(org.torproject.jtor.data.IPv4Address ipAddress)
          Sets the ip address.
 void setOnionKey(org.torproject.jtor.crypto.TorPublicKey onionKey)
          Sets the onion key.
 void setOnionPort(int onionPort)
          Sets the onion port.
 void setRendezvousCookie(byte[] rendezvousCookie)
          Sets the rendezvous cookie.
 void setServiceKey(org.torproject.jtor.crypto.TorPublicKey serviceKey)
          Sets the service key.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendezvousPoint

public RendezvousPoint(org.torproject.jtor.data.IPv4Address ipAddress,
                       int onionPort,
                       org.torproject.jtor.crypto.TorPublicKey serviceKey)
Instantiates a new rendezvous point.

Parameters:
ipAddress - the ip address
onionPort - the onion port
serviceKey - the service key

RendezvousPoint

public RendezvousPoint(org.torproject.jtor.crypto.TorPublicKey onionKey)
Instantiates a new rendezvous point.

Parameters:
onionKey - the onion key
Method Detail

getOnionPort

public int getOnionPort()
Gets the onion port.

Returns:
the onion port

setOnionPort

public void setOnionPort(int onionPort)
Sets the onion port.

Parameters:
onionPort - the new onion port

getOnionKey

public org.torproject.jtor.crypto.TorPublicKey getOnionKey()
Gets the onion key.

Returns:
the onion key

setOnionKey

public void setOnionKey(org.torproject.jtor.crypto.TorPublicKey onionKey)
Sets the onion key.

Parameters:
onionKey - the new onion key

getServiceKey

public org.torproject.jtor.crypto.TorPublicKey getServiceKey()
Gets the service key.

Returns:
the service key

setServiceKey

public void setServiceKey(org.torproject.jtor.crypto.TorPublicKey serviceKey)
Sets the service key.

Parameters:
serviceKey - the new service key

getRendezvousCookie

public byte[] getRendezvousCookie()
Gets the rendezvous cookie.

Returns:
the rendezvous cookie

setRendezvousCookie

public void setRendezvousCookie(byte[] rendezvousCookie)
Sets the rendezvous cookie.

Parameters:
rendezvousCookie - the new rendezvous cookie

getIpAddress

public org.torproject.jtor.data.IPv4Address getIpAddress()
Gets the ip address.

Returns:
the ip address

setIpAddress

public void setIpAddress(org.torproject.jtor.data.IPv4Address ipAddress)
Sets the ip address.

Parameters:
ipAddress - the new ip address

getAuthType

public java.lang.String getAuthType()
Gets the auth type.

Returns:
the auth type

getAuthData

public byte[] getAuthData()
Gets the auth data.

Returns:
the auth data

getIdentifier

public byte[] getIdentifier()
Gets the identifier.

Returns:
the identifier