com.ibm.security.krb5.internal.ccache

Class CCacheInputStream

  1. java.lang.Object
  2. extended byjava.io.InputStream
  3. extended byjava.io.FilterInputStream
  4. extended byjava.io.BufferedInputStream
  5. extended bycom.ibm.security.krb5.internal.util.KrbDataInputStream
  6. extended bycom.ibm.security.krb5.internal.ccache.CCacheInputStream
All implemented interfaces:
FileCCacheConstants, java.io.Closeable

  1. public class CCacheInputStream
  2. extends KrbDataInputStream
  3. implements FileCCacheConstants
This class extends KrbDataInputStream. It is used for parsing FCC-format data from file to memory.
Version:
1.00
Author:
Yanni Zhang

Field Summary

Fields inherited from class com.ibm.security.krb5.internal.util.KrbDataInputStream
version
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
Fields inherited from class java.io.FilterInputStream
in
Fields inherited from interface com.ibm.security.krb5.internal.ccache.FileCCacheConstants
FCC_TAG_DELTATIME, KRB5_FCC_FVNO_1, KRB5_FCC_FVNO_2, KRB5_FCC_FVNO_3, KRB5_FCC_FVNO_4, KRB5_NT_UNKNOWN, MAXNAMELENGTH, TKT_FLG_FORWARDABLE, TKT_FLG_FORWARDED, TKT_FLG_HW_AUTH, TKT_FLG_INITIAL, TKT_FLG_INVALID, TKT_FLG_MAY_POSTDATE, TKT_FLG_POSTDATED, TKT_FLG_PRE_AUTH, TKT_FLG_PROXIABLE, TKT_FLG_PROXY, TKT_FLG_RENEWABLE

Constructor Summary

Constructor and Description
CCacheInputStream(java.io.InputStream is)

Method Summary

Modifier and Type Method and Description
  1. PrincipalName
readPrincipal()
  1. Tag
readTag()
Methods inherited from class com.ibm.security.krb5.internal.util.KrbDataInputStream
read, read16, read16MSBF, read32, read32MSBF, readBytes32, readString32, readVersion
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
Methods inherited from class java.io.FilterInputStream
read
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CCacheInputStream

  1. public CCacheInputStream(java.io.InputStream is)

Method Detail

readTag

  1. public Tag readTag()
  2. throws java.io.IOException
Throws:
java.io.IOException

readPrincipal

  1. public PrincipalName readPrincipal( )
  2. throws java.io.IOException
  3. RealmException
Throws:
java.io.IOException