org.apache.directory.server.kerberos.shared.keytab
Class KeytabEntry
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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-2009 Apache Software Foundation. All Rights Reserved.