org.apache.directory.server.kerberos.shared.keytab
Class KeytabEntry

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.keytab.KeytabEntry

public class KeytabEntry
extends java.lang.Object

An entry within a keytab file.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
KeytabEntry(java.lang.String principalName, long principalType, KerberosTime timeStamp, byte keyVersion, EncryptionKey key)
          Creates a new instance of Entry.
 
Method Summary
 EncryptionKey getKey()
           
 byte getKeyVersion()
           
 java.lang.String getPrincipalName()
           
 long getPrincipalType()
           
 KerberosTime getTimeStamp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeytabEntry

public KeytabEntry(java.lang.String principalName,
                   long principalType,
                   KerberosTime timeStamp,
                   byte keyVersion,
                   EncryptionKey key)
Creates a new instance of Entry.

Parameters:
principalName -
principalType -
timeStamp -
keyVersion -
key -
Method Detail

getKey

public EncryptionKey getKey()
Returns:
The key.

getKeyVersion

public byte getKeyVersion()
Returns:
The keyVersion.

getPrincipalName

public java.lang.String getPrincipalName()
Returns:
The principalName.

getPrincipalType

public long getPrincipalType()
Returns:
The principalType.

getTimeStamp

public KerberosTime getTimeStamp()
Returns:
The timeStamp.


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.