|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.mixminion.mmrdescription.MMRDescription
public class MMRDescription
Field Summary | |
---|---|
private java.lang.String |
m_address
|
private boolean |
m_allowsFragmened
|
private byte[] |
m_digest
|
private MyRSAPublicKey |
m_IdentityKey
|
private boolean |
m_isExitNode
|
private byte[] |
m_keydigest
|
private java.lang.String |
m_name
|
private MyRSAPublicKey |
m_PacketKey
|
private int |
m_port
|
private java.text.SimpleDateFormat |
m_published
|
private java.lang.String |
m_software
|
private static java.lang.String |
m_time
|
Constructor Summary | |
---|---|
MMRDescription(java.lang.String address,
java.lang.String name,
int port,
byte[] digest,
byte[] keydigest,
boolean exit,
boolean fragmented,
java.lang.String software,
java.text.SimpleDateFormat published)
|
Method Summary | |
---|---|
boolean |
allowsFragmented()
|
java.lang.String |
getAddress()
gets the address of the MMR |
byte[] |
getDigest()
gets the digest |
static ExitInformation |
getExitInformation(java.lang.String[] email,
byte[] decodinghandle)
|
MyRSAPublicKey |
getIdentityKey()
gets the IdentityKey |
byte[] |
getKeyDigest()
gets the keydigest |
java.lang.String |
getName()
gets the name of the MMR |
MyRSAPublicKey |
getPacketKey()
gets the signing key |
int |
getPort()
gets the port |
java.text.SimpleDateFormat |
getPublished()
|
RoutingInformation |
getRoutingInformation()
gets the Routing Informations of this MMR |
java.lang.String |
getSoftwareVersion()
|
boolean |
isExitNode()
returns if this server is an exit node |
static MMRDescription |
parse(java.io.LineNumberReader reader)
Tries to parse an router specification according to the desing document. |
boolean |
setIdentityKey(byte[] identitykey)
sets the IdentityKey for this MMR |
boolean |
setPacketKey(byte[] packetKey)
sets the Packet key |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.lang.String m_address
private java.lang.String m_name
private int m_port
private MyRSAPublicKey m_IdentityKey
private MyRSAPublicKey m_PacketKey
private byte[] m_digest
private byte[] m_keydigest
private boolean m_isExitNode
private boolean m_allowsFragmened
private java.lang.String m_software
private java.text.SimpleDateFormat m_published
private static java.lang.String m_time
Constructor Detail |
---|
public MMRDescription(java.lang.String address, java.lang.String name, int port, byte[] digest, byte[] keydigest, boolean exit, boolean fragmented, java.lang.String software, java.text.SimpleDateFormat published)
address
- name
- port
- digest
- keydigest
- exit
- Method Detail |
---|
public boolean setIdentityKey(byte[] identitykey)
IdentityKey
- IdentityKey
public MyRSAPublicKey getIdentityKey()
public java.text.SimpleDateFormat getPublished()
public boolean setPacketKey(byte[] packetKey)
packetkey
- packetKey
public MyRSAPublicKey getPacketKey()
public byte[] getDigest()
public byte[] getKeyDigest()
public boolean isExitNode()
public boolean allowsFragmented()
public java.lang.String getAddress()
public java.lang.String getName()
public int getPort()
public RoutingInformation getRoutingInformation()
public java.lang.String getSoftwareVersion()
public static ExitInformation getExitInformation(java.lang.String[] email, byte[] decodinghandle)
email
- vector with strings max 8
public static MMRDescription parse(java.io.LineNumberReader reader)
reader
- readerpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |