|
Class CodatID
|
| Field Summary | |
|---|---|
protected final static int |
Location of the hash value portion of the id within the byte array. |
protected final static int |
Location of the group id in the byte array. |
protected final static int |
size of a SHA1 hash. |
protected IDBytes |
The id data |
protected final static int |
Location of the randomly chosen portion of the id within the byte array. |
private final static transient Logger |
Log4J categorgy |
protected final static int |
Location of the begining of pad (unused space) within the byte array. |
protected final static int |
Size of the pad. |
| Constructor Summary | |
|---|---|
protected |
CodatID() Internal constructor |
protected |
Intializes contents from provided bytes. |
public |
CodatID(PeerGroupID groupID) See net.jxta.id.IDFactory.Instantiator#newCodatID(net.jxta.peergroup.PeerGroupID). |
public |
CodatID(PeerGroupID groupID, byte [] seed) See net.jxta.id.IDFactory.Instantiator#newCodatID(net.jxta.peergroup.PeerGroupID,byte[]). |
public |
CodatID(PeerGroupID groupID, byte [] seed, InputStream in) See net.jxta.id.IDFactory.Instantiator#newCodatID(net.jxta.peergroup.PeerGroupID,InputStream). |
public |
CodatID(PeerGroupID groupID, InputStream in) See net.jxta.id.IDFactory.Instantiator#newCodatID(net.jxta.peergroup.PeerGroupID,InputStream). |
protected |
|
| Method Summary | |
|---|---|
public boolean |
equals(Object target) {@inheritDoc} |
public String |
{@inheritDoc} |
public net.jxta.id.ID |
{@inheritDoc} |
public Object |
{@inheritDoc} |
public int |
hashCode() {@inheritDoc} |
public boolean |
isStatic() {@inheritDoc} |
protected void |
setHash(InputStream in) Calculates the SHA-1 hash of a stream. |
| Field Detail |
| Constructor Detail |
| Method Detail |