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 Object

An entry within a keytab file.

Author:
Apache Directory Project

Constructor Summary
KeytabEntry(String principalName, long principalType, KerberosTime timeStamp, byte keyVersion, EncryptionKey key)
          Creates a new instance of Entry.
 
Method Summary
 EncryptionKey getKey()
           
 byte getKeyVersion()
           
 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(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 String getPrincipalName()
Returns:
The principalName.

getPrincipalType

public long getPrincipalType()
Returns:
The principalType.

getTimeStamp

public KerberosTime getTimeStamp()
Returns:
The timeStamp.


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.