com.ibm.security.krb5.internal.ktab

Class KeyTabEntry

  1. java.lang.Object
  2. extended bycom.ibm.security.krb5.internal.ktab.KeyTabEntry
All implemented interfaces:
KeyTabConstants

  1. public class KeyTabEntry
  2. extends java.lang.Object
  3. 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.
Version:
1.00 09 Mar 2000
Author:
Yanni Zhang

Field Summary

Fields inherited from interface com.ibm.security.krb5.internal.ktab.KeyTabConstants
keySize, keyTypeSize, keyVersionSize, KRB5_KT_VNO, KRB5_KT_VNO_1, principalComponentSize, principalSize, principalTypeSize, realmSize, timestampSize

Constructor Summary

Constructor and Description
KeyTabEntry(PrincipalName new_service,Realm new_realm,KerberosTime new_time,int new_keyVersion,int new_keyType,byte[] new_keyblock)

Method Summary

Modifier and Type Method and Description
  1. int
entryLength()
DOCUMENT ME!
  1. EncryptionKey
getKey()
DOCUMENT ME!
  1. java.lang.String
getKeyString()
DOCUMENT ME!
  1. int
getKeyType()
DOCUMENT ME!
  1. int
getKeyVersion()
DOCUMENT ME!
  1. PrincipalName
getService()
DOCUMENT ME!
  1. KerberosTime
getTimeStamp()
DOCUMENT ME!
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

KeyTabEntry

  1. public KeyTabEntry(PrincipalName new_service,
  2. Realm new_realm,
  3. KerberosTime new_time,
  4. int new_keyVersion,
  5. int new_keyType,
  6. byte[] new_keyblock)

Method Detail

getService

  1. public PrincipalName getService( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getKey

  1. public EncryptionKey getKey()
DOCUMENT ME!
Returns:
DOCUMENT ME!

getKeyString

  1. public java.lang.String getKeyString( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

entryLength

  1. public int entryLength()
DOCUMENT ME!
Returns:
DOCUMENT ME!

getTimeStamp

  1. public KerberosTime getTimeStamp( )
DOCUMENT ME!
Returns:
DOCUMENT ME!

getKeyVersion

  1. public int getKeyVersion()
DOCUMENT ME!
Returns:
DOCUMENT ME!

getKeyType

  1. public int getKeyType()
DOCUMENT ME!
Returns:
DOCUMENT ME!