sun.security.mule.krb5.internal.rcache
Class AuthTime

java.lang.Object
  extended by sun.security.mule.krb5.internal.rcache.AuthTime

public class AuthTime
extends Object

The class represents the timestamp in authenticator.

Author:
Yanni Zhang

Constructor Summary
AuthTime(long time, int c)
          Constructs a new AuthTime.
 
Method Summary
 boolean equals(Object o)
          Compares if an object equals to an AuthTime object.
 int hashCode()
          Returns a hash code for this AuthTime object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthTime

public AuthTime(long time,
                int c)
Constructs a new AuthTime.

Parameters:
time - time from the Authenticator.
cusec - microsecond field from the Authenticator.
Method Detail

equals

public boolean equals(Object o)
Compares if an object equals to an AuthTime object.

Overrides:
equals in class Object
Parameters:
o - an object.
Returns:
true if two objects are equivalent, otherwise, return false.

hashCode

public int hashCode()
Returns a hash code for this AuthTime object.

Overrides:
hashCode in class Object
Returns:
a hash code value for this object.


Copyright © 2013. All Rights Reserved.