sun.security.mule.krb5.internal.ktab
Class KeyTabEntry

java.lang.Object
  extended by sun.security.mule.krb5.internal.ktab.KeyTabEntry
All Implemented Interfaces:
KeyTabConstants

public class KeyTabEntry
extends Object
implements KeyTabConstants

This class represents a Key Table entry. Each entry contains the service principal of the key, time stamp, key version and secret key itself.

Author:
Yanni Zhang

Field Summary
 
Fields inherited from interface sun.security.mule.krb5.internal.ktab.KeyTabConstants
keySize, keyTypeSize, keyVersionSize, KRB5_KT_VNO, KRB5_KT_VNO_1, principalComponentSize, principalSize, principalTypeSize, realmSize, timestampSize
 
Constructor Summary
KeyTabEntry(PrincipalName new_service, Realm new_realm, KerberosTime new_time, int new_keyVersion, int new_keyType, byte[] new_keyblock)
           
 
Method Summary
 int entryLength()
           
 EncryptionKey getKey()
           
 String getKeyString()
           
 PrincipalName getService()
           
 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(PrincipalName new_service,
                   Realm new_realm,
                   KerberosTime new_time,
                   int new_keyVersion,
                   int new_keyType,
                   byte[] new_keyblock)
Method Detail

getService

public PrincipalName getService()

getKey

public EncryptionKey getKey()

getKeyString

public String getKeyString()

entryLength

public int entryLength()

getTimeStamp

public KerberosTime getTimeStamp()


Copyright © 2013. All Rights Reserved.