| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| pack-priv final String | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | AuthTimeWithHash(String client, String server, int ctime, int cusec, String hashAlg, String hash)
Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(AuthTimeWithHash other)
Implements java. Compares this object with the specified object for order. |
| public byte[] | encode(boolean
write new style if true withHash)Overrides sun. Encodes to be used in a dfl file |
| public boolean | Returns: true if two objects are equivalent, otherwise, return false.an object. o)Overrides java. Compares if an object equals to an |
| public int | hashCode()
Overrides java. Returns a hash code for this |
| public boolean | Returns: true if all AuthTime fields are the sameCompares with a possibly old style object. |
| public static String | |
| public boolean | Returns: true if all AuthTime fields are the same but different hashCompares with a possibly old style object. |
| public String | toString()
Overrides sun. Returns a string representation of the object. |
| DEFAULT_HASH_ALG | back to summary |
|---|---|
| public static final String DEFAULT_HASH_ALG | |
| hash | back to summary |
|---|---|
| pack-priv final String hash | |
| hashAlg | back to summary |
|---|---|
| pack-priv final String hashAlg | |
| AuthTimeWithHash | back to summary |
|---|---|
| public AuthTimeWithHash(String client, String server, int ctime, int cusec, String hashAlg, String hash) Constructs a new | |
| compareTo | back to summary |
|---|---|
| public int compareTo(AuthTimeWithHash other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| encode | back to summary |
|---|---|
| public byte[] encode(boolean withHash) Overrides sun. Encodes to be used in a dfl file
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Compares if an object equals to an | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code for this
| |
| isSameIgnoresHash | back to summary |
|---|---|
| public boolean isSameIgnoresHash(AuthTime old) Compares with a possibly old style object. Used in DflCache$Storage#loadAndCheck.
| |
| realAlg | back to summary |
|---|---|
| public static String realAlg(String alg) | |
| sameTimeDiffHash | back to summary |
|---|---|
| public boolean sameTimeDiffHash(AuthTimeWithHash old) Compares with a possibly old style object. Used in DflCache$Storage#loadAndCheck.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |