com.dstc.security.kerberos
Class PaEncTimestamp

java.lang.Object
  |
  +--com.dstc.security.kerberos.PaEncTimestamp

public final class PaEncTimestamp
extends Object
implements PaData

A concrete PaData implementation class for encrypted timestamp pre-authentication.

See Also:
PaData, Kerberos

Fields inherited from interface com.dstc.security.kerberos.PaData
PA_ENC_TIMESTAMP, PA_ENC_UNIX_TIME, PA_PW_SALT, PA_TGS_REQ
 
Constructor Summary
PaEncTimestamp(EncryptionKey key, SecureRandom rand)
          Constructs a PaEncTimestamp for the user requesting initial Kerberos authentication with his/her Kerberos encryption key and a SecureRandom instance
 
Method Summary
 int type()
          Returns the type (ie.
 byte[] value()
          Returns the value for this PaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaEncTimestamp

public PaEncTimestamp(EncryptionKey key,
                      SecureRandom rand)
               throws KerberosException
Constructs a PaEncTimestamp for the user requesting initial Kerberos authentication with his/her Kerberos encryption key and a SecureRandom instance
Method Detail

type

public int type()
Returns the type (ie. PA_ENC_TIMESTAMP) for this PaData
Specified by:
type in interface PaData

value

public byte[] value()
Returns the value for this PaData
Specified by:
value in interface PaData